]> granicus.if.org Git - php/commitdiff
MFH
authorSascha Schumann <sas@php.net>
Tue, 11 Feb 2003 02:35:34 +0000 (02:35 +0000)
committerSascha Schumann <sas@php.net>
Tue, 11 Feb 2003 02:35:34 +0000 (02:35 +0000)
sapi/apache/config.m4

index 3ff82b3e2454c123c045b33cb70a8faf17b6ec3d..ca23a1d49e83c3ef81549ea521d0d1ba2782c9f1 100644 (file)
@@ -218,11 +218,10 @@ AC_CACHE_CHECK([for member fd in BUFF *],ac_cv_php_fd_in_buff,[
   AC_TRY_COMPILE([#include <httpd.h>],[conn_rec *c; int fd = c->client->fd;],[
     ac_cv_php_fd_in_buff=yes],[ac_cv_php_fd_in_buff=no],[ac_cv_php_fd_in_buff=no])
   CPPFLAGS=$save
-],[
-  if test "$ac_cv_php_fd_in_buff" = "yes"; then
-    AC_DEFINE(PHP_APACHE_HAVE_CLIENT_FD, 1, [ ])
-  fi
 ])
+if test "$ac_cv_php_fd_in_buff" = "yes"; then
+  AC_DEFINE(PHP_APACHE_HAVE_CLIENT_FD,1,[ ])
+fi
 
   
 AC_MSG_CHECKING(for mod_charset compatibility option)