xref: /freebsd/contrib/ntp/sntp/m4/ntp_prog_cc.m4 (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1dnl ######################################################################
2dnl NTP compiler basics
3dnl
4AC_DEFUN([NTP_PROG_CC], [
5case "$build" in
6 *-*-freebsd1?.*)
7    cclist=cc
8    ;;
9 *)
10    cclist="cc gcc"
11    ;;
12esac
13
14dnl  we need to check for cross compile tools for vxWorks here
15
16dnl must come before AC_PROG_CC or similar
17#AC_USE_SYSTEM_EXTENSIONS
18
19AC_PROG_CC([$cclist])
20
21])dnl
22dnl ======================================================================
23