You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Kevin Pilch-Bisson <ke...@pilch-bisson.net> on 2002/04/12 06:46:19 UTC

[PATCH] Look for apr in /usr/local/apache2

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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: [PATCH] Look for apr in /usr/local/apache2

Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
On Fri, Apr 12, 2002 at 12:46:19AM -0400, Kevin Pilch-Bisson wrote:
> Not committing, as I can't put it into APR, 

This would have made more sense if I had actually cross posted to the
subversion dev list, which keeps a copy of these files that I could have
committed to.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~