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 | 2ffc3d25d077af5d4ab9dc8025ff54fd141c64f7 (patch) | |
tree | b39301dd3f9c4ca363958f08e9583309b95815c4 /llvm | |
parent | 49c5a86912999f812b0a6929fa60616b205edd40 (diff) | |
download | bcm5719-llvm-2ffc3d25d077af5d4ab9dc8025ff54fd141c64f7.tar.gz bcm5719-llvm-2ffc3d25d077af5d4ab9dc8025ff54fd141c64f7.zip |
Expose the sanity.
llvm-svn: 32193
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/autoconf/m4/sanity_check.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/autoconf/m4/sanity_check.m4 b/llvm/autoconf/m4/sanity_check.m4 index 4c9dce6cb14..64cb4243c7a 100644 --- a/llvm/autoconf/m4/sanity_check.m4 +++ b/llvm/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]) |