]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: Don't depend on Autoconf internals:
authorAkim Demaille <akim@epita.fr>
Thu, 14 Dec 2000 00:55:03 +0000 (00:55 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 14 Dec 2000 00:55:03 +0000 (00:55 +0000)
s/ac_cv_prog_gcc/GCC/.

ChangeLog
libtool.m4

index 1e3b89d581abb0616ab52cfec70f8f200183da8c..8f12f928a46b20dc99312944383dedbe07b8bfd5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-14  Akim Demaille  <akim@epita.fr>
+
+       * libtool.m4:  Don't depend on Autoconf internals:
+       s/ac_cv_prog_gcc/GCC/.
+
 2000-11-29  Gary V. Vaughan  <gvv@techie.com>
 
        * libltdl/ltdl.h (lt_dlhandle): Rename the wrapped structure
index dfcf75801332de5c8a5770b3035b1254e2c25ae4..834de313da5f770d6d4731de329af6ecd3868727 100644 (file)
@@ -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