]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Avoid the sched*() functions under OSF - link problems
authorHarlan Stenn <stenn@ntp.org>
Tue, 18 Nov 2008 22:33:11 +0000 (22:33 +0000)
committerHarlan Stenn <stenn@ntp.org>
Tue, 18 Nov 2008 22:33:11 +0000 (22:33 +0000)
bk: 492342a7LzsV1nOho5j1abL8Zclinw

ChangeLog
configure.ac

index 3a22193bce527c6a616c7c68363b78385c144318..e80a30eb2bad4212ca08a1c3f174fdcf90afee31 100644 (file)
--- 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 <stenn@ntp.org>
 * sntp cleanup and fixes.
 (4.2.5p142) 2008/11/16 Released by Harlan Stenn <stenn@ntp.org>
index 3992116efa0a340b3c9777dde4642fb2aff2b3da..61018e9fd88116642d2e3c9f39106983adb2222b 100644 (file)
@@ -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))