diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-04 20:28:07 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-04 20:28:07 +0000 |
commit | 36917d9749697d930c4b50aa62e935571b5cd1a2 (patch) | |
tree | 5dcb35d83b6e7590bc403e18deaa4bb043d544c7 /autoconf/m4/sanity_check.m4 | |
parent | 8955e3b755b2337423911d8c3e0fd6ab36036912 (diff) | |
download | external_llvm-36917d9749697d930c4b50aa62e935571b5cd1a2.zip external_llvm-36917d9749697d930c4b50aa62e935571b5cd1a2.tar.gz external_llvm-36917d9749697d930c4b50aa62e935571b5cd1a2.tar.bz2 |
Expose the sanity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32193 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/m4/sanity_check.m4')
-rw-r--r-- | autoconf/m4/sanity_check.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autoconf/m4/sanity_check.m4 b/autoconf/m4/sanity_check.m4 index 4c9dce6..64cb424 100644 --- a/autoconf/m4/sanity_check.m4 +++ b/autoconf/m4/sanity_check.m4 @@ -14,6 +14,7 @@ if test "$?" -eq 0 -a -x "$sanity_path" ; then 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 @@ if test "$?" -eq 0 -a -x "$sanity_path" ; then fi else AC_MSG_RESULT([yes]) + sanity="1" fi else AC_MSG_RESULT([not found]) |