I've attached a patch to make find-ap*.m4 look in /usr/local/apache2, since
they are probably the most common places people are going to have apr and
apr-util installed (at least for a while). Plus it saves me some typing on
the configure line :).
Not committing, as I can't put it into APR, and I'm not sure if there was a
reason it wasn't included in the first place.
Log:
* find_apr.m4, find_apu.m4: Also look in /usr/local/apache2, since it is
apache's default install location.
Index: ./find_apr.m4
===================================================================
--- ./find_apr.m4
+++ ./find_apr.m4 Fri Apr 12 00:27:30 2002
@@ -77,7 +77,7 @@
apr_config="apr-config"
else
dnl look in some standard places (apparently not in builtin/default)
- for lookdir in /usr /usr/local /opt/apr ; do
+ for lookdir in /usr /usr/local /opt/apr /usr/local/apache2 ; do
if $TEST_X "$lookdir/bin/apr-config"; then
apr_found="yes"
apr_config="$lookdir/bin/apr-config"
Index: ./find_apu.m4
===================================================================
--- ./find_apu.m4
+++ ./find_apu.m4 Fri Apr 12 00:27:15 2002
@@ -75,7 +75,7 @@
apu_config="apu-config"
else
dnl look in the some standard places (apparently not in builtin/default)
- for lookdir in /usr /usr/local /opt/apr ; do
+ for lookdir in /usr /usr/local /opt/apr /usr/local/apache2 ; do
if test -x "$lookdir/bin/apu-config"; then
apu_found="yes"
apu_config="$lookdir/bin/apu-config"
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson http://www.pilch-bisson.net
"Historically speaking, the presences of wheels in Unix
has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- application/pgp-signature attachment: stored
Received on Fri Apr 12 06:49:33 2002