From b8126de23e957978b4d0403097cd8402f0c1d82a Mon Sep 17 00:00:00 2001 From: delphij Date: Wed, 12 Apr 2017 06:24:35 +0000 Subject: Fix multiple vulnerabilities of ntp. [SA-17:03] Xen migration enhancements. [EN-17:05] Approved by: so --- contrib/ntp/sntp/m4/ntp_compiler.m4 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'contrib/ntp/sntp/m4/ntp_compiler.m4') 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 ====================================================================== -- cgit v1.1