tom             Fri Jun 27 18:59:20 2003 EDT

  Modified files:              
    /phpdoc     configure.in 
  Log:
  create zend-vars also when --with-zendapi is set (should solve the 'images 
missing'-bugs)
  
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.195 phpdoc/configure.in:1.196
--- phpdoc/configure.in:1.195   Mon May 26 06:41:37 2003
+++ phpdoc/configure.in Fri Jun 27 18:59:20 2003
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.195 2003/05/26 10:41:37 momo Exp $
+dnl $Id: configure.in,v 1.196 2003/06/27 22:59:20 tom Exp $
 
 dnl autoconf initialisation
 AC_INIT()
@@ -423,6 +423,7 @@
 
 AC_MSG_CHECKING(for ZendAPI)
 
+ZENDAPI="not found"
 AC_ARG_WITH(zendapi,
 [  --with-zendapi=[DIR]      look for ZendAPI documentation in the specified 
directory],
 [
@@ -430,7 +431,6 @@
     ZENDAPI=$withval
   fi
 ],[
-  ZENDAPI="not found"
   for dir in \
     $srcdir/en/ZendAPI \
     $srcdir/ZendAPI \
@@ -441,18 +441,19 @@
       break
     fi
   done
-  if test -d "$ZENDAPI"; then
-    ZEND_FIGURES="cp -r $ZENDAPI/figures ."
-    ZEND_FIGURES_HTML="$ZEND_FIGURES/html"
-    ZEND_FIGURES_PHP="$ZEND_FIGURES/php"
-    FIGURES="figures"
-  else
-    ZEND_FIGURES=""
-    ZEND_FIGURES_HTML=""
-    ZEND_FIGURES_PHP=""
-    FIGURES=""
-  fi
 ])
+
+if test -d "$ZENDAPI"; then
+  ZEND_FIGURES="cp -r $ZENDAPI/figures ."
+  ZEND_FIGURES_HTML="$ZEND_FIGURES/html"
+  ZEND_FIGURES_PHP="$ZEND_FIGURES/php"
+  FIGURES="figures"
+else
+  ZEND_FIGURES=""
+  ZEND_FIGURES_HTML=""
+  ZEND_FIGURES_PHP=""
+  FIGURES=""
+fi
 
 AC_MSG_RESULT($ZENDAPI)
 AC_SUBST(ZENDAPI)



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to