summaryrefslogtreecommitdiff
path: root/m4/_xine.m4
diff options
context:
space:
mode:
authorDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-19 02:40:09 +0100
committerDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-19 02:40:09 +0100
commit164bbe5a9cf846903b166e37df087a4b9c8b363a (patch)
treeb1b14d7b834da919445e882abbf5a894bd2a8e84 /m4/_xine.m4
parentfde0f38a10e94f385870c021b27bcdd1891c3b7b (diff)
downloadxine-lib-164bbe5a9cf846903b166e37df087a4b9c8b363a.tar.gz
xine-lib-164bbe5a9cf846903b166e37df087a4b9c8b363a.tar.bz2
Create a new macro CC_NOUNDEFINED to check for the -z defs flag or
equivalent. I wanted this because I'm going to reuse attribute.m4 with that macro for a couple other projects. This also removes AC_TRY_LDFLAGS since it's not used any longer (replaced by CC_CHECK_LDFLAGS, which also caches results).
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 3ebbb028d..900b57da5 100644
--- a/m4/_xine.m4
+++ b/m4/_xine.m4
@@ -157,21 +157,6 @@ AC_DEFUN([AC_TRY_CFLAGS],
ifelse([$3],[],[:],[$3])
fi])
-dnl AC_TRY_LDFLAGS (CFLAGS, [ACTION-IF-WORKS], [ACTION-IF-FAILS])
-dnl check if $CC supports a given set of ldflags
-AC_DEFUN([AC_TRY_LDFLAGS],
- [AC_MSG_CHECKING([if $CC supports $1 flags])
- SAVE_LDFLAGS="$LDFLAGS"
- LDFLAGS="$1"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[ac_cv_try_ldflags_ok=yes],[ac_cv_try_ldflags_ok=no])
- LDFLAGS="$SAVE_LDFLAGS"
- AC_MSG_RESULT([$ac_cv_try_ldflags_ok])
- if test x"$ac_cv_try_ldflags_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],