Changes in directory llvm-test/autoconf:

configure.ac updated: 1.39 -> 1.40
---
Log message:

If F95 fails the sanity check then don't set its definition. This works
around false positives if gfortran's f95 is discovered instead of NAG's


---
Diffs of the changes:  (+5 -0)

 configure.ac |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm-test/autoconf/configure.ac
diff -u llvm-test/autoconf/configure.ac:1.39 
llvm-test/autoconf/configure.ac:1.40
--- llvm-test/autoconf/configure.ac:1.39        Thu Sep 21 03:48:02 2006
+++ llvm-test/autoconf/configure.ac     Mon Dec  4 14:37:53 2006
@@ -150,6 +150,11 @@
 dnl Check for the NAG f95 FORTRAN -> C translator
 FIND_STD_PROGRAM(f95,,libf97.dylib,[nag fortran])
 CHECK_PROGRAM_SANITY([f95],[-V],[NAGWare Fortran 95],1)
+if test "$sanity" -eq "0" ; then
+  AC_SUBST(USE_F95,[[]])
+else
+  AC_SUBST(USE_F95,[USE_F95=1])
+fi
 
 dnl Checks for header files.
 dnl We don't check for ancient stuff or things that are guaranteed to be there



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to