From: Dave Hart Date: Tue, 22 Feb 2011 08:01:28 +0000 (+0000) Subject: Avoid relying on remake rules for routine build/flock-build for X-Git-Tag: NTP_4_2_7P132~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f09bd47952346d21a82d67f4bb6abebebf8d4640;p=thirdparty%2Fntp.git Avoid relying on remake rules for routine build/flock-build for libevent as for the top-level and sntp subproject. bk: 4d636d587WrPKVD6lQEtQtjQdEcmzw --- diff --git a/ChangeLog b/ChangeLog index 6e4365b20..1846ba5e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,13 @@ * [Bug 1832] ntpdate doesn't allow timeout > 2s. * [Bug 1833] The checking sem_timedwait() fails without -pthread. -* ElectricFence was suffering bitrot - remove it. valgrind seems better. +* ElectricFence was suffering bitrot - remove it. valgrind works well. * Enable all relevant automake warnings. * Correct Solaris 2.1x PTHREAD_ONCE_INIT extra braces test to avoid triggering warnings due to excess braces. * Remove libevent-cfg from sntp/Makefile.am. * Provide bug report and URL options to Autoconf. +* Avoid relying on remake rules for routine build/flock-build for + libevent as for the top-level and sntp subproject. (4.2.7p131) 2011/02/21 Released by Harlan Stenn * [Bug 1087] -v/--normalverbose conflicts with -v/--version in sntp. * [Bug 1088] sntp should (only) report the time difference without -s/-a. diff --git a/build b/build index 6d4c76047..fb9095a83 100755 --- a/build +++ b/build @@ -167,15 +167,22 @@ CONFIGURE="../configure --cache-file=../config.cache-$IAM$CCSUF $CONFIG_ARGS" ( # This sequence of commands is logged to make.log. # If config.status is newer than ../configure, and the same # is true for sntp, we do not need to re-run configure. + # For libevent, the twist is we may not be configuring the + # tearoff, so only act if its config.status exists. # Solaris /bin/sh doesn't grok -nt. ( "$TEST" config.status -nt ../configure && - $TEST sntp/config.status -nt ../sntp/configure ) || + "$TEST" sntp/config.status -nt ../sntp/configure && + ( "$TEST" '!' -f sntp/libevent/config.status || + "$TEST" sntp/libevent/config.status -nt ../sntp/libevent/configure ) ) || "$NICEB" -7 $CONFIGURE "$TEST" Makefile -nt config.status || "$NICEB" -5 ./config.status "$TEST" sntp/Makefile -nt sntp/config.status || ( cd sntp && "$NICEB" -5 ./config.status ) + "$TEST" '!' -f sntp/libevent/Makefile || + "$TEST" sntp/libevent/Makefile -nt sntp/libevent/config.status || + ( cd sntp/libevent && "$NICEB" -5 ./config.status ) "$NICEB" -14 ${MAKE-make} && "$NICEB" -11 ${MAKE-make} check ) > $LOGF 2>&1