diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-01-13 10:26:53 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-01-13 10:26:53 +0000 |
commit | e358e0a509c97b7d62f080cf803143a3962b482e (patch) | |
tree | 483599489729ee9da5819f69246edc991cf7dff0 /lib/make/configure.pl | |
parent | e593b5e6d14dc74c3ba3f62da90e70f4f2eba9be (diff) |
Fix for problem Tom spotted with how I set F90/F77 to descriptive strings
if no compilers are found. This fix stops the perl script trying to compile
a test program to look for C-Fortran name translation if there is no compiler.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1988 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/configure.pl')
-rwxr-xr-x | lib/make/configure.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/make/configure.pl b/lib/make/configure.pl index 8321f6b4..68ad9555 100755 --- a/lib/make/configure.pl +++ b/lib/make/configure.pl @@ -34,7 +34,7 @@ sub test_fortran_name local($retcode, $line, $name, $case, $n_underscores); local($underscore_suffix, $normal_suffix, $case_prefix); - if($compiler && $compiler ne "") + if($compiler && $compiler ne "" && $compiler !~ /NOT_SET/) { # Create a test file open(OUT, ">fname_test.f") || die "Cannot open fname_test.f\n"; @@ -173,7 +173,7 @@ sub test_fortran_common_name local($retcode, $line, $name, $case, $n_underscores); local($underscore_suffix, $normal_suffix, $case_prefix); - if($compiler && $compiler ne "") + if($compiler && $compiler ne "" && $compiler !~ /NOT_SET/) { # Create a test file open(OUT, ">fname_test.f") || die "Cannot open fname_test.f\n"; |