summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-04-21 02:50:38 +0000
committerfoobar <sniper@php.net>2002-04-21 02:50:38 +0000
commit65078f3b5038f14b3e8bcee0b05b28671fd99086 (patch)
tree013a56b0aebe096ccf3d137423aa0d1d16a81c17 /ext
parent13f7ec437411b4d114880b0e6cb1b0b6b3851620 (diff)
downloadphp-git-65078f3b5038f14b3e8bcee0b05b28671fd99086.tar.gz
Tiny typo..
Diffstat (limited to 'ext')
-rw-r--r--ext/java/config.m412
-rw-r--r--ext/rpc/java/config.m412
2 files changed, 12 insertions, 12 deletions
diff --git a/ext/java/config.m4 b/ext/java/config.m4
index bb258e8ebb..fba422696a 100644
--- a/ext/java/config.m4
+++ b/ext/java/config.m4
@@ -15,15 +15,15 @@ if test "$PHP_JAVA" != "no"; then
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 @@ if test "$PHP_JAVA" != "no"; then
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
diff --git a/ext/rpc/java/config.m4 b/ext/rpc/java/config.m4
index bb258e8ebb..fba422696a 100644
--- a/ext/rpc/java/config.m4
+++ b/ext/rpc/java/config.m4
@@ -15,15 +15,15 @@ if test "$PHP_JAVA" != "no"; then
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 @@ if test "$PHP_JAVA" != "no"; then
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