--- parser3/Attic/configure.in 2012/06/13 11:23:20 1.156 +++ parser3/Attic/configure.in 2012/06/13 19:07:13 1.157 @@ -317,17 +317,15 @@ AC_ARG_WITH(apache,[ --with-apache=FILE if test -z "$APXS" -o "$APXS" = "yes"; then APXS=`which apxs 2>/dev/null` - fi; + if test -z "$APXS"; then + APXS=`which apxs2 2>/dev/null` + fi + fi APACHE=`$APXS -q TARGET 2>/dev/null` if test -z "$APACHE"; then - APXS=`which apxs2 2>/dev/null` - APACHE=`$APXS -q TARGET 2>/dev/null` - - if test -z "$APACHE"; then - AC_MSG_ERROR($APXS does not seem to be valid apache apxs utility path) - fi + AC_MSG_ERROR($APXS does not seem to be valid apache apxs utility path) fi APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`