summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/configure.ac b/gtk/configure.ac
index fa77354b6..148827bb2 100644
--- a/gtk/configure.ac
+++ b/gtk/configure.ac
@@ -7,15 +7,15 @@ AM_INIT_AUTOMAKE([1.7.9 foreign dist-bzip2 dist-zip])
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
+AC_PROG_CC(gcc clang)
AC_ISC_POSIX
-AC_PROG_CC
-AC_PROG_CXX
+AC_PROG_CXX(gcc++ clang++)
AM_PROG_CC_STDC
AC_HEADER_STDC
if test x"$CC_FOR_BUILD" = x; then
if test x"$cross_compiling" = x"yes"; then
- AC_CHECK_PROGS(CC_FOR_BUILD, gcc, cc)
+ AC_CHECK_PROGS(CC_FOR_BUILD, gcc clang, cc)
else
CC_FOR_BUILD="$CC"
fi