jfclere 01/06/06 03:13:40 Modified: connectors configure.in Log: fix the --with-apxs="value" logic. test for execuable "value". Revision Changes Path 1.6 +4 -3 jakarta-tomcat-4.0/connectors/configure.in Index: configure.in =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/connectors/configure.in,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- configure.in 2001/05/12 21:13:25 1.5 +++ configure.in 2001/06/06 10:13:36 1.6 @@ -58,7 +58,7 @@ dnl ----------------------------------------------------------------------------- dnl Author Pier Fumagalli <mailto:[EMAIL PROTECTED]> dnl Author Jon S. Stevens <mailto:[EMAIL PROTECTED]> -dnl Version $Id: configure.in,v 1.5 2001/05/12 21:13:25 jon Exp $ +dnl Version $Id: configure.in,v 1.6 2001/06/06 10:13:36 jfclere Exp $ dnl ----------------------------------------------------------------------------- dnl ----------------------------------------------------------------------------- @@ -134,8 +134,9 @@ 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 + + dnl if the value is an excutable otherwise try the PATH. + if ${TEST} ! -x ${withval} ; then AC_PATH_PROG(APXS,apxs,$PATH)dnl else APXS=${withval}