If we fail to find python or qmtest, give a warning message instead of an
authorJohn Criswell <criswell@uiuc.edu>
Tue, 23 Sep 2003 20:46:32 +0000 (20:46 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Tue, 23 Sep 2003 20:46:32 +0000 (20:46 +0000)
error message.  This should hopefully allow our nightly tester to run, which
does not run the QMTest tests at present.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8691 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac
configure

index 1c965c28911d4d9a8f7b68618c467b78255c0ce2..07986edfe08ca6743270ea758f0e7cb5da1d7f9b 100644 (file)
@@ -356,13 +356,13 @@ AC_PATH_PROG(PURIFY,[purify],[false])
 AC_PATH_PROG(PYTHON,[python],[false])
 if test ${PYTHON} = "false"
 then
-       AC_MSG_ERROR([python required but not found])
+       AC_MSG_WARN([python required but not found])
 fi
 
 AC_PATH_PROG(QMTEST,[qmtest],[false])
 if test ${QMTEST} = "false"
 then
-       AC_MSG_ERROR([qmtest required but not found])
+       AC_MSG_WARN([qmtest required but not found])
 fi
 
 dnl Verify that the version of python available is high enough for qmtest
index 41ef65633c383495dcdc316690d0d67182647094..1c5f2cbfee8ffad979077d29278f77ba8b89c3e2 100755 (executable)
--- a/configure
+++ b/configure
@@ -18983,9 +18983,8 @@ fi
 
 if test ${PYTHON} = "false"
 then
-       { { echo "$as_me:$LINENO: error: python required but not found" >&5
-echo "$as_me: error: python required but not found" >&2;}
-   { (exit 1); exit 1; }; }
+       { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
+echo "$as_me: WARNING: python required but not found" >&2;}
 fi
 
 # Extract the first word of "qmtest", so it can be a program name with args.
@@ -19030,9 +19029,8 @@ fi
 
 if test ${QMTEST} = "false"
 then
-       { { echo "$as_me:$LINENO: error: qmtest required but not found" >&5
-echo "$as_me: error: qmtest required but not found" >&2;}
-   { (exit 1); exit 1; }; }
+       { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
+echo "$as_me: WARNING: qmtest required but not found" >&2;}
 fi
 
 pyversion=`$PYTHON -V 2>&1 | cut -d\  -f2`