Remove -g from default CFLAGS and check for Clang explicitly

This commit is contained in:
William Robinet 2020-08-30 08:06:34 +02:00
parent 7d78d10423
commit 55ca4e1b14

View file

@ -8,7 +8,8 @@ AC_CONFIG_SRCDIR([base/pcap-snoop.c])
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([config.h])
# Checks for programs. # Checks for programs.
AC_PROG_CC : ${CFLAGS="-O2"}
AC_PROG_CC([gcc clang])
AM_PROG_CC_C_O AM_PROG_CC_C_O
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AC_PROG_INSTALL AC_PROG_INSTALL