httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Dumpleton" <graham.dumple...@gmail.com>
Subject Re: Looking for TFM on OS X module building
Date Tue, 01 May 2007 10:20:13 GMT
On 01/05/07, shookie@email.de <shookie@email.de> wrote:
> I use a little hack to find the appropriate apxs, you need csh for tha though, but that
is installed on almost any unix:
>
> APXS := $(wildcard $(shell csh -c "which apxs2" 2>/dev/null))
> APXS := $(if $(APXS),$(APXS),$(wildcard $(shell csh -c "which apxs" 2>/dev/null)))

For a 'configure' based solution which can work out whether you have
apxs2 or apxs, and which can also select alternate makefiles dependent
on whether Apache 1.3 or Apache 2.X is being used, have a look at
mod_wsgi. The mod_wsgi stuff also does other things related to Python,
but easy enough to drop that stuff out. Files can be viewed at:

  http://modwsgi.googlecode.com/svn/trunk/

Graham

Mime
View raw message