Fix fastcgi check.
authorScott Cantor <cantor.2@osu.edu>
Sun, 16 Sep 2007 03:41:21 +0000 (03:41 +0000)
committerScott Cantor <cantor.2@osu.edu>
Sun, 16 Sep 2007 03:41:21 +0000 (03:41 +0000)
configure.ac

index 9d5f3cc..d0788ac 100644 (file)
@@ -335,10 +335,11 @@ AC_ARG_WITH(fastcgi,
 AC_MSG_RESULT($WANT_FASTCGI)
 
 if test "$WANT_FASTCGI" != "no"; then
-    AC_MSG_CHECKING(for FastCGI include files)
-    if test x_$WANT_FASTCGI != x_/usr; then
-        FASTCGI_INCLUDE="-I$WANT_FASTCGI/include"
-        FASTCGI_LDFLAGS="-L$WANT_FASTCGI/lib"
+    if test "$WANT_FASTCGI" != "yes"; then
+        if test x_$WANT_FASTCGI != x_/usr; then
+            FASTCGI_INCLUDE="-I$WANT_FASTCGI/include"
+            FASTCGI_LDFLAGS="-L$WANT_FASTCGI/lib"
+        fi
     fi
     FASTCGI_LIBS="-lfcgi -lfcgi++"
     AC_CHECK_HEADER([fcgio.h])