# HG changeset patch # User Christoph Moench-Tegeder # Date 1452541112 -3600 # Node ID 13923a5a7b89271d190621a98acfe53416eebe8a # Parent 8504c82b58efe572fda30cc959c83c62b90889d0 try generic cc before testing for gcc FreeBSD has clang as it's primary C compiler (and often no gcc, these days). To avoid using the "wrong" compiler (gcc installed via ports if available), test for cc first. diff -r 8504c82b58ef -r 13923a5a7b89 configure.ac --- a/configure.ac Mon Jan 11 20:33:01 2016 +0100 +++ b/configure.ac Mon Jan 11 20:38:32 2016 +0100 @@ -38,7 +38,7 @@ LDFLAGS="$LDFLAGS -no-undefined" fi -AC_PROG_CC +AC_PROG_CC([cc gcc]) AC_ISC_POSIX AC_HEADER_STDC AC_LIBTOOL_WIN32_DLL