summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2008-04-14 09:43:24 +0000
committerTim-Philipp Müller <tim@centricular.net>2008-04-14 09:43:24 +0000
commitf88ff852da7631ad2d0be835763da6d551a63883 (patch)
treeebfc1463965d8a129ba3ebbc94b9e2aa36fc437e
parentbdc5172b0ba183be6d92e58cb51782c23e9f2127 (diff)
m4/gst-function.m4: Rename AC_CACHE_VAL cache-ids to contain '_cv_' in order to make autoconf-2.62 complain less.
Original commit message from CVS: * m4/gst-function.m4: Rename AC_CACHE_VAL cache-ids to contain '_cv_' in order to make autoconf-2.62 complain less.
-rw-r--r--ChangeLog6
-rw-r--r--m4/gst-function.m436
2 files changed, 24 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index d1b0171..032c7c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
+
+ * m4/gst-function.m4:
+ Rename AC_CACHE_VAL cache-ids to contain '_cv_' in order to make
+ autoconf-2.62 complain less.
+
2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
* m4/gst-args.m4:
diff --git a/m4/gst-function.m4 b/m4/gst-function.m4
index 1216621..61adfd3 100644
--- a/m4/gst-function.m4
+++ b/m4/gst-function.m4
@@ -5,54 +5,54 @@ dnl
AC_DEFUN([AG_GST_CHECK_FUNCTION],[
dnl #1: __PRETTY_FUNCTION__
AC_MSG_CHECKING(whether $CC implements __PRETTY_FUNCTION__)
- AC_CACHE_VAL(have_pretty_function,[
+ AC_CACHE_VAL(gst_cv_have_pretty_function,[
AC_TRY_LINK([#include <stdio.h>],
[printf("%s", __PRETTY_FUNCTION__);],
- have_pretty_function=yes,
- have_pretty_function=no)
+ gst_cv_have_pretty_function=yes,
+ gst_cv_have_pretty_function=no)
])
- AC_MSG_RESULT($have_pretty_function)
- if test "$have_pretty_function" = yes; then
+ AC_MSG_RESULT($gst_cv_have_pretty_function)
+ if test "$gst_cv_have_pretty_function" = yes; then
AC_DEFINE(HAVE_PRETTY_FUNCTION, 1,
[defined if the compiler implements __PRETTY_FUNCTION__])
fi
dnl #2: __FUNCTION__
AC_MSG_CHECKING(whether $CC implements __FUNCTION__)
- AC_CACHE_VAL(have_function,[
+ AC_CACHE_VAL(gst_cv_have_function,[
AC_TRY_LINK([#include <stdio.h>],
[printf("%s", __FUNCTION__);],
- have_function=yes,
- have_function=no)
+ gst_cv_have_function=yes,
+ gst_cv_have_function=no)
])
- AC_MSG_RESULT($have_function)
- if test "$have_function" = yes; then
+ AC_MSG_RESULT($gst_cv_have_function)
+ if test "$gst_cv_have_function" = yes; then
AC_DEFINE(HAVE_FUNCTION, 1,
[defined if the compiler implements __FUNCTION__])
fi
dnl #3: __func__
AC_MSG_CHECKING(whether $CC implements __func__)
- AC_CACHE_VAL(have_func,[
+ AC_CACHE_VAL(gst_cv_have_func,[
AC_TRY_LINK([#include <stdio.h>],
[printf("%s", __func__);],
- have_func=yes,
- have_func=no)
+ gst_cv_have_func=yes,
+ gst_cv_have_func=no)
])
- AC_MSG_RESULT($have_func)
- if test "$have_func" = yes; then
+ AC_MSG_RESULT($gst_cv_have_func)
+ if test "$gst_cv_have_func" = yes; then
AC_DEFINE(HAVE_FUNC, 1,
[defined if the compiler implements __func__])
fi
dnl now define FUNCTION to whatever works, and fallback to ""
- if test "$have_pretty_function" = yes; then
+ if test "$gst_cv_have_pretty_function" = yes; then
function=__PRETTY_FUNCTION__
else
- if test "$have_function" = yes; then
+ if test "$gst_cv_have_function" = yes; then
function=__FUNCTION__
else
- if test "$have_func" = yes; then
+ if test "$gst_cv_have_func" = yes; then
function=__func__
else
function=\"\"