summaryrefslogtreecommitdiff
path: root/m4/ioctl_request.m4
diff options
context:
space:
mode:
authorMatt Messier <mmessier@grapetv.org>2007-05-09 15:25:05 -0400
committerMatt Messier <mmessier@grapetv.org>2007-05-09 15:25:05 -0400
commit88cb45ef27eb73eec0731074d59bf051b2b35f4c (patch)
tree15d69b119d0d51e1dd3b76ff9f5490dd081e2ca4 /m4/ioctl_request.m4
parent93195afdbb3667f1e9d28a00fa2e03e0ae40c13b (diff)
downloadxine-lib-88cb45ef27eb73eec0731074d59bf051b2b35f4c.tar.gz
xine-lib-88cb45ef27eb73eec0731074d59bf051b2b35f4c.tar.bz2
Clean up input plugin configuration checks
-- Split input plugin checks out of configure.ac into m4/input.m4 -- Move m4/vcd.m4 (previously split out from configure.ac) into m4/input.m4 -- Fold m4/dl.m4 into configure.ac -- Various miscellaneous cleanups throughout configure.ac and m4/*.m4
Diffstat (limited to 'm4/ioctl_request.m4')
-rw-r--r--m4/ioctl_request.m426
1 files changed, 11 insertions, 15 deletions
diff --git a/m4/ioctl_request.m4 b/m4/ioctl_request.m4
index c6d12258e..b90559592 100644
--- a/m4/ioctl_request.m4
+++ b/m4/ioctl_request.m4
@@ -34,19 +34,15 @@ dnl well.
dnl Usage AC_IOCTL_REQUEST
AC_DEFUN([AC_IOCTL_REQUEST], [
- AC_CACHE_CHECK([type of request parameter for ioctl()],
- ac_cv_ioctl_request,
- [for ac_ioctl_request_type in "unsigned long" "int"
- do
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[
- #include <sys/ioctl.h>
- int ioctl(int fd, $ac_ioctl_request_type request, ...);
- ]], [[]])],[ac_cv_ioctl_request=$ac_ioctl_request_type],[])
- done])
-
- if test "x$ac_cv_ioctl_request" = "x"; then
- AC_MSG_ERROR([Unable to determine the type for ioctl() request parameter])
- fi
-
- AC_DEFINE_UNQUOTED([IOCTL_REQUEST_TYPE], $ac_cv_ioctl_request, [Type of the request parameter for ioctl()])
+ AC_CACHE_CHECK([type of request parameter for ioctl()], [ac_cv_ioctl_request], [
+ for ac_ioctl_request_type in "unsigned long" "int"; do
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sys/ioctl.h>
+ int ioctl(int fd, $ac_ioctl_request_type request, ...);]], [[]])],
+ [ac_cv_ioctl_request=$ac_ioctl_request_type], [])
+ done
+ if test "x$ac_cv_ioctl_request" = "x"; then
+ AC_MSG_ERROR([Unable to determine the type for ioctl() request parameter])
+ fi
+ ])
+ AC_DEFINE_UNQUOTED([IOCTL_REQUEST_TYPE], [$ac_cv_ioctl_request], [Type of the request parameter for ioctl()])
])