Should fail if fcgi header not found.
authorScott Cantor <cantor.2@osu.edu>
Thu, 20 Sep 2007 16:00:43 +0000 (16:00 +0000)
committerScott Cantor <cantor.2@osu.edu>
Thu, 20 Sep 2007 16:00:43 +0000 (16:00 +0000)
configure.ac

index d0788ac..68d683f 100644 (file)
@@ -341,8 +341,9 @@ if test "$WANT_FASTCGI" != "no"; then
             FASTCGI_LDFLAGS="-L$WANT_FASTCGI/lib"
         fi
     fi
+    AC_CHECK_HEADER([fcgio.h],,
+        AC_MSG_ERROR([unable to find FastCGI header files]))
     FASTCGI_LIBS="-lfcgi -lfcgi++"
-    AC_CHECK_HEADER([fcgio.h])
 fi
 
 AC_SUBST(FASTCGI_INCLUDE)