In message
<199802122032(_dot_)PAA28364(_at_)cypress(_dot_)math(_dot_)gatech(_dot_)edu>,
quoth Richard Coleman:
I'm not sure what I can do to fix this. The Linux folks keep
changing things to macros, which breaks autoconf (configure).
The same thing happened when I was maintaining zsh, and they
made a similar change to lstat.
The best I can do is put a note in the MACHINES file, to let
people know to manually define this.
Couldn't you have autoconf specifically check for the OS type and set
the variable accordingly. Something like:
dnl Check for Linux
AC_CACHE_CHECK(for Linux, nmh_cv_linux,
[if uname -sr | grep "Linux" >/dev/null 2>&1
then
nmh_cv_linux=yes
else
nmh_cv_linux=no
fi])
if test "$nmh_cv_linux" = yes; then
AC_DEFINE(LINUX)
fi
Something similar could be used to handle the config.h #defines as
well, I would think.
-Doug Morris
"If at first you don't succeed, then skydiving is not for you."
unknown