aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2017-03-23 05:19:00 +0000
committerXin LI <delphij@FreeBSD.org>2017-03-23 05:19:00 +0000
commit07ac48c3644021279e113d530764a231e27490a7 (patch)
tree0cbc5ca54b66605faf74bfd0773111623cfe3d9b /configure.ac
parent01b922f62c559f5778a983c365d390371956a214 (diff)
downloadsrc-07ac48c3644021279e113d530764a231e27490a7.tar.gz
src-07ac48c3644021279e113d530764a231e27490a7.zip
Vendor import of ntp-4.2.8p10.vendor/ntp/4.2.8p10
Notes
Notes: svn path=/vendor/ntp/dist/; revision=315791 svn path=/vendor/ntp/4.2.8p10/; revision=315792; tag=vendor/ntp/4.2.8p10
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 8 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index a34ed6d83c5b..e0775b1c1184 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,13 +65,16 @@ ntp_ripe_ncc_ok=${ntp_parse_ok=no}
ntp_jupiter_ok=${ntp_jupiter_ok=no}
NTP_PROG_CC
-AC_PROG_CPP
-# Do we need CXX for anything besides google test?
-AC_PROG_CXX
+NTP_COMPILER
+
+dnl # Do we need CXX for anything besides google test?
+dnl AC_PROG_CXX
AC_PROG_YACC
-AC_PROG_CC_C_O
+dnl AC_PROG_CC_C_O # called by NTP_COMPILER
AX_C99_STRUCT_INIT
+NTP_HARDEN([sntp])
+
NTP_VPATH_HACK dnl used only by ntpd/Makefile.am
NTP_LOCINFO([sntp]) dnl takes over from NTP_BINDIR, in NTP_LIBNTP
@@ -169,7 +172,6 @@ case "$ans" in
;;
esac
PROG_NET_SNMP_CONFIG=$ans
-AC_MSG_CHECKING([for net-snmp-config path])
case "$PROG_NET_SNMP_CONFIG" in
no) ;;
/*)
@@ -180,6 +182,7 @@ case "$PROG_NET_SNMP_CONFIG" in
AS_UNSET([ac_cv_path_PATH_NET_SNMP_CONFIG])
;;
esac
+AC_MSG_CHECKING([for net-snmp-config path])
AC_MSG_RESULT([$PATH_NET_SNMP_CONFIG])
case "$PATH_NET_SNMP_CONFIG" in