[llvm-commits] CVS: llvm/autoconf/m4/sanity_check.m4

Reid Spencer reid at x10sys.com
Mon Dec 4 12:28:21 PST 2006



Changes in directory llvm/autoconf/m4:

sanity_check.m4 updated: 1.2 -> 1.3
---
Log message:

Expose the sanity.


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

 sanity_check.m4 |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/autoconf/m4/sanity_check.m4
diff -u llvm/autoconf/m4/sanity_check.m4:1.2 llvm/autoconf/m4/sanity_check.m4:1.3
--- llvm/autoconf/m4/sanity_check.m4:1.2	Wed Dec 21 20:08:30 2005
+++ llvm/autoconf/m4/sanity_check.m4	Mon Dec  4 14:28:07 2006
@@ -14,6 +14,7 @@
   sanity=`$1 $2 2>&1 | grep "$3"`
   if test -z "$sanity" ; then
     AC_MSG_RESULT([no])
+    sanity="0"
     if test "$4" -eq 1 ; then
       AC_MSG_WARN([Program ]$1[ failed to pass sanity check.])
     else
@@ -21,6 +22,7 @@
     fi
   else
     AC_MSG_RESULT([yes])
+    sanity="1"
   fi
 else
   AC_MSG_RESULT([not found])






More information about the llvm-commits mailing list