The following autoconf code :
AC_TRY_CPP([include <stdio.h>], ...
[...] So it seems it is missing a '#' ....
Yes. It should naturally be
AC_TRY_CPP([#include <stdio.h>], ...
Did you find that AC_TRY_CPP call somewhere in Pike?
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2002-11-21 21:57: Subject: checking for /sw/include... fails on Darwin MacOS X/Jaguar
Hello,
Seems that autoconf outputs wrong code to check for includes :/
The following autoconf code :
AC_TRY_CPP([include <stdio.h>], ...
Give on my machine this test. :
configure:18279: checking /sw/include configure:18306: gcc -E -I/sw/include conftest.c configure:18303: illegal external declaration, missing `;' after `>' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode configure:18312: $? = 0 configure: failed program was: #line 18302 "configure" #include "confdefs.h" include <stdio.h> configure:18336: result: fails
So it seems it is missing a '#' ....
Is there any Darwin specific problem or autoconf problem ? (I used pikefarm generated tarball).
The machine is currently on pikefarm (pandora.home.oav.net).
/Xavier
/ Brevbäraren