Author: shankar
Date: Wed Mar 10 05:22:10 2010
New Revision: 921229
URL: http://svn.apache.org/viewvc?rev=921229&view=rev
Log:
adding location for apache2 and apr
Modified:
axis/axis2/c/core/trunk/configure.ac
Modified: axis/axis2/c/core/trunk/configure.ac
URL:
http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/configure.ac?rev=921229&r1=921228&r2=921229&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/configure.ac (original)
+++ axis/axis2/c/core/trunk/configure.ac Wed Mar 10 05:22:10 2010
@@ -262,7 +262,7 @@ AC_ARG_WITH(apache2,
If this option is given, the Apache2 httpd module would be built.
'PATH' should point to Apache2 httpd include files location.
If you omit the '=PATH' part completely, the configure script will search
- '/usr/include/apache2' for Apache2 headers.],
+ '/usr/include/apache2' or '/usr/include/httpd' for Apache2 headers.],
[ case "$withval" in
no)
AC_MSG_RESULT(no)
@@ -276,6 +276,8 @@ AC_ARG_WITH(apache2,
dnl else find the apache2 include dir in /usr/local/apache2
elif test -d '/usr/include/apache2'; then
apache2inc="-I/usr/include/apache2"
+ elif test -d '/usr/include/httpd'; then
+ apache2inc="-I/usr/include/httpd"
else
AC_MSG_ERROR(could not find apache2. stop)
fi
@@ -293,7 +295,7 @@ AC_ARG_WITH(apr,
In that case, to build Apache2 httpd module, this option is also required.
'PATH' should point to APR include files location.
If you omit the '=PATH' part completely, the configure script will search
- '/usr/include/apr-0' for APR headers.],
+ '/usr/include/apr-0' or '/usr/include/apr-1' for APR headers.],
[ case "$withval" in
no)
AC_MSG_RESULT(no)
@@ -306,6 +308,8 @@ AC_ARG_WITH(apr,
dnl else find the apache2 include dir in /usr/local/apache2
elif test -d '/usr/include/apr-0'; then
aprinc="-I/usr/include/apr-0"
+ elif test -d '/usr/include/apr-1'; then
+ aprinc="-I/usr/include/apr-1"
else
AC_MSG_ERROR(could not find apr. stop)
fi