tags #342864 + confirmed upstream patch
stop

        Hi,

On Sun, Dec 11, 2005, Robert Collins wrote:
> The AM_PATH_CHECK macro in 0.9.3 fails to build if -Werror -g -O2 is
> used as the CFLAGS during autoconf

 Indeed.

> Note that all that is needed is to add
> #if HAVE_STRING_H
> #include <string.h>
> #endif
> and it should work fine.

 Hmm, I think it would be cleaner to simply remove all #includes and
 replace them with AC_INCLUDES_DEFAULT([]).

 Robert Lemmen couldn't reproduce the bug, here's how:
    cat <<EOF > configure.ac
AC_INIT(test, 0.0)
AC_PREREQ(2.52)
AM_PATH_CHECK
EOF
    aclocal-1.9
    autoconf
    ./configure CFLAGS="-Werror"

 Patch attached.

   Cheers,

-- 
Loïc Minier <[EMAIL PROTECTED]>
Current Earth status:   NOT DESTROYED

Reply via email to