Select cc by CC=cc on command line

This commit is contained in:
dwarning 2008-05-21 20:48:39 +00:00
parent 29fc491c8e
commit 670bb2d799
1 changed files with 1 additions and 4 deletions

View File

@ -185,10 +185,7 @@ AM_MAINTAINER_MODE
dnl Compiler checks
dnl ---------------
if test -z "$CC"; then
# No C compiler specified... We rely on Autoconf to find the best
AC_PROG_CC
fi
AC_PROG_CC
dnl Work on compiler options according to system:
dnl Set default CFLAG - only use -Wall if we have gcc