Module: check_mk
Branch: master
Commit: 2ee17bf39a042c39f739fb1f3e893790b5663c93
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2ee17bf39a042c…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Jan 11 08:18:31 2016 +0100
Select the 'best' compiler via configure.
---
livestatus/configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/livestatus/configure.ac b/livestatus/configure.ac
index 8aac38f..0d832c3 100644
--- a/livestatus/configure.ac
+++ b/livestatus/configure.ac
@@ -34,8 +34,8 @@ AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADER([config.h])
# Checks for programs.
-AC_PROG_CXX
-AC_PROG_CC
+AC_PROG_CC([gcc44 gcc clang])
+AC_PROG_CXX([g++44 g++ clang++])
AC_PROG_RANLIB
AM_CONDITIONAL([HAVE_DIET], [which diet >/dev/null 2>&1])
# automake 1.12 seems to require this, but automake 1.11 doesn't recognize it. :-P