[llvm-commits] CVS: llvm-test/autoconf/configure.ac
Evan Cheng
evan.cheng at apple.com
Thu Jan 4 23:05:40 PST 2007
Changes in directory llvm-test/autoconf:
configure.ac updated: 1.40 -> 1.41
---
Log message:
Add an extra check for f95 sanity. It seems some versions of autoconf may end
up generate code that does not initialize $sanity to 0.
---
Diffs of the changes: (+6 -2)
configure.ac | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
Index: llvm-test/autoconf/configure.ac
diff -u llvm-test/autoconf/configure.ac:1.40 llvm-test/autoconf/configure.ac:1.41
--- llvm-test/autoconf/configure.ac:1.40 Mon Dec 4 14:37:53 2006
+++ llvm-test/autoconf/configure.ac Fri Jan 5 01:05:12 2007
@@ -150,10 +150,14 @@
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
+if test -z "$sanity" ; then
AC_SUBST(USE_F95,[[]])
else
- AC_SUBST(USE_F95,[USE_F95=1])
+ if test "$sanity" -eq "0" ; then
+ AC_SUBST(USE_F95,[[]])
+ else
+ AC_SUBST(USE_F95,[USE_F95=1])
+ fi
fi
dnl Checks for header files.
More information about the llvm-commits
mailing list