From: Maurice L. <mj...@ga...> - 2002-10-30 04:38:36
|
David Schleef writes: > On Tue, Oct 15, 2002 at 05:08:31PM -0500, Maurice LeBrun wrote: > > It looks like my changes made it in before the 5.1.0 release was cut. So > > it should work with autoconf 2.52. > > *shrug* > > Failed build log attached. ./configure doesn't find pid_t, so it > defines it to be int. Later, the build fails because of 'typedef > __pid_t int;', as verified in the .i output. It gets worse too: > ./configure --prefix=/usr --disable-tcl --disable-tk \ > --disable-python --with-double --disable-linuxvga --without-rpath > ... > checking for ANSI C header files... no It took me a long time to figure out what was wrong here, because each time I looked into it I got so disgusted with autoconf that I gave up after an hour or so. Interesting that the problem occurs when you *disable* certain features. The answer is that certain essential autoconf tests (such as for EGREP) are being done in the (sysloc.in) itcl.h if-else, which is being circumvented at the command line by turning off tcl. This seems to be a bug in autoconf AFAIAC. Fortunately there is an easy workaround.. to move some of the essential system tests above the inclusion of sysloc.in. I'll have it committed shortly. -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |