On 27 Apr 2007, at 23:34, Tim Bray wrote:
I'm sketching in a module for 2.2.4 and having trouble with
compiling it on OS X. Neither google nor a survey of this group's
archive turn up any ideas. Suppose I have mod_foo.c; I assume the
goal is to produce a mod_foo.so or mod_foo.dylib in $INSTALL/modules/
Is this written up anywhere, or alternatively does anyone have any
experience to share?
-Tim (who previously wrote two big Apache 1.* modules and is
feeling a little lost in 2.2-land)
I don't remember how I got to this, perhaps modifying some other one,
but attached you find a Makefile I use for my module mod_authnz_sasl
(yes, I know, it's probably not thread-safe...).
I have not yet tested it on intel, and it will presumably not create
a universal binary, but the latter is usually not important.
Giuliano