From: Dave Hart Date: Sat, 2 May 2009 01:49:02 +0000 (+0000) Subject: flock-build: X-Git-Tag: NTP_4_2_4P7_RC5~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3703d5e4753c69871e616c7ccafcd9065fd9b736;p=thirdparty%2Fntp.git flock-build: set -m wasn't needed with ssh -tt and caused problems, remove ChangeLog: [Bug 1172] 4.2.4p7-RC{3,4} fail to build on linux. remove unportable 'set -m' from flock-build script configure.ac: reverse accidental backport from -dev of struct rtattr test in configure.ac without corresponding ntp_io.c code for HAVE_RTNETLINK bk: 49fba68eFkfUWG2a50lgKLSnptYAtA --- diff --git a/ChangeLog b/ChangeLog index 91b1da15d..2232d1898 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +--- + +* [Bug 1172] 4.2.4p7-RC{3,4} fail to build on linux. +* flock-build script unportable 'set -m' use removed + --- (4.2.4p7-RC4) 2009/04/29 Released by Harlan Stenn diff --git a/configure.ac b/configure.ac index 95b4a9f20..a262e7ea4 100644 --- a/configure.ac +++ b/configure.ac @@ -805,19 +805,8 @@ AC_CACHE_CHECK([for struct rt_msghdr], ac_cv_struct_rt_msghdr, ac_cv_struct_rt_msghdr=no) ]) -AC_CACHE_CHECK([for struct rtattr], ac_cv_struct_rtattr, -[AC_TRY_COMPILE([ -#include ], -[struct rtattr p;], - ac_cv_struct_rtattr=yes, - ac_cv_struct_rtattr=no) -]) - -if test $ac_cv_struct_rt_msghdr = yes -o $ac_cv_struct_rtattr = yes; then +if test $ac_cv_struct_rt_msghdr = yes; then AC_DEFINE(HAS_ROUTING_SOCKET, 1, [Do we have a routing socket (struct rt_msghdr)?]) - if test $ac_cv_struct_rtattr = yes; then - AC_DEFINE(HAVE_RTNETLINK, 1, [Do we have Linux routing socket?]) - fi fi AC_CACHE_CHECK( diff --git a/flock-build b/flock-build index dafe25d85..d80fc6d3d 100755 --- a/flock-build +++ b/flock-build @@ -65,11 +65,9 @@ do 1) cat > .flockbuild-$i-$SIG <