cvs: php4 /ext/java config.m4

From: Date: Sun, 21 Apr 2002 02:50:38 +0000
Subject: cvs: php4 /ext/java config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11284@lists.php.net to get a copy of this message
sniper Sat Apr 20 22:50:38 2002 EDT Modified files: /php4/ext/java config.m4 Log: Tiny typo.. Index: php4/ext/java/config.m4 diff -u php4/ext/java/config.m4:1.30 php4/ext/java/config.m4:1.31 --- php4/ext/java/config.m4:1.30 Sat Apr 13 20:40:35 2002 +++ php4/ext/java/config.m4 Sat Apr 20 22:50:37 2002 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.30 2002/04/14 00:40:35 sniper Exp $ +dnl $Id: config.m4,v 1.31 2002/04/21 02:50:37 sniper Exp $ dnl PHP_ARG_WITH(java, for JAVA support, @@ -15,15 +15,15 @@ HP-UX) java_libext=libjava.sl ;; esac - if test "$withval" = "yes"; then + if test "$PHP_JAVA" = "yes"; then if JAVA_JAR=which jar 2>/dev/null; then JAVA_JAR="$JAVA_JAR cf" else JAVA_JAR= fi - withval=cd \dirname \\\which javac\\\\/..;pwd + PHP_JAVA=cd \dirname \\\which javac\\\\/..;pwd else - test -x $withval/bin/jar && JAVA_JAR="$withval/bin/jar cf" + test -x $PHP_JAVA/bin/jar && JAVA_JAR="$PHP_JAVA/bin/jar cf" fi # substitute zip for systems which don't have jar @@ -31,10 +31,10 @@ JAVA_JAR='zip -q0' fi - if test -x $withval/bin/javac; then - JAVA_C=$withval/bin/javac + if test -x $PHP_JAVA/bin/javac; then + JAVA_C=$PHP_JAVA/bin/javac else - AC_MSG_ERROR([Can not find the javac binary under $withval/bin/]) + AC_MSG_ERROR([Can not find the javac binary under $PHP_JAVA/bin/]) fi if test -d $PHP_JAVA/lib/kaffe; then

« previous php.cvs (#11284) next »