summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-22 01:04:02 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-22 01:30:48 +0100
commit27f1e03661e2e9fb0862ccdf18b100c89481a718 (patch)
treee0afe9988b0ed8c606ae4b6878daa1da6d62d0f9 /m4
parentc5ab83a1cbfb5cae17717a3fe08d9f339181d813 (diff)
downloadgstreamer-plugins-bad-27f1e03661e2e9fb0862ccdf18b100c89481a718.tar.gz
m4: fix 'suspicious cache value id' warnings in gst-fionread.m4
And update common to pull in a related fix from there.
Diffstat (limited to 'm4')
-rw-r--r--m4/gst-fionread.m416
1 files changed, 8 insertions, 8 deletions
diff --git a/m4/gst-fionread.m4 b/m4/gst-fionread.m4
index dff19df9e..603aa4574 100644
--- a/m4/gst-fionread.m4
+++ b/m4/gst-fionread.m4
@@ -1,7 +1,7 @@
AC_DEFUN([GST_CHECK_FIONREAD], [
AC_MSG_CHECKING(for FIONREAD in sys/ioctl.h)
- AC_CACHE_VAL(GST_FIONREAD_IN_SYS_IOCTL, [
+ AC_CACHE_VAL(_cv_gst_fionread_in_sys_ioctl, [
AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/ioctl.h>
@@ -9,18 +9,18 @@ AC_DEFUN([GST_CHECK_FIONREAD], [
int x = FIONREAD;
if ( x )
return 0;
- ], GST_FIONREAD_IN_SYS_IOCTL="yes",GST_FIONREAD_IN_SYS_IOCTL="no")
+ ], _cv_gst_fionread_in_sys_ioctl="yes",_cv_gst_fionread_in_sys_ioctl="no")
])
- AC_MSG_RESULT($GST_FIONREAD_IN_SYS_IOCTL)
+ AC_MSG_RESULT($_cv_gst_fionread_in_sys_ioctl)
- if test "$GST_FIONREAD_IN_SYS_IOCTL" = "yes"; then
+ if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then
AC_DEFINE([HAVE_FIONREAD_IN_SYS_IOCTL], 1, [FIONREAD ioctl found in sys/ioclt.h])
else
AC_MSG_CHECKING(for FIONREAD in sys/filio.h)
- AC_CACHE_VAL(GST_FIONREAD_IN_SYS_FILIO, [
+ AC_CACHE_VAL(_cv_gst_fionread_in_sys_filio, [
AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/filio.h>
@@ -28,12 +28,12 @@ if ( x )
int x = FIONREAD;
if ( x )
return 0;
- ], GST_FIONREAD_IN_SYS_FILIO="yes",GST_FIONREAD_IN_SYS_FILIO="no")
+ ], _cv_gst_fionread_in_sys_filio="yes",_cv_gst_fionread_in_sys_filio="no")
])
- AC_MSG_RESULT($GST_FIONREAD_IN_SYS_FILIO)
+ AC_MSG_RESULT($_cv_gst_fionread_in_sys_filio)
- if test "$GST_FIONREAD_IN_SYS_FILIO" = "yes"; then
+ if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then
AC_DEFINE([HAVE_FIONREAD_IN_SYS_FILIO], 1, [FIONREAD ioctl found in sys/filio.h])
fi