+* [Bug 2375] Improve AIX compatibility.
* [Bug 2490] Fixed non-const initializer coming from [Bug 2250] fix.
(4.2.7p391) 2013/10/12 Released by Harlan Stenn <stenn@ntp.org>
* [Bug 2250] Rework of leap second handling machine.
esac
AC_CHECK_FUNCS([mktime])
case "$host" in
- *-*-aix[[456]]*)
+ *-*-aix[[4-9]]*)
+ # XXX only verified thru AIX6.
# Just a stub. Sigh.
;;
*-*-irix[[45]]*)
esac
AC_CHECK_FUNCS([nice plock pututline pututxline readlink rtprio])
case "$host" in
- *-*-aix[[456]]*)
+ *-*-aix[[4-9]]*)
+ # XXX only verified thru AIX6.
# Just a stub in AIX 4. Sigh.
;;
*-*-solaris2.5*)
AC_CHECK_FUNCS([setlinebuf setpgid setpriority setsid setvbuf])
AC_CHECK_FUNCS([strdup strerror setrlimit strchr])
case "$host" in
- *-*-aix[[456]]*)
+ *-*-aix[[4-9]]*)
+ # XXX only verified thru AIX6.
# Just stubs. Sigh.
;;
*-*-netbsd1*)
*-fujitsu-uxp*)
ans=yes
;;
- *-ibm-aix[[456]]*)
+ *-ibm-aix[[4-9]]*)
+ # XXX only verified thru AIX6.
ans=yes
;;
*-*-*linux*)
*-hp-hpux*)
ans=old_tick
;;
- *-ibm-aix[[3456]]*)
+ *-ibm-aix[[3-9]]*)
+ # XXX only verified thru AIX6.
ans=no
;;
*-*-mpeix*)
esac
case "$host" in
- *-*-aix[[456]]*)
+ *-*-aix[[4-9]]*)
+ # XXX only verified thru AIX6
# (prr) aix 4.1 doesn't have clock_settime, but in aix 4.3 it's a stub
# (returning ENOSYS). I didn't check 4.2. If, in the future,
# IBM pulls its thumbs out long enough to implement clock_settime,
*-sni-sysv*)
ans=no
;;
- *-*-aix[[456]]*)
+ *-*-aix[[4-9]]*)
+ # XXX Only verified thru AIX6
ans=no
;;
*-*-hpux*)
*-sni-sysv*)
ans=no
;;
- *-*-aix[[456]]*)
+ *-*-aix[[4-9]]*)
+ # XXX Only verified thru AIX6
ans=no
;;
*-*-hpux*)
ntp_os_cflags="${ntp_os_cflags} -D_USE_IRS -D_MSGQSUPPORT"
;;
aix*)
+ # XXX Only verified thru AIX6.
+ # aix7 seems to need a different XOPEN_SOURCE_EXTENDED thing.
# avoid circular dependencies in yp headers
- ntp_os_cflags="-DHAVE_BAD_HEADERS -D_XOPEN_EXTENDED_SOURCE"
+ # _XOPEN_SOURCE=500 = X/Open 5: POSIX 1995
+ # _XOPEN_SOURCE=600 = X/Open 6: POSIX 2004
+ # _XOPEN_SOURCE=700 = X/Open 7: POSIX 2008
+ ntp_os_cflags="-DHAVE_BAD_HEADERS -D_XOPEN_SOURCE=600"
ntp_os_cflags="${ntp_os_cflags} -D_USE_IRS"
;;
amigaos)