Hi,

I have a problem with

CC=cc CXX=CC ./configure;

because any check like AC_CHECK_LIB(malloc, main) fails. Is there a known workaround ?

Thank you
Markus

from 3-HEAD I get:

...

configure:48735: checking for main in -lmalloc
configure:48764: CC -o conftest -g -I/usr/include/gssapi -I/usr/include/kerberosv5 -g conftest.cpp -lmalloc -lsocket -lresolv -lnsl >&5
"conftest.cpp", line 224: Error: Cannot have a recursive call of main().
1 Error(s) detected.
configure:48770: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Squid Web Proxy"
| #define PACKAGE_TARNAME "squid"
| #define PACKAGE_VERSION "3.HEAD-20100601"
| #define PACKAGE_STRING "Squid Web Proxy 3.HEAD-20100601"
| #define PACKAGE_BUGREPORT "http://www.squid-cache.org/bugs/";
| #define PACKAGE "squid"
| #define VERSION "3.HEAD-20100601"
| #define USE_LOADABLE_MODULES 1
....
| int
| main ()
| {
| return main ();
|   ;
|   return 0;
| }


Reply via email to