Add apache2 and apache as possible names for the apache binary
authorBenjamin Otte <otte@gnome.org>
Sun, 20 Dec 2009 13:52:26 +0000 (14:52 +0100)
committerDan Winship <danw@gnome.org>
Sun, 3 Jan 2010 15:44:26 +0000 (10:44 -0500)
configure.in

index c2b933e..8787b93 100644 (file)
@@ -267,7 +267,7 @@ fi
 AC_ARG_WITH(apache-httpd,
            AS_HELP_STRING([--with-apache-httpd], [Path to apache httpd (for tests)]),
            APACHE_HTTPD="$withval",
-           [AC_PATH_PROGS(APACHE_HTTPD, httpd2 httpd, no, ${PATH}:/usr/sbin)])
+           [AC_PATH_PROGS(APACHE_HTTPD, httpd2 httpd apache2 apache, no, ${PATH}:/usr/sbin)])
 if test "$APACHE_HTTPD" != "no"; then
     AC_MSG_CHECKING([Apache version])
     apache_version=`$APACHE_HTTPD -v 2>/dev/null | sed -ne 's/Server version: Apache\///p'`