xref: /freebsd/contrib/ntp/sntp/m4/ntp_prog_cc.m4 (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
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