]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/depdemo/configure.ac, tests/mdemo/configure.ac,
authorCharles Wilson <cwilson@ece.gatech.edu>
Thu, 6 Nov 2003 14:42:46 +0000 (14:42 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 6 Nov 2003 14:42:46 +0000 (14:42 +0000)
tests/mdemo2/configure.ac: process 'libtool --features'
from Makefile, not configure -- because libtool doesn't
exist at configure time.

ChangeLog
tests/depdemo/configure.ac
tests/mdemo/configure.ac
tests/mdemo2/configure.ac

index 667d8f2ce173677c0c6539adb08084defaa8c1b1..7e6f9edbaf5358a44db6a60f8888d7bbffe00cd1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2003-11-06  Charles Wilson  <cwilson@ece.gatech.edu>
 
+       * tests/depdemo/configure.ac, tests/mdemo/configure.ac,
+       tests/mdemo2/configure.ac: process 'libtool --features'
+       from Makefile, not configure -- because libtool doesn't
+       exist at configure time.
+
        * ltmain.in (find_executable, check_executable) [cygwin*, mingw*]:
        binary wrapper used with uninstalled executables breaks when
        invoked via execlp/execvp (that is, via $PATH).  Handle that case.
index 09d4d5bb091880c3e81dbe8c526aeb743cac795b..b1377e3f839aa07358b3e848d7a494b431c9ce03 100644 (file)
@@ -49,11 +49,7 @@ AC_SUBST([LIBTOOL_DEPS])
 ## ------------------------------- ##
 ## depdemo specific configuration. ##
 ## ------------------------------- ##
-if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
-  STATIC=-static
-else
-  STATIC=
-fi
+STATIC="\`${CONFIG_SHELL} ./libtool --features | ${SED} -n -e '/enable static/s/^.*\$\$/-static/p'\`"
 AC_SUBST([STATIC])
 
 ## ---------------------------- ##
index 1c474fba6f4942a52cf10aa246c6fc3386071235..3b6891ef78910a8579e112ae9d6092ad2b45cc73 100644 (file)
@@ -52,11 +52,7 @@ AC_LIBTOOL_DLOPEN
 AM_PROG_LIBTOOL
 AC_SUBST(LIBTOOL_DEPS)
 
-if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
-  STATIC=-static
-else
-  STATIC=
-fi
+STATIC="\`${CONFIG_SHELL} ./libtool --features | ${SED} -n -e '/enable static/s/^.*\$\$/-static/p'\`"
 AC_SUBST([STATIC])
 
 
index 3351eae69dcd61941966827e6f20b448decaf98f..c194dddc8a8fa8b7f52bacf7df7d996b2c699787 100644 (file)
@@ -47,11 +47,7 @@ AC_LIBTOOL_DLOPEN
 AM_PROG_LIBTOOL
 AC_SUBST(LIBTOOL_DEPS)
 
-if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
-  STATIC=-static
-else
-  STATIC=
-fi
+STATIC="\`${CONFIG_SHELL} ./libtool --features | ${SED} -n -e '/enable static/s/^.*\$\$/-static/p'\`"
 AC_SUBST([STATIC])