]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 123: disable priority scheduling for Mac OS X 10.4 for build compatibility
authorLee Howard <faxguy@howardsilvan.com>
Tue, 26 Jul 2005 16:45:25 +0000 (16:45 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Tue, 26 Jul 2005 16:45:25 +0000 (16:45 +0000)
CHANGES
configure

diff --git a/CHANGES b/CHANGES
index 1c32f47fd30215b76b9225aa87f26807c2f7318d..531721cef9669f2f31e919197b78c03089960474 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,7 @@
 
 Changelog for HylaFAX 4.2.2
 
+* fix build error with Mac OS X 10.4 (26 Jul 2005)
 * fix sendfax crash with verbose output (25 Jul 2005)
 * fix a race with scheduled jobs to allow for coordinated
   batch sending (25 Jul 2005)
index aa1afd680ff031b8ca1a1845a574794a1d66a385..87b1933bd4d98bc56495c7c53635cf4f21719113 100755 (executable)
--- a/configure
+++ b/configure
@@ -2969,12 +2969,16 @@ BuildPortDotH()
        echo '#define HAS_RTPRIO 1'
     }
     CheckForDefine _POSIX_PRIORITY_SCHEDULING unistd.h sched.h && {
-       Note "... configure use of POSIX realtime process control interface"
-       echo '#define HAS_POSIXSCHED 1'
        case $TARGET in
-       *-*-sco3.2v5.*) echo '#define RT_PRIORITY 96';;
-       *-linux*)       echo '#define RT_PRIORITY 1';;
-       *)              echo '#define RT_PRIORITY 1';;
+       *darwin8*)      Note "... ignoring POSIX realtime process control interface as invalid";;
+       *)
+                       Note "... configure use of POSIX realtime process control interface"
+                       echo '#define HAS_POSIXSCHED 1'
+                       case $TARGET in
+                       *-*-sco3.2v5.*) echo '#define RT_PRIORITY 96';;
+                       *-linux*)       echo '#define RT_PRIORITY 1';;
+                       *)              echo '#define RT_PRIORITY 1';;
+                       esac
        esac
     }
     CheckForTXCD && {