aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2022-05-26 23:34:34 +0200
committerLuca Deri <deri@ntop.org>2022-05-26 23:34:34 +0200
commit02ba12b0de20592f00f2f76a45133582ca0b628e (patch)
tree4eee31a702dc1ccb1239f9c01abfadd80302db76 /configure.ac
parentf81f0c5e69164765abbc9064429418641e922218 (diff)
Fixes compilation issues on RedHat systems
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 8807b4a8a..7a4a05998 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,16 +39,16 @@ LT_INIT
LT_LIB_M
PKG_PROG_PKG_CONFIG
+AC_PROG_CC
+
SYSTEM=`uname -s`
if test $SYSTEM = "Darwin"; then
dnl> AC_PROG_CC(clang gcc)
AM_PROG_CC_C_O(clang gcc)
AC_PROG_CXX(clang++ g++)
- AC_PROG_CC
else
AC_PROG_CC_C_O
AC_PROG_CXX
- AC_PROG_CC
fi
dnl> Can't iuse AM_PROG_AR because not all of our Makefiles are automake (yet?)