]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* configure.in: Correct handling of --with-suexec-logfile in r1341905,
authorJoe Orton <jorton@apache.org>
Fri, 1 Jun 2012 12:57:39 +0000 (12:57 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 1 Jun 2012 12:57:39 +0000 (12:57 +0000)
  thanks to rpluem.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1345147 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index ead96cd09aaa3c2298888963ac2d988382434c21..1c61b190c39aafbfbeac682a15cf1d68a563cb7e 100644 (file)
@@ -717,6 +717,8 @@ APACHE_HELP_STRING(--with-suexec-gidmin,Minimal allowed GID),[
 AC_ARG_WITH(suexec-logfile,
 APACHE_HELP_STRING(--with-suexec-logfile,Set the logfile),[
   if test "x$withval" = "xyes"; then
+    AC_MSG_ERROR([log filename required for --with-suexec-logfile option])
+  elif test "x$withval" != "xno"; then
     AC_DEFINE_UNQUOTED(AP_LOG_EXEC, "$withval", [SuExec log file])
   fi
 ])