From: Harlan Stenn Date: Tue, 18 Nov 2008 22:33:11 +0000 (+0000) Subject: Avoid the sched*() functions under OSF - link problems X-Git-Tag: NTP_4_2_5P144~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76636762353b63b5360802e78c0649d7834ed14a;p=thirdparty%2Fntp.git Avoid the sched*() functions under OSF - link problems bk: 492342a7LzsV1nOho5j1abL8Zclinw --- diff --git a/ChangeLog b/ChangeLog index 3a22193bc..e80a30eb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* Avoid the sched*() functions under OSF - link problems. (4.2.5p143) 2008/11/17 Released by Harlan Stenn * sntp cleanup and fixes. (4.2.5p142) 2008/11/16 Released by Harlan Stenn diff --git a/configure.ac b/configure.ac index 3992116ef..61018e9fd 100644 --- a/configure.ac +++ b/configure.ac @@ -425,9 +425,14 @@ dnl Solaris 2.6 only has -lposix4; in Solaris 7, this is a symlink to -lrt, dnl so only use one of them. Linux (glibc-2.1.2 and -2.2.2, at least) dnl does Strange Things with extra processes using the Posix-compatibility dnl real-time library, so we don't want to use it. +dnl +dnl 081118 Harlan got tired of looking for a way to get the sched*() +dnl functions to link OK with either cc or gcc. case "$host" in *-*-*linux*) ;; + *-*-osf4*) ;; + *-*-osf5*) ;; *) AC_CHECK_LIB(rt, sched_setscheduler, , AC_CHECK_LIB(posix4, sched_setscheduler))