[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: icecream
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2012-07-08 15:38:35
Message-ID: 20120708153835.73D51AC7A9 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1304638 by lunakl:
add clang wrapper symlinks
M +2 -2 client/Makefile.am
M +2 -0 configure.in
--- trunk/icecream/client/Makefile.am #1304637:1304638
@@ -11,12 +11,12 @@
install-exec-local:
$(mkinstalldirs) $(DESTDIR)$(bindir)
- for link in g++ gcc c++ cc icerun; do \
+ for link in g++ gcc c++ cc icerun $(CLANG_SYMLINK_WRAPPERS); do \
rm -f $(DESTDIR)$(bindir)/$$link ;\
$(LN_S) icecc $(DESTDIR)$(bindir)/$$link ;\
done
uninstall-local:
- for link in g++ gcc c++ cc icerun; do \
+ for link in g++ gcc c++ cc icerun $(CLANG_SYMLINK_WRAPPERS); do \
rm $(DESTDIR)$(bindir)/$$link ;\
done
--- trunk/icecream/configure.in #1304637:1304638
@@ -224,6 +224,7 @@
AC_CHECK_PROG(CLANG,clang,clang)
if test -n "$CLANG"; then
+ CLANG_SYMLINK_WRAPPERS='clang clang++'
AC_MSG_CHECKING([whether clang -Werror works for unknown options])
$CLANG -Werror -totallybogusoption -E - >/dev/null 2>/dev/null
if test $? -eq 0; then
@@ -241,6 +242,7 @@
fi
fi
fi
+AC_SUBST(CLANG_SYMLINK_WRAPPERS)
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ client/Makefile ])
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic