summaryrefslogtreecommitdiff
path: root/m4/as-compiler-flag.m4
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-21 12:53:47 -0700
committerStefano Karapetsas <[email protected]>2013-10-21 12:53:47 -0700
commitf31f20ccb561eabb3c00f975838ebaddbeedbe55 (patch)
tree239f1e90cf1075d16d821b8c24a5ab4258b33312 /m4/as-compiler-flag.m4
parentd48881774ff4ad74f0d94b95c8908ed44fc681fb (diff)
parent0984bba3c88293a611fdf509954b28db8b6452ed (diff)
downloadmate-media-f31f20ccb561eabb3c00f975838ebaddbeedbe55.tar.bz2
mate-media-f31f20ccb561eabb3c00f975838ebaddbeedbe55.tar.xz
Merge pull request #34 from infirit/master
Remove obsolete/autogenerated files and update EXTRA_DIST
Diffstat (limited to 'm4/as-compiler-flag.m4')
-rw-r--r--m4/as-compiler-flag.m433
1 files changed, 0 insertions, 33 deletions
diff --git a/m4/as-compiler-flag.m4 b/m4/as-compiler-flag.m4
deleted file mode 100644
index c828bf4..0000000
--- a/m4/as-compiler-flag.m4
+++ /dev/null
@@ -1,33 +0,0 @@
-dnl as-compiler-flag.m4 0.1.0
-
-dnl autostars m4 macro for detection of compiler flags
-
-dnl David Schleef <[email protected]>
-
-dnl $Id: as-compiler-flag.m4,v 1.1 2004/06/01 10:08:56 thomasvs Exp $
-
-dnl AS_COMPILER_FLAG(CFLAGS, ACTION-IF-ACCEPTED, [ACTION-IF-NOT-ACCEPTED])
-dnl Tries to compile with the given CFLAGS.
-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_MSG_CHECKING([to see if compiler understands $1])
-
- save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $1"
-
- AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
- CFLAGS="$save_CFLAGS"
-
- if test "X$flag_ok" = Xyes ; then
- $2
- true
- else
- $3
- true
- fi
- AC_MSG_RESULT([$flag_ok])
-])
-