Replace $compile_ok by $compile since it's ok for this probe to fail.
authorAndy Dougherty <doughera@lafayete.edu>
Wed, 6 Jun 2012 12:55:12 +0000 (08:55 -0400)
committerAndy Dougherty <doughera@lafayete.edu>
Wed, 6 Jun 2012 12:55:12 +0000 (08:55 -0400)
On systems where _NSGetExecutablePath is not available, this probe
is expected to fail, so use $compile to throw away the error message.

U/perl/usensgetexecutablepath.U

index f3de31e..4eb61de 100644 (file)
@@ -99,7 +99,7 @@ EOM
 
 val=$undef
 set try
-if eval $compile_ok; then
+if eval $compile; then
        if $run ./try; then
                echo "You can use _NSGetExecutablePath to find the executing program." >&4
                val="$define"