]> Savannah Git Hosting - gnulib.git/commitdiff
sys_ioctl: Simplify.
authorBruno Haible <bruno@clisp.org>
Sun, 16 Aug 2020 09:00:36 +0000 (11:00 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 16 Aug 2020 09:00:36 +0000 (11:00 +0200)
* m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H): Remove confusing use of
AC_INCLUDES_DEFAULT.

ChangeLog
m4/sys_ioctl_h.m4

index ef0c8f88b2a21f826156430e22a815e5261c9703..3325c156e58e2a901f1ce78becac1e1acaf9b3dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 2020-08-16  Bruno Haible  <bruno@clisp.org>
 
        Fix quoting of AC_LANG_SOURCE arguments.
index 303820ef349b919cb855c06369611b000a840180..cd2735e3062ec0c23e4e463d3f270236208431d5 100644 (file)
@@ -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])