Author: rfm
Date: Sat Jan 31 21:46:56 2015
New Revision: 38313

URL: http://svn.gna.org/viewcvs/gnustep?rev=38313&view=rev
Log:
use config.status when available

Modified:
    libs/base/trunk/Makefile.postamble

Modified: libs/base/trunk/Makefile.postamble
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Makefile.postamble?rev=38313&r1=38312&r2=38313&view=diff
==============================================================================
--- libs/base/trunk/Makefile.postamble  (original)
+++ libs/base/trunk/Makefile.postamble  Sat Jan 31 21:46:56 2015
@@ -81,12 +81,16 @@
 
 # Automatically run ./configure if needed to generate the makefiles
 # which we need in order to do our job.  If you need any special
-# argument to ./configure, you can't rely on this rule, and you must
-# always run ./configure manually.  This rule is usually executed
+# argument to ./configure, you can't rely on this rule, and you should
+# usually run ./configure manually.  This rule is often executed
 # whenever 'make xxx' is invoked after a 'make distclean' - which is
 # why we can't guess what the ./configure arguments were last time
 # ./configure was called - make distclean cleans the sources
 # completely, wiping out any memory of specific configuration.
 config.mak base.make: config.mak.in base.make.in Version configure
-       ./configure
+       if [ -x config.status ]; then \
+         ./config.status --recheck; \
+       else \
+         ./configure; \
+       fi
 


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to