diff --git a/configure.ac b/configure.ac index 7cbf2f076e..9d47c30674 100644 --- a/configure.ac +++ b/configure.ac @@ -645,7 +645,11 @@ if test "x$cs_have_dlloader" = "xyes" ; then fi -# Use long global numbers ? +# Use RTLD_GLOBAL for dlopen ? + +# Note setting enable_dlopen_rtld_global in the last statement is not +# useful on modern systems but avoids error due to empty else on Centos 6... + AC_ARG_ENABLE(dlopen-rtld-global, [AS_HELP_STRING([--enable-dlopen-rtld-global], [add RTLD_GLOBAL to dlopen flags])], [ @@ -656,7 +660,7 @@ AC_ARG_ENABLE(dlopen-rtld-global, *) AC_MSG_ERROR([bad value ${enableval} for --enable-dlopen-rtld-global]) ;; esac ], - [ ] + [ enable_dlopen_rtld_global=no ] ) #------------------------------------------------------------------------------ diff --git a/libple/sbin/bootstrap b/libple/sbin/bootstrap index 8c8ccb9b26..5d1c66849f 100755 --- a/libple/sbin/bootstrap +++ b/libple/sbin/bootstrap @@ -26,6 +26,7 @@ case $cs_gettext_version in 0.17* | 0.18*) cp -p configure.ac configure.ac.tmp sed -e s/AM_GNU_GETTEXT_VERSION.*/AM_GNU_GETTEXT_VERSION\(\[$cs_gettext_version\]\)/g ./configure.ac.tmp > configure.ac + rm configure.ac.tmp ;; *) ;; @@ -80,13 +81,5 @@ else fi -case $cs_gettext_version in - 0.17* | 0.18*) - \mv configure.ac.tmp configure.ac - ;; - *) - ;; -esac - # Remove cache directory \rm -rf autom4te.cache diff --git a/sbin/bootstrap b/sbin/bootstrap index 8fb97ac3bc..4ebe460836 100755 --- a/sbin/bootstrap +++ b/sbin/bootstrap @@ -46,6 +46,7 @@ case $cs_gettext_version in 0.17* | 0.18*) cp -p configure.ac configure.ac.tmp sed -e s/AM_GNU_GETTEXT_VERSION.*/AM_GNU_GETTEXT_VERSION\(\[$cs_gettext_version\]\)/g ./configure.ac.tmp > configure.ac + rm configure.ac.tmp ;; *) ;; @@ -100,14 +101,6 @@ else fi -case $cs_gettext_version in - 0.17* | 0.18*) - \mv configure.ac.tmp configure.ac - ;; - *) - ;; -esac - # Remove cache directory \rm -rf autom4te.cache