]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ntp/sntp/m4/ntp_prog_cc.m4
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / ntp / sntp / m4 / ntp_prog_cc.m4
1 dnl ######################################################################
2 dnl NTP compiler basics
3 dnl
4 AC_DEFUN([NTP_PROG_CC], [
5
6 dnl must come before AC_PROG_CC or similar
7 AC_USE_SYSTEM_EXTENSIONS
8
9 dnl  we need to check for cross compile tools for vxWorks here
10 AC_PROG_CC
11 # Ralf Wildenhues: With per-target flags we need CC_C_O
12 # AM_PROG_CC_C_O supersets AC_PROG_CC_C_O
13 AM_PROG_CC_C_O
14 AC_PROG_GCC_TRADITIONAL
15 NTP_COMPILER
16 AC_C_BIGENDIAN
17 AC_C_VOLATILE
18 AC_PROG_CPP
19
20 ])dnl
21 dnl ======================================================================