]> git.pld-linux.org Git - packages/apache-mod_mono.git/blob - apache-mod_mono-apu-config.patch
- updated for 1.2.4
[packages/apache-mod_mono.git] / apache-mod_mono-apu-config.patch
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
3 @@ -82,6 +82,28 @@
4    fi
5  ],)
6  
7 +# check for --with-apu-config
8 +AC_ARG_WITH(apu-config,
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
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
27 +],)
28 +
29  if test -z "$APXS"; then
30    for mydir in /usr/local/apache2/sbin \
31                 /usr/local/apache2/bin  \
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)
35  
36 +if test -z "$APUCONFIG"; then
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
44 +fi
45  
46  # last resort 1
47  if test -z "$APUCONFIG"; then
This page took 0.057244 seconds and 3 git commands to generate.