Smake: Made the configure target slightly more fail safe
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 15 Feb 2015 12:08:59 +0000 (13:08 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 15 Feb 2015 12:08:59 +0000 (13:08 +0100)
Smake

diff --git a/Smake b/Smake
index 09f1c84e0a2c5bd9f7d8d1fbe04a397590793c5e..227affa36ba56bfe74a7991128e0b9d04a9dc11d 100644 (file)
--- a/Smake
+++ b/Smake
@@ -348,7 +348,7 @@ aclocal.m4:
        aclocal -I m4 -I gl/m4
 
 configure: configure.ac aclocal.m4
-       autoconf
+       autoconf || rm $@  # autoconf 2.69 has (what I think is) a bug.  It will create configure even when failure is detected.
 
 config.h.in: configure.ac
        autoheader