[llvm-commits] CVS: llvm-test/configure

Reid Spencer reid at x10sys.com
Mon Dec 4 12:38:10 PST 2006



Changes in directory llvm-test:

configure updated: 1.41 -> 1.42
---
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:  (+9 -0)

 configure |    9 +++++++++
 1 files changed, 9 insertions(+)


Index: llvm-test/configure
diff -u llvm-test/configure:1.41 llvm-test/configure:1.42
--- llvm-test/configure:1.41	Thu Sep 21 03:48:02 2006
+++ llvm-test/configure	Mon Dec  4 14:37:53 2006
@@ -20458,6 +20458,7 @@
   if test -z "$sanity" ; then
     { echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6; }
+    sanity="0"
     if test "1" -eq 1 ; then
       { echo "$as_me:$LINENO: WARNING: Program f95 failed to pass sanity check." >&5
 echo "$as_me: WARNING: Program f95 failed to pass sanity check." >&2;}
@@ -20469,12 +20470,20 @@
   else
     { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
+    sanity="1"
   fi
 else
   { echo "$as_me:$LINENO: result: not found" >&5
 echo "${ECHO_T}not found" >&6; }
 fi
 
+if test "$sanity" -eq "0" ; then
+  USE_F95=
+
+else
+  USE_F95=USE_F95=1
+
+fi
 
 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }






More information about the llvm-commits mailing list