Home | History | Annotate | Line # | Download | only in m4
      1      1.1  christos dnl ######################################################################
      2      1.1  christos dnl NTP compiler basics
      3      1.1  christos dnl
      4      1.1  christos AC_DEFUN([NTP_PROG_CC], [
      5  1.1.1.2  christos case "$build" in
      6  1.1.1.2  christos  *-*-freebsd1?.*)
      7  1.1.1.2  christos     cclist=cc
      8  1.1.1.2  christos     ;;
      9  1.1.1.2  christos  *)
     10  1.1.1.2  christos     cclist="cc gcc"
     11  1.1.1.2  christos     ;;
     12  1.1.1.2  christos esac
     13  1.1.1.2  christos 
     14  1.1.1.2  christos dnl  we need to check for cross compile tools for vxWorks here
     15      1.1  christos 
     16      1.1  christos dnl must come before AC_PROG_CC or similar
     17  1.1.1.2  christos #AC_USE_SYSTEM_EXTENSIONS
     18      1.1  christos 
     19  1.1.1.2  christos AC_PROG_CC([$cclist])
     20      1.1  christos 
     21      1.1  christos ])dnl
     22      1.1  christos dnl ======================================================================
     23