Below is a patch necessary to support Mac OS X. -no-cpp-precomp
is necessary to turn off Apple's broken header pre-compilation cpp
and use standard gcc cpp instead. The extra LDFLAGS are necessary
in order to avoid linking errors (libraries are much different in
Darwin than on other operating systems).
--
Eric Gillespie <*> [EMAIL PROTECTED]
Conformity is a sin.
Index: configure.in
===================================================================
RCS file: /cvs/nmh/configure.in,v
retrieving revision 1.61
diff -a -u -r1.61 configure.in
--- configure.in 2001/03/17 11:28:28 1.61
+++ configure.in 2002/04/28 07:35:30
@@ -798,6 +798,10 @@
dnl ----------------
case "$target_os" in
+ darwin*)
+ CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
+ LDFLAGS="$LDFLAGS -flat_namespace -undefined suppress"
+ ;;
solaris2*)
AC_DEFINE(SYS5)
AC_DEFINE(SVR4)