Try also locating apxs2 binary if apxs isn't found
authorkouril <kouril>
Tue, 15 Aug 2006 10:21:46 +0000 (10:21 +0000)
committerkouril <kouril>
Tue, 15 Aug 2006 10:21:46 +0000 (10:21 +0000)
configure.in

index 2882c9c..ea8c2e7 100644 (file)
@@ -281,7 +281,10 @@ AC_ARG_WITH(apache,
 
 AC_PATH_PROG([APXS], [apxs], [], [$with_apache/bin:$with_apache/sbin:$PATH])
 if test -z "$APXS"; then
-   AC_MSG_ERROR([failed to find apache apxs executable])
+   AC_PATH_PROG([APXS], [apxs2], [], [$with_apache/bin:$with_apache/sbin:$PATH])
+   if test -z "$APXS"; then
+      AC_MSG_ERROR([failed to find apache apxs executable])
+   fi
 fi
 AC_SUBST(APXS)