From: Michael S. <msl...@co...> - 2003-08-22 22:22:44
|
Stephan, Are you using the latest configure.ac from cvs? On Thursday, August 21, 2003, at 05:25 AM, >> G-LiTe / wrote: > What _does_ seem to be broken here is the two calls for AC_EGREP_CPP > to detect which gcc version is installed. The newer configure.ac in cvs have 'AC_EGREP_CPP(xyes,' and that fixed a bug where the utility yes was called in previous versions. You might experiment with the version of the configure.ac from the Darwin real mode patch I sent out to the list a few weeks back. There I have this quoted properly. For me the AC_EGREP_CPP and AC_HEADER_STDC tests both succeed with that version on both Darwin and FreeBSD. It is entirely possible that because the AC_HEADER_STDC test does not succeed other things break and __daddr_t_defined should have been defined or some such on your system. > In file included from sysdeps.h:36, > from ../main.cpp:21: > /usr/include/sys/types.h:117: syntax error before `;' token > > Which comes down to this piece of code in types.h: > > #ifdef __USE_BSD > # ifndef __daddr_t_defined > typedef __daddr_t daddr_t; > typedef __caddr_t caddr_t; // <- 117 > # define __daddr_t_defined > # endif > #endif > Maybe you should run this particular test manually with the -E option and see what the preprocessor generates. BTW, the mailing list archive on sf seems to have stopped archiving in early July. Does anybody know what is up with that? mzs |