From 6f2a8f57aa686c68afa1a9a55d53746806a74a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20E=2E=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 19 Nov 2008 02:46:31 +0100 Subject: 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. --- m4/_xine.m4 | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'm4/_xine.m4') 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], -- cgit v1.2.3