From: Harlan Stenn Date: Mon, 21 Feb 2011 08:26:17 +0000 (-0800) Subject: older autoconf sometimes dislikes []. X-Git-Tag: NTP_4_2_7P131~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f384aa430e5876ae6a4c19a25400cc87095c76b9;p=thirdparty%2Fntp.git older autoconf sometimes dislikes []. bk: 4d6221a970JTSj9lM25E4Hc7tX5Ugw --- diff --git a/ChangeLog b/ChangeLog index a845bf393..f71cabf3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* older autoconf sometimes dislikes []. * Move "can't write KoD file" warning from sntp shutdown to startup. * refclock_acts.c cleanup from Dave Mills. * Convert sntp to libevent event-driven socket programming. Instead of diff --git a/sntp/m4/ntp_libntp.m4 b/sntp/m4/ntp_libntp.m4 index 758ff6328..eace90035 100644 --- a/sntp/m4/ntp_libntp.m4 +++ b/sntp/m4/ntp_libntp.m4 @@ -299,7 +299,7 @@ AC_CHECK_FUNCS([sem_timedwait socketpair]) AC_ARG_ENABLE( [thread-support], [AS_HELP_STRING([--disable-thread-support, do not use threads])], - [], + , [enable_thread_support=yes] ) have_pthreads=no @@ -320,7 +320,7 @@ case "$have_pthreads" in CFLAGS="$CFLAGS $PTHREAD_CFLAGS" AC_CHECK_SIZEOF( [pthread_t], - [], + , [ AC_INCLUDES_DEFAULT() #include @@ -357,8 +357,7 @@ case "$have_pthreads" in AC_CHECK_LIB( [c_r], [sigwait], - [have_sigwait=yes], - [] + [have_sigwait=yes] ) esac case "$have_sigwait" in @@ -388,8 +387,7 @@ case "$have_pthreads" in AC_CHECK_FUNC( [pthread_setconcurrency], [AC_DEFINE([CALL_PTHREAD_SETCONCURRENCY], [1], - [why not HAVE_P_S?])], - [] + [why not HAVE_P_S?])] ) ;; *-sco-sysv*uw*|*-*-sysv*UnixWare*|*-*-sysv*OpenUNIX*)