]> granicus.if.org Git - apache/commitdiff
Take apr include dir from beginning, not end of list given by apu-config.
authorWilfredo Sanchez <wsanchez@apache.org>
Sat, 7 Dec 2002 06:04:43 +0000 (06:04 +0000)
committerWilfredo Sanchez <wsanchez@apache.org>
Sat, 7 Dec 2002 06:04:43 +0000 (06:04 +0000)
Submitted by: Brian Havard

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97793 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 47910312d73734ca569395dc2258e4ed49ae42e4..d26594354acd7f802d24bca84de6e89cd511c5e6 100644 (file)
@@ -100,7 +100,7 @@ fi
 APR_ADDTO(LDFLAGS, `$apu_config --ldflags`)
 APR_ADDTO(INCLUDES, `$apu_config --includes`)
 APU_BINDIR=`$apu_config --bindir`
-APU_INCLUDEDIR=`$apu_config --includes | sed 's|^.*-I\([[^ ]]*apr[[^ ]]*\).*$|\1|'`
+APU_INCLUDEDIR=`$apu_config --includes | sed 's|^ *-I\([[^ ]]*apr[[^ ]]*\).*$|\1|'`
 
 echo $ac_n "${nl}Configuring PCRE regular expression library ...${nl}"