[Top][All Lists]

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

Re: multi-lingual libtool & -KPIC

From: Bob Friesenhahn
Subject: Re: multi-lingual libtool & -KPIC
Date: Sat, 4 Nov 2000 14:45:29 -0600 (CST)


Libtool (libtool.m4) is checking the variable ac_cv_prog_gcc in order
to determine if the --with-gcc should be passed to ltconfig.

I see this in the Autoconf changelog:

2000-10-16  Akim Demaille  <address@hidden>

        * aclang.m4 (_AC_LANG_COMPILER_GNU): New macro, which unifies...
        (_AC_PROG_F77_GNU, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU): Remove.
        Adjust dependencies.
        (ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77): AU_ALIAS'ed.

I am not sure what AU_ALIAS is supposed to do, but obviously it does
not cause ac_cv_prog_gcc to be set in the configure script.  Instead
ac_cv_c_compiler_gnu is set, and ac_cv_prog_gcc is not set at all.

What is the best fix for this problem?  It seems like autoconf needs
to set ac_cv_prog_gcc in order to provide backward compatability
for libtool.

Bob Friesenhahn

reply via email to

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