Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • m4/find_python.m4
    ... ... @@ -17,7 +17,7 @@ AC_DEFUN([FIND_PYTHON],[
    17 17
     
    
    18 18
         dnl If still not found, hard error: we require Python >= 3.7
    
    19 19
         AS_IF([test -z "$PYTHON"], [
    
    20
    -        AC_MSG_ERROR([Python 3.7 or later is required but no python interpreter was found. Please install Python >= 3.7 and re-run configure.])
    
    20
    +        AC_MSG_WARN([Python 3.7 or later is required but no python interpreter was found. This is needed by the testsuite driver.])
    
    21 21
         ])
    
    22 22
     
    
    23 23
         dnl Query the version string (X.Y.Z) of the selected interpreter
    
    ... ... @@ -31,10 +31,10 @@ AC_DEFUN([FIND_PYTHON],[
    31 31
     
    
    32 32
         dnl Enforce minimum version 3.7.0
    
    33 33
         AS_IF([test -z "$PythonVersion"], [
    
    34
    -        AC_MSG_ERROR([Failed to determine Python version for $PYTHON])
    
    34
    +        AC_MSG_WARN([Failed to determine Python version for $PYTHON])
    
    35 35
         ])
    
    36 36
         FP_COMPARE_VERSIONS([$PythonVersion], [-lt], [3.7.0], [
    
    37
    -        AC_MSG_ERROR([Python 3.7 or later is required, but $PYTHON reports $PythonVersion])
    
    37
    +        AC_MSG_WARN([Python 3.7 or later is required, but $PYTHON reports $PythonVersion])
    
    38 38
         ])
    
    39 39
     
    
    40 40
         dnl Canonicalise path for Windows