003 File Manager
Current Path:
/usr/src/contrib/ntp/sntp/m4
usr
/
src
/
contrib
/
ntp
/
sntp
/
m4
/
📁
..
📄
ax_c99_struct_init.m4
(1.64 KB)
📄
define_dir.m4
(1.16 KB)
📄
hms_search_lib.m4
(701 B)
📄
libtool.m4
(298.56 KB)
📄
ltoptions.m4
(14.17 KB)
📄
ltsugar.m4
(4.28 KB)
📄
ltversion.m4
(699 B)
📄
lt~obsolete.m4
(6 KB)
📄
ntp_af_unspec.m4
(597 B)
📄
ntp_cacheversion.m4
(4.08 KB)
📄
ntp_compiler.m4
(5.15 KB)
📄
ntp_crosscompile.m4
(300 B)
📄
ntp_crypto_rand.m4
(1.41 KB)
📄
ntp_debug.m4
(549 B)
📄
ntp_dir_sep.m4
(589 B)
📄
ntp_facilitynames.m4
(797 B)
📄
ntp_googletest.m4
(1.35 KB)
📄
ntp_harden.m4
(1.19 KB)
📄
ntp_ipv6.m4
(10.55 KB)
📄
ntp_lib_m.m4
(388 B)
📄
ntp_libevent.m4
(6.34 KB)
📄
ntp_libntp.m4
(24.98 KB)
📄
ntp_lineeditlibs.m4
(2.9 KB)
📄
ntp_locinfo.m4
(3.2 KB)
📄
ntp_openssl.m4
(9.84 KB)
📄
ntp_pkg_config.m4
(673 B)
📄
ntp_problemtests.m4
(1.96 KB)
📄
ntp_prog_cc.m4
(460 B)
📄
ntp_rlimit.m4
(2.55 KB)
📄
ntp_sntp.m4
(643 B)
📄
ntp_sysexits.m4
(352 B)
📄
ntp_unitytest.m4
(531 B)
📄
ntp_ver_suffix.m4
(404 B)
📄
ntp_vpathhack.m4
(1.52 KB)
📄
openldap-thread-check.m4
(18.72 KB)
📄
openldap.m4
(32.08 KB)
📄
os_cflags.m4
(3.27 KB)
📄
snprintf.m4
(11.16 KB)
📄
sntp_problemtests.m4
(1.35 KB)
📄
version.m4
(39 B)
Editing: os_cflags.m4
dnl ###################################################################### dnl Specify additional compile options based on the OS and the compiler AC_DEFUN([NTP_OS_CFLAGS], [ AC_MSG_CHECKING([additional compiler flags]) # allow ntp_os_cflags to be preset to skip this stuff case "${ntp_os_cflags+set}" in set) ;; *) ntp_os_cflags= case "$host_os" in aix[[1-3]]*) ;; aix4.[[0-2]]*) # turn on additional headers ntp_os_cflags="-D_XOPEN_EXTENDED_SOURCE" ;; aix5.3*) # avoid circular dependencies in yp headers, and more ntp_os_cflags="-DHAVE_BAD_HEADERS -D_XOPEN_EXTENDED_SOURCE" 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 # _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) ntp_os_cflags="-DSYS_AMIGA" ;; darwin*|macosx*|rhapsody*) ntp_os_cflags="-D_P1003_1B_VISIBLE" ;; hpux10.*) # at least for hppa2.0-hp-hpux10.20 case "$GCC" in yes) ;; *) # use Ansi compiler on HPUX, and some -Wp magic ntp_os_cflags="-Ae -Wp,-H18816" ;; esac ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE -D__STDC_VERSION__=199901L" ;; hpux*) case "$GCC" in yes) ;; *) # use Ansi compiler on HPUX ntp_os_cflags="-Ae" esac ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE -D__STDC_VERSION__=199901L" ;; irix6*) case "$CC" in cc) # do not use 64-bit compiler ntp_os_cflags="-n32 -mips3 -Wl,-woff,84" esac ;; nextstep3) ntp_os_cflags="-posix" ;; solaris1*|solaris2.[[0-5]]|solaris2.5.*) ;; sunos[[34]]*|sunos5.[[0-5]]|sunos5.5.*) ;; solaris2*|sunos5*) # turn on 64-bit file offset interface ntp_os_cflags="-D_LARGEFILE64_SOURCE" ;; vxworks*) case "$build" in $host) ;; *) # Quick and dirty sanity check case "$VX_KERNEL" in '') AC_MSG_ERROR([See html/build/hints/vxworks.html]) esac ntp_os_cflags="-DSYS_VXWORKS" esac ;; esac esac case "$ntp_os_cflags" in '') ntp_os_cflags_msg="none needed" ;; *) ntp_os_cflags_msg="$ntp_os_cflags" esac CFLAGS_NTP="$CFLAGS_NTP $ntp_os_cflags" AC_MSG_RESULT([$ntp_os_cflags_msg]) AS_UNSET([ntp_os_cflags_msg]) ### AC_MSG_CHECKING([additional linker flags]) # HMS: The following might still need tweaking # allow ntp_os_ldflags to be preset to skip this stuff case "${ntp_os_ldflags+set}" in set) ;; *) ntp_os_ldflags= case "$host_os" in hpux*) case "$GCC" in yes) ntp_os_ldflags="-Wl,+allowdups" ;; esac ;; esac ;; esac case "$ntp_os_ldflags" in '') ntp_os_ldflags_msg="none needed" ;; *) ntp_os_ldflags_msg="$ntp_os_ldflags" esac LDFLAGS_NTP="$LDFLAGS_NTP $ntp_os_ldflags" AC_MSG_RESULT([$ntp_os_ldflags_msg]) AS_UNSET([ntp_os_ldflags_msg]) ]) dnl ======================================================================
Upload File
Create Folder