diff options
author | John Stebbins <[email protected]> | 2015-10-14 07:46:14 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-10-14 07:46:14 -0700 |
commit | 4945defa3f0adf091c3373e1e83d75f70bf49bc8 (patch) | |
tree | 76a87af0c539911ee8385a547a29f80a5c1aee1b /gtk/configure.ac | |
parent | b55283f070e2883bacbc2e525255ed384a89401e (diff) |
LinGui: add clang support
Diffstat (limited to 'gtk/configure.ac')
-rw-r--r-- | gtk/configure.ac | 6 |
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 |