[Telepathy-commits] [telepathy-qt4/master] Remove as-compiler-flag.m4 completely, it's unused now - and dist tp-cxx-compiler-flag.m4, forgot it
Olli Salli
olli.salli at collabora.co.uk
Mon Sep 22 11:05:36 PDT 2008
---
m4/Makefile.am | 2 +-
m4/as-compiler-flag.m4 | 35 -----------------------------------
2 files changed, 1 insertions(+), 36 deletions(-)
delete mode 100644 m4/as-compiler-flag.m4
diff --git a/m4/Makefile.am b/m4/Makefile.am
index 271312f..8e3dbfc 100644
--- a/m4/Makefile.am
+++ b/m4/Makefile.am
@@ -1,4 +1,4 @@
EXTRA_DIST = \
-as-compiler-flag.m4 \
+tp-cxx-compiler-flag.m4 \
compiler.m4 \
linker.m4
diff --git a/m4/as-compiler-flag.m4 b/m4/as-compiler-flag.m4
deleted file mode 100644
index c98dc67..0000000
--- a/m4/as-compiler-flag.m4
+++ /dev/null
@@ -1,35 +0,0 @@
-dnl as-compiler-flag.m4 0.1.0
-
-dnl autostars m4 macro for detection of compiler flags, ported to C++ by
-dnl Olli Salli <olli.salli at collabora.co.uk>
-
-dnl David Schleef <ds at schleef.org>
-
-dnl $Id: as-compiler-flag.m4,v 1.1 2005/06/18 18:02:46 burgerman Exp $
-
-dnl AS_COMPILER_FLAG(CXXFLAGS, ACTION-IF-ACCEPTED, [ACTION-IF-NOT-ACCEPTED])
-dnl Tries to compile with the given CXXFLAGS.
-dnl Runs ACTION-IF-ACCEPTED if the compiler can compile with the flags,
-dnl and ACTION-IF-NOT-ACCEPTED otherwise.
-
-AC_DEFUN([AS_COMPILER_FLAG],
-[
- AC_LANG_ASSERT([C++])
- AC_MSG_CHECKING([to see if the C++ compiler understands $1])
-
- save_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS $1"
-
- AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
- CXXFLAGS="$save_CXXFLAGS"
-
- if test "X$flag_ok" = Xyes ; then
- $2
- true
- else
- $3
- true
- fi
- AC_MSG_RESULT([$flag_ok])
-])
-
--
1.5.6.5
More information about the Telepathy-commits
mailing list