[Top][All Lists]

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

Re: multi-lingual libtool & gcc

From: Bob Friesenhahn
Subject: Re: multi-lingual libtool & gcc
Date: Sat, 4 Nov 2000 15:11:52 -0600 (CST)

I do not believe that this is the correct way to fix the
incompatability between CVS autoconf and libtool on the
multi-language-branch (it should be fixed in Autoconf rather than
libtool), but this is a patch to libtool that gets multi-lingual
libtool users over the hump.  If this was the correct fix then I would
have provided a ChangeLog.

I would be very supprized if the libtool on the main branch is working
properly either.

Index: libtool.m4
RCS file: /var/cvs/libtool/libtool.m4,v
retrieving revision
diff -u -r1.71.2.37 libtool.m4
--- libtool.m4  2000/10/31 23:16:36
+++ libtool.m4  2000/11/04 21:00:19
@@ -119,7 +119,7 @@
 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 
-test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
+test "$ac_cv_prog_gcc" = yes -o "$ac_cv_c_compiler_gnu" = yes && 
libtool_flags="$libtool_flags --with-gcc"
 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
 [libtool_flags="$libtool_flags --enable-dlopen"])

reply via email to

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