[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sys_ioctl: simplify
From: |
Bruno Haible |
Subject: |
sys_ioctl: simplify |
Date: |
Sun, 16 Aug 2020 11:02:35 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-186-generic; KDE/5.18.0; x86_64; ; ) |
This use of AC_INCLUDES_DEFAULT looks like a typo. But it is an intentional
no-op. Weird.
2020-08-16 Bruno Haible <bruno@clisp.org>
sys_ioctl: Simplify.
* m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H): Remove confusing use of
AC_INCLUDES_DEFAULT.
diff --git a/m4/sys_ioctl_h.m4 b/m4/sys_ioctl_h.m4
index 303820e..cd2735e 100644
--- a/m4/sys_ioctl_h.m4
+++ b/m4/sys_ioctl_h.m4
@@ -1,4 +1,4 @@
-# sys_ioctl_h.m4 serial 10
+# sys_ioctl_h.m4 serial 11
dnl Copyright (C) 2008-2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -22,7 +22,7 @@ AC_DEFUN([gl_SYS_IOCTL_H],
[dnl We cannot use AC_CHECK_DECL because it produces its own messages.
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
- [AC_INCLUDES_DEFAULT([#include <sys/ioctl.h>])],
+ [[#include <sys/ioctl.h>]],
[(void) ioctl;])],
[gl_cv_decl_ioctl_in_sys_ioctl_h=yes],
[gl_cv_decl_ioctl_in_sys_ioctl_h=no])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- sys_ioctl: simplify,
Bruno Haible <=