[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in AC_FUNC_MEMCMP [Re: Autoconf 2.49e
From: |
Alexandre Oliva |
Subject: |
Re: bug in AC_FUNC_MEMCMP [Re: Autoconf 2.49e |
Date: |
22 Apr 2001 09:26:58 -0300 |
User-agent: |
Gnus/5.090002 (Oort Gnus v0.02) XEmacs/21.1 (Cuyahoga Valley) |
On Apr 22, 2001, Jim Meyering <address@hidden> wrote:
> That turned out to be due to a typo in acfunctions.m4 that induced
> the following syntax in configure (note the extra `main').
> Interestingly, the test program compiles and links without error
> and always exits successfully.
Gee! Good catch!
The nested main() is being compiled as a nested function, that is
never used. Interesting...
> Here's a patch that is probably what was intended:
> 2001-04-22 Jim Meyering <address@hidden>
> * acfunctions.m4 (AC_FUNC_MEMCMP): Remove `int main () {' and the
> trailing `}' since AC_LANG_PROGRAM provides them.
This is ok, please install it.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me