From 4945defa3f0adf091c3373e1e83d75f70bf49bc8 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Wed, 14 Oct 2015 07:46:14 -0700 Subject: [PATCH] LinGui: add clang support --- gtk/configure.ac | 6 +++--- 1 file 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 -- 2.40.0