summaryrefslogtreecommitdiff
path: root/m4/_xine.m4
diff options
context:
space:
mode:
authorDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-19 02:46:31 +0100
committerDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-19 02:46:31 +0100
commit6f2a8f57aa686c68afa1a9a55d53746806a74a01 (patch)
tree80d5adc3db44e06d7bd6f1f0deba52c324a66e9c /m4/_xine.m4
parent164bbe5a9cf846903b166e37df087a4b9c8b363a (diff)
downloadxine-lib-6f2a8f57aa686c68afa1a9a55d53746806a74a01.tar.gz
xine-lib-6f2a8f57aa686c68afa1a9a55d53746806a74a01.tar.bz2
Replace AC_TRY_CFLAGS usage with CC_CHECK_CFLAGS and remove the
former. The CC_CHECK_CFLAGS macro is already present in attributes.m4, so no need to keep the old version we had around, especially since the new one caches its results too.
Diffstat (limited to 'm4/_xine.m4')
-rw-r--r--m4/_xine.m415
1 files changed, 0 insertions, 15 deletions
diff --git a/m4/_xine.m4 b/m4/_xine.m4
index 900b57da5..0c840cd9d 100644
--- a/m4/_xine.m4
+++ b/m4/_xine.m4
@@ -142,21 +142,6 @@ AC_DEFUN([AC_CHECK_DXR3],
fi
])
-dnl AC_TRY_CFLAGS (CFLAGS, [ACTION-IF-WORKS], [ACTION-IF-FAILS])
-dnl check if $CC supports a given set of cflags
-AC_DEFUN([AC_TRY_CFLAGS],
- [AC_MSG_CHECKING([if $CC supports $1 flags])
- SAVE_CFLAGS="$CFLAGS"
- CFLAGS="$1"
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[ac_cv_try_cflags_ok=yes],[ac_cv_try_cflags_ok=no])
- CFLAGS="$SAVE_CFLAGS"
- AC_MSG_RESULT([$ac_cv_try_cflags_ok])
- if test x"$ac_cv_try_cflags_ok" = x"yes"; then
- ifelse([$2],[],[:],[$2])
- else
- ifelse([$3],[],[:],[$3])
- fi])
-
dnl AC_CHECK_GENERATE_INTTYPES_H (INCLUDE-DIRECTORY)
dnl generate a default inttypes.h if the header file does not exist already
AC_DEFUN([AC_CHECK_GENERATE_INTTYPES],