summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/sntp/m4/ntp_prog_cc.m4
blob: 19df57785f8f720fe50b16f379a8d5f0809a4ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
dnl ######################################################################
dnl NTP compiler basics
dnl
AC_DEFUN([NTP_PROG_CC], [
case "$build" in
 *-*-freebsd1?.*)
    cclist=cc
    ;;
 *)
    cclist="cc gcc"
    ;;
esac

dnl  we need to check for cross compile tools for vxWorks here

dnl must come before AC_PROG_CC or similar
#AC_USE_SYSTEM_EXTENSIONS

AC_PROG_CC([$cclist])

])dnl
dnl ======================================================================
OpenPOWER on IntegriCloud