Smake: Made the configure target slightly more fail safe
[pspp] / 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