From: Akim Demaille Date: Thu, 14 Dec 2000 00:55:03 +0000 (+0000) Subject: * libtool.m4: Don't depend on Autoconf internals: X-Git-Tag: multi-language-merge-point~111 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2624f5766245f5eeb490e81cb69a4be38e22bb08;p=thirdparty%2Flibtool.git * libtool.m4: Don't depend on Autoconf internals: s/ac_cv_prog_gcc/GCC/. --- diff --git a/ChangeLog b/ChangeLog index 1e3b89d58..8f12f928a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-12-14 Akim Demaille + + * libtool.m4: Don't depend on Autoconf internals: + s/ac_cv_prog_gcc/GCC/. + 2000-11-29 Gary V. Vaughan * libltdl/ltdl.h (lt_dlhandle): Rename the wrapped structure diff --git a/libtool.m4 b/libtool.m4 index dfcf75801..834de313d 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -119,7 +119,7 @@ libtool_flags="--cache-file=$cache_file" test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" -test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" +test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], [libtool_flags="$libtool_flags --enable-dlopen"]) @@ -408,7 +408,7 @@ AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl ac_prog=ld -if test "$ac_cv_prog_gcc" = yes; then +if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by GCC]) case $host in