From: Dave Hart Date: Tue, 23 Nov 2010 03:54:56 +0000 (+0000) Subject: build: X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b7032f1819ec36498ca8481fab18fb5ab7094a4;p=thirdparty%2Fntp.git build: Do not skip configure if it is newer than config.status bk: 4ceb3b10nIMNv68McX6S2-ZnTABrcg --- diff --git a/build b/build index 33eb451e4f..de4ea81314 100755 --- a/build +++ b/build @@ -121,9 +121,13 @@ HEREDOC CONFIGURE="../configure --cache-file=../config.cache-$IAM$CCSUF $CONFIG_ARGS" ( # This sequence of commands is logged to make.log. - [ -f config.status ] || $NICEB -7 $CONFIGURE - $NICEB -5 ./config.status - $NICEB -14 ${MAKE-make} && $NICEB -10 ${MAKE-make} check + # Solaris /bin/sh doesn't grok -nt, csh does + csh -c '[ config.status -nt ../configure ] && \ + [ sntp/config.status -nt ../sntp/configure ]' || \ + $NICEB -7 $CONFIGURE + $NICEB -5 ./config.status && \ + ( cd sntp && $NICEB -5 ./config.status ) + $NICEB -14 ${MAKE-make} && $NICEB -11 ${MAKE-make} check ) > $LOGF 2>&1 EXITCODE=$?