]> granicus.if.org Git - php/commitdiff
Fix for problem noted by Jay Greenspan on TurboLinux machines
authorSam Ruby <rubys@php.net>
Tue, 11 Jul 2000 17:33:14 +0000 (17:33 +0000)
committerSam Ruby <rubys@php.net>
Tue, 11 Jul 2000 17:33:14 +0000 (17:33 +0000)
ext/java/config.m4
ext/rpc/java/config.m4

index 3f323f1e3c8946df4afd7607709dc0112355aaf6..ab5227187a4e1d15620f1d5a31e6d37a22e5d5bd 100644 (file)
@@ -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
index 3f323f1e3c8946df4afd7607709dc0112355aaf6..ab5227187a4e1d15620f1d5a31e6d37a22e5d5bd 100644 (file)
@@ -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