From: Sam Ruby Date: Tue, 11 Jul 2000 17:33:14 +0000 (+0000) Subject: Fix for problem noted by Jay Greenspan on TurboLinux machines X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ef7cb0700916910bb87b738932b1bec3d8de1e9;p=php Fix for problem noted by Jay Greenspan on TurboLinux machines --- diff --git a/ext/java/config.m4 b/ext/java/config.m4 index 3f323f1e3c..ab5227187a 100644 --- a/ext/java/config.m4 +++ b/ext/java/config.m4 @@ -18,7 +18,7 @@ AC_ARG_WITH(java, fi if test "$withval" = "yes"; then - withval=`cd \`which javac\`/../..;pwd` + withval=`cd \`dirname \\\`which javac\\\`\`/..;pwd` fi if test -d $withval/lib/kaffe; then diff --git a/ext/rpc/java/config.m4 b/ext/rpc/java/config.m4 index 3f323f1e3c..ab5227187a 100644 --- a/ext/rpc/java/config.m4 +++ b/ext/rpc/java/config.m4 @@ -18,7 +18,7 @@ AC_ARG_WITH(java, fi if test "$withval" = "yes"; then - withval=`cd \`which javac\`/../..;pwd` + withval=`cd \`dirname \\\`which javac\\\`\`/..;pwd` fi if test -d $withval/lib/kaffe; then