unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [patches] three patches for configure.ac (and not only)
@ 2011-03-29 17:52 Douglas Mencken
  2011-04-01  9:09 ` Andy Wingo
  0 siblings, 1 reply; 4+ messages in thread
From: Douglas Mencken @ 2011-03-29 17:52 UTC (permalink / raw)
  To: bug-guile

Patch #1:

----------------------------------------------------------------------------------------------------
# patch configure.ac to avoid "no AC_LANG_SOURCE call detected in body" warnings
# --------
# Old-style code (will issue a warning)
#     AC_LINK_IFELSE([int main() { return 0; }],
#         [some=thing], [some=other])
# Wrongly updated code (will still issue a warning)
#     AC_LINK_IFELSE(AC_LANG_SOURCE([int main() { return 0; }]),
#         [some=thing], [some=other])
# Correctly updated code
#     AC_LINK_IFELSE([AC_LANG_SOURCE([int main() { return 0; }])],
#         [some=thing], [some=other])
# --------
sed -i 's/AC_LANG_PROGRAM/AC_LANG_SOURCE/' ./configure.ac
sed -i 's/AC_LINK_IFELSE(AC_LANG_SOURCE/AC_LINK_IFELSE([AC_LANG_SOURCE/'
./configure.ac
sed -i 's/]]),/]])],/' ./configure.ac
sed -i 's/\[AC_COMPILE_IFELSE(\[#include/[AC_COMPILE_IFELSE([AC_LANG_SOURCE([#include/'
./configure.ac
sed -i 's/guile_cv_need_braces_on_pthread_once_init=yes])])/guile_cv_need_braces_on_pthread_once_init=yes])])])/'
./configure.ac
sed -i 's/guile_cv_need_braces_on_pthread_mutex_initializer=yes])])/guile_cv_need_braces_on_pthread_mutex_initializer=yes])])])/'
./configure.ac
----------------------------------------------------------------------------------------------------


Patch #2:

----------------------------------------------------------------------------------------------------
# avoid "AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION" warning
# --------
# The AM_GNU_GETTEXT_VERSION macro declares the version number of the
GNU gettext infrastructure that is used by the package.
# The use of this macro is optional; only the autopoint program makes use of it.
# --------
##sed -i 's/AM_GNU_GETTEXT(\[external].*/AM_GNU_GETTEXT_VERSION([0.18])/'
./configure.ac
sed -i 's/AM_GNU_GETTEXT(\[external].*/##AM_GNU_GETTEXT([external])/'
./configure.ac
----------------------------------------------------------------------------------------------------

Patch #3 (the most important one, it does solve a build error):
# fangism's (guru from #guile@irc.freenode.net) patch for configure.ac
and meta/uninstalled-env.in
# to fix the dynamic link issue (libguile/.libs/lt-guile: can't load
library 'libguile-2.0.so.22')
Here: http://ftp.osuosl.org/pub/manulix/scripts/build-scripts/PPFILES/ppfiles-guile/shlibpath_var.patch



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-02 13:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29 17:52 [patches] three patches for configure.ac (and not only) Douglas Mencken
2011-04-01  9:09 ` Andy Wingo
2011-04-02 13:40   ` Douglas Mencken
2011-04-02 13:55     ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).