inn patches for MacOS X Server
Russ Allbery
rra at stanford.edu
Tue Nov 23 01:38:29 UTC 1999
Miro Jurisic <meeroh at meeroh.org> writes:
> The following 5 patches should make inn build under MacOS X Server.
> Haven't gotten around to configuring it and testing it yet.
Thanks for your patches! Let us know if it works in your testing. Most
of these changes have already been handled in the current development
tree; you may want to try it out instead of the released INN 2.2.1 as
there have been major improvements to the build process. You can get
current snapshots from /isc/inn/snapshots on ftp.isc.org.
> *** innfeed/sysconfig.h.old Mon Nov 22 01:06:50 1999
> --- innfeed/sysconfig.h Mon Nov 22 01:08:20 1999
> ***************
> *** 256,261 ****
> --- 256,272 ----
> #define _BSD 44
> #endif
> + /*
> + ** Mac OS X Server
> + **
> + ** Mac OS X Server already has inet_aton
> + **
> + */
> +
> + #if defined(__APPLE__)
> + #define DROP_INET_ATON 1
> + #endif
In the current dev tree, configure probes for inet_aton and only adds it
to libinn if the build system doesn't have it. (And sysconfig.h has been
largely merged into autoconf or made irrelevant, the remainder going into
innfeed.h.)
> *** configure.in.old Sun Nov 21 22:41:06 1999
> --- configure.in Mon Nov 22 02:01:10 1999
> ***************
> *** 423,428 ****
> --- 423,435 ----
> fi
> AC_SUBST(ac_cv_subst_int32_t)
> + dnl -traditional-cpp is needed for gcc even when we are not just precompiling
> + case "$CPP" in
> + *-traditional-cpp*)
> + CFLAGS="-traditional-cpp $CFLAGS"
> + ;;
> + esac
I've added this to configure.
> *** config.guess.old Fri Jun 26 22:49:51 1998
> --- config.guess Sun Nov 21 21:57:31 1999
> *** config.sub.old Thu Jun 25 01:56:45 1998
> --- config.sub Sun Nov 21 22:01:02 1999
I just updated these files to the versions that come with libtool 1.3.3,
and those versions already had support for MacOS X Server (the same as
your changes).
--
Russ Allbery (rra at stanford.edu) <URL:http://www.eyrie.org/~eagle/>
More information about the inn-patches
mailing list