Make the config script fail with an error code if Configure failed
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 10 Sep 2018 12:18:23 +0000 (14:18 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 11 Sep 2018 16:45:59 +0000 (18:45 +0200)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7166)

(cherry picked from commit e13dc23cc0fd64c304c25a67d5fa516a77f9e8f1)

config

diff --git a/config b/config
index 21534e00ba4a2818d5a1f1a845e1d466680a6e6c..6214c4b1df9f296b39c0c0cac0f9bc749a750272 100755 (executable)
--- a/config
+++ b/config
@@ -992,5 +992,6 @@ if [ $? = "0" ]; then
   fi
 else
   echo "This system ($OUT) is not supported. See file INSTALL for details."
+  exit 1
 fi
 )