Author: rfm
Date: Sat Jan 31 21:55:45 2015
New Revision: 38317
URL: http://svn.gna.org/viewcvs/gnustep?rev=38317&view=rev
Log:
use config.status when available
Modified:
libs/ec/trunk/GNUmakefile.postamble
libs/sqlclient/trunk/GNUmakefile.postamble
Modified: libs/ec/trunk/GNUmakefile.postamble
URL:
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/GNUmakefile.postamble?rev=38317&r1=38316&r2=38317&view=diff
==============================================================================
--- libs/ec/trunk/GNUmakefile.postamble (original)
+++ libs/ec/trunk/GNUmakefile.postamble Sat Jan 31 21:55:45 2015
@@ -48,14 +48,18 @@
# 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.make config.h: config.make.in config.h.in configure
- ./configure
+ if [ -x config.status ]; then \
+ ./config.status --recheck; \
+ else \
+ ./configure; \
+ fi
touch config.h
touch config.make
Modified: libs/sqlclient/trunk/GNUmakefile.postamble
URL:
http://svn.gna.org/viewcvs/gnustep/libs/sqlclient/trunk/GNUmakefile.postamble?rev=38317&r1=38316&r2=38317&view=diff
==============================================================================
--- libs/sqlclient/trunk/GNUmakefile.postamble (original)
+++ libs/sqlclient/trunk/GNUmakefile.postamble Sat Jan 31 21:55:45 2015
@@ -67,5 +67,9 @@
# after-check::
config.make: config.make.in
- ./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