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:40:59 +0000 (18:40 +0200)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7166)

config

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