[PHPDOC] cvs: phpdoc / configure.in From: Hartmut Holzgraefe (hartmut <email protected>)
Date: 05/24/00

hholzgra Wed May 24 16:30:29 2000 EDT

  Modified files:
    /phpdoc configure.in
  Log:
  the test code for --with-source was wrong
  now it will check that the given dir does exist
  or fall back to ../php4 if no valid dir is given
  
  
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.30 phpdoc/configure.in:1.31
--- phpdoc/configure.in:1.30 Sat Apr 22 16:22:14 2000
+++ phpdoc/configure.in Wed May 24 16:30:29 2000
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.30 2000/04/22 14:22:14 hirokawa Exp $
+dnl $Id: configure.in,v 1.31 2000/05/24 14:30:29 hholzgra Exp $
 
 AC_INIT(global.ent)
 
@@ -73,13 +73,13 @@
 AC_ARG_WITH(source,
 [ --with-source=[DIR] Look at the specified source directory],
 [
- if test "$withval" = "no"; then
+ if test -d "$withval" ; then
         PHP_SOURCE=$withval
     else
- PHP_SOURCE=../php3
+ PHP_SOURCE=../php4
     fi
 ],[
- PHP_SOURCE=../php3
+ PHP_SOURCE=../php4
 ])
 AC_MSG_RESULT($PHP_SOURCE)
 AC_SUBST(PHP_SOURCE)