diff options
author | delphij <delphij@FreeBSD.org> | 2017-04-12 06:24:35 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2017-04-12 06:24:35 +0000 |
commit | b8126de23e957978b4d0403097cd8402f0c1d82a (patch) | |
tree | f1de81f49e9bed94c537e2b96701aa1180fa111c /contrib/ntp/sntp/m4/ntp_compiler.m4 | |
parent | 8ec5a888ff17420a447fce1d15a0413c122dd297 (diff) | |
download | FreeBSD-src-b8126de23e957978b4d0403097cd8402f0c1d82a.zip FreeBSD-src-b8126de23e957978b4d0403097cd8402f0c1d82a.tar.gz |
Fix multiple vulnerabilities of ntp. [SA-17:03]
Xen migration enhancements. [EN-17:05]
Approved by: so
Diffstat (limited to 'contrib/ntp/sntp/m4/ntp_compiler.m4')
-rw-r--r-- | contrib/ntp/sntp/m4/ntp_compiler.m4 | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/contrib/ntp/sntp/m4/ntp_compiler.m4 b/contrib/ntp/sntp/m4/ntp_compiler.m4 index e4c515f..ae897e7 100644 --- a/contrib/ntp/sntp/m4/ntp_compiler.m4 +++ b/contrib/ntp/sntp/m4/ntp_compiler.m4 @@ -1,8 +1,16 @@ dnl ###################################################################### dnl Common m4sh code for compiler stuff AC_DEFUN([NTP_COMPILER], [ -AC_REQUIRE([AC_PROG_CC_C89]) -AC_REQUIRE([AC_PROG_CC_C99]) + +AC_USE_SYSTEM_EXTENSIONS + +# Ralf Wildenhues: With per-target flags we need CC_C_O +# AM_PROG_CC_C_O supersets AC_PROG_CC_C_O +AM_PROG_CC_C_O +AC_PROG_GCC_TRADITIONAL +AC_REQUIRE([AC_PROG_CC_STDC]) +dnl AC_REQUIRE([AC_PROG_CC_C89]) +dnl AC_REQUIRE([AC_PROG_CC_C99]) CFLAGS_NTP= CPPFLAGS_NTP= @@ -192,5 +200,9 @@ esac NTP_OS_CFLAGS +AC_C_BIGENDIAN +AC_C_VOLATILE +AC_PROG_CPP + ])dnl dnl ====================================================================== |