tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r603360 - /tomcat/connectors/trunk/jk/native/configure.in
Date Tue, 11 Dec 2007 21:14:33 GMT
Author: rjung
Date: Tue Dec 11 13:14:33 2007
New Revision: 603360

URL: http://svn.apache.org/viewvc?rev=603360&view=rev
Log:
Reactivate broken --with-apxs feature for configure:
using the switch without giving a file name lets
configure search apxs in the PATH.

Modified:
    tomcat/connectors/trunk/jk/native/configure.in

Modified: tomcat/connectors/trunk/jk/native/configure.in
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/configure.in?rev=603360&r1=603359&r2=603360&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/configure.in (original)
+++ tomcat/connectors/trunk/jk/native/configure.in Tue Dec 11 13:14:33 2007
@@ -62,24 +62,24 @@
 apache_include=""
 APXS="apxs"
 AC_ARG_WITH(apxs,
-[  --with-apxs[=FILE]      Build shared Apache module. FILE is the optional
-                        pathname to the apxs tool; defaults to finding
-			apxs in your PATH.],
+[[  --with-apxs[=FILE]      Build shared Apache module.
+                          FILE is the optional pathname to the apxs tool;
+                          defaults to finding apxs in your PATH.]],
 [
     case "${withval}" in
         y | yes | true) find_apxs=true ;;
-        n | no | false) find_apxs=false ;;
-        *) find_apxs=false ;;
+        n | no | false) find_apxs= ;;
+        *) find_apxs=${withval} ;;
     esac
 
     if ${TEST} ${find_apxs} ; then
         AC_MSG_RESULT([need to check for Perl first, apxs depends on it...])
         AC_PATH_PROG(PERL,perl,$PATH)dnl
 
-        if ${TEST} ${find_apxs} ; then
-            APXS=${withval}
-        else
+        if ${TEST} ${find_apxs} = true ; then
             AC_PATH_PROG(APXS,apxs,$PATH)dnl
+        else
+            APXS=${find_apxs}
         fi
 
         if ${TEST} -n "${APXS}" ; then



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message