bk: 492d2cbeFLkwGmfHcVs4fDg9jCSNGQ
+* Update Solaris CFLAGS for gsoc_sntp.
(4.2.5p145) 2008/11/20 Released by Harlan Stenn <stenn@ntp.org>
* Deal with time.h for sntp under linux.
* Provide rpl_malloc() for sntp for systems that need it.
# Checks for programs.
AC_PROG_CC
+# HMS: These need to be moved to AM_CPPFLAGS and/or AM_CFLAGS
+case "$host" in
+ *-*-solaris*)
+ # see "man standards".
+ # -D_XOPEN_SOURCE=500 is probably OK for c89 and before
+ # -D_XOPEN_SOURCE=600 seems OK for c99
+ #CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__"
+ CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
+ ;;
+esac
+
# NTP has (so far) been relying on leading-edge autogen.
# Therefore, by default:
# - use the version we ship with