This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs version breaks configure scripts!
- To: Horst von Brand <vonbrand at inf dot utfsm dot cl>
- Subject: Re: egcs version breaks configure scripts!
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 10 Apr 1998 19:23:15 -0300
- Cc: egcs-bugs at cygnus dot com
- References: <199804081752.NAA01247@pincoya.inf.utfsm.cl>
Horst von Brand writes:
> At least the configure script for libpcap-0.4a6 (from ftp://ftp.ee.lbl.gov/)
> tries to determine the _numerical_ gcc version by something like:
> ac_cv_lbl_gcc_vers=`$CC -v 2>&1 | \
> sed -n -e '$s/.* //' -e '$s/\..*//p'`
> This gives nothing, and the configuration crashes.
It is libpcap that is broken, as this configure command is not
produced by autoconf. Perhaps they should use the following
equivalent command:
ac_cv_lbl_gcc_vers=`echo __GNUC__ | $CPP -P -`
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil