From 9c1aeea67217cdcc911d1f2a815043b2e48acf7b Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 5 Jul 2013 08:51:41 +0200 Subject: configure, Makefile: Fail in Makefile if Config is not complete Define CONFIG_OK in the Config file generated in the configure script and check for it being defined in the Makefile before attempting anything else. This way we can better inform the user that she needs to run ./configure first. Signed-off-by: Tobias Klauser --- configure | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 94cc924..61a6ba0 100755 --- a/configure +++ b/configure @@ -246,4 +246,6 @@ if [ "$MISSING_NACL" == "1" ] ; then exit 1 fi +echo "CONFIG_OK=1" >> Config + exit 0 -- cgit v1.2.3-54-g00ecf