]> git.pld-linux.org Git - packages/apache-mod_mono.git/blame - apache-mod_mono-apu-config.patch
- updated for 1.2.4
[packages/apache-mod_mono.git] / apache-mod_mono-apu-config.patch
CommitLineData
a98f5b14
JB
1--- mod_mono-1.2.4/configure.in.orig 2007-04-20 06:15:26.000000000 +0200
2+++ mod_mono-1.2.4/configure.in 2007-05-16 20:21:28.673112778 +0200
c976e99a
JB
3@@ -82,6 +82,28 @@
4 fi
5 ],)
96ccbdb1 6
c976e99a 7+# check for --with-apu-config
96ccbdb1 8+AC_ARG_WITH(apu-config,
c976e99a
JB
9+[ --with-apu-config=PATH Path to apr-config (apache 2.0). You may use
10+ this option when apu-config is not in the same
96ccbdb1
MK
11+ directory as apxs and the output of
12+ 'apu-config --includes' is different from
13+ 'apxs -q INCLUDEDIR'.
14+],
15+[
16+ if test -x "$withval"
17+ then
18+ AC_MSG_RESULT([$withval executable, good])
19+ APUCONFIG=$withval
20+ else
21+ if test "xno" = "x$withval" ; then
22+ AC_MSG_RESULT([no])
23+ else
24+ AC_MSG_ERROR([$withval not found or not executable])
25+ fi
26+ fi
c976e99a 27+],)
96ccbdb1 28+
96ccbdb1 29 if test -z "$APXS"; then
c976e99a
JB
30 for mydir in /usr/local/apache2/sbin \
31 /usr/local/apache2/bin \
a98f5b14
JB
32@@ -172,6 +194,7 @@
33 # apu-config - libapr-util can have different prefixes than libapr, check from apu-1-config to make sure
34 # (suse 10.1 is an example of this)
96ccbdb1
MK
35
36+if test -z "$APUCONFIG"; then
a98f5b14
JB
37 for mydir in `dirname ${APXS}` \
38 /usr/local/apache2/sbin \
39 /usr/local/apache2/bin \
40@@ -200,6 +223,7 @@
41 AC_MSG_RESULT(no)
42 fi
43 done
c976e99a 44+fi
a98f5b14
JB
45
46 # last resort 1
47 if test -z "$APUCONFIG"; then
This page took 0.08787 seconds and 4 git commands to generate.