bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patches] three patches for configure.ac (and not only)


From: Douglas Mencken
Subject: [patches] three patches for configure.ac (and not only)
Date: Tue, 29 Mar 2011 19:52:35 +0200

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 address@hidden) 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]