From b504132bfce9685e797c56280033e8d0c4073aec Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 16 Aug 2020 11:00:36 +0200 Subject: [PATCH] sys_ioctl: Simplify. * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H): Remove confusing use of AC_INCLUDES_DEFAULT. --- ChangeLog | 6 ++++++ m4/sys_ioctl_h.m4 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ef0c8f88b2..3325c156e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-08-16 Bruno Haible + + sys_ioctl: Simplify. + * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H): Remove confusing use of + AC_INCLUDES_DEFAULT. + 2020-08-16 Bruno Haible Fix quoting of AC_LANG_SOURCE arguments. diff --git a/m4/sys_ioctl_h.m4 b/m4/sys_ioctl_h.m4 index 303820ef34..cd2735e306 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 ])], + [[#include ]], [(void) ioctl;])], [gl_cv_decl_ioctl_in_sys_ioctl_h=yes], [gl_cv_decl_ioctl_in_sys_ioctl_h=no]) -- 2.39.5