>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> Heiko Muenkel <muenkel(a)tnt.uni-hannover.de> writes:
> /prog/xemacs/src/xemacs-21.0/lwlib/xlwmenu.c:260:
`ULONG_MAX'
> undeclared (first use this function)
> /prog/xemacs/src/xemacs-21.0/lwlib/xlwmenu.c:260: (Each
> undeclared identifier is reported only once
Jan> This is probably a configure failure.
Jan> --with-gif --with-xpm --with-xface --with-ncurses --with-gpm
Jan> all of these should be unnecessary as they are
Jan> autodetected. Try finding out why configure does not do so
Jan> and your problem is probably solved.
Jan> Golden rule of configure: Never --with-anything=yes that is
Jan> on by default. Forcing it just hides the problem and causes
Jan> other problems to appear.
Jan> Jan
Ok. I've tried it now with the following configure options and 21.0/b57:
../configure --prefix=/prog/xemacs/21.0
--exec-prefix=/prog/xemacs/21.0/$CONFIG --with-pop --with-site-lisp
--with-sound=both --error-checking=none
--site-libraries=${LD_LIBRARY_PATH} --site-includes=${C_INCLUDE_PATH}
and got the same problem. I've found out, that ULONG_MAX will be
defined in /usr/include/limits.h only, if the C-compiler isn't the gcc
version greater 2 (__GNUC__ >= 2). A gcc 2.x will read instead
/usr/include/linux/limits.h, but in this file there's no definition of
ULONG_MAX.
I'm wondering, that no one else has this problem.
Heiko