summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKarel Zak2016-06-08 13:38:48 +0200
committerKarel Zak2016-06-08 13:38:48 +0200
commitdb4e264574dd1b123476918979abcc739fa9d67a (patch)
tree880d4e50bbc13140e3e6715b3d2d5ea308e8aee8 /configure.ac
parentbuild-sys: add non-action for ncurses pkg-cong test (diff)
downloadkernel-qcow2-util-linux-db4e264574dd1b123476918979abcc739fa9d67a.tar.gz
kernel-qcow2-util-linux-db4e264574dd1b123476918979abcc739fa9d67a.tar.xz
kernel-qcow2-util-linux-db4e264574dd1b123476918979abcc739fa9d67a.zip
build-sys: workaround for autoconf "present but cannot be compiled"
See also: https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Present-But-Cannot-Be-Compiled.html Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 30940ba2b..2dbf592a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -216,7 +216,6 @@ AC_CHECK_HEADERS([ \
linux/fd.h \
linux/raw.h \
linux/tiocl.h \
- linux/gsmmux.h \
linux/version.h \
linux/securebits.h \
locale.h \
@@ -262,6 +261,12 @@ AC_CHECK_HEADERS([ \
utmp.h \
])
+AC_CHECK_HEADERS([linux/gsmmux.h ], [], [],
+ [#ifdef LINUX_GSMMUX_H
+ # include <linux/gsmmux.h>
+ #endif
+])
+
AC_CHECK_HEADERS([security/pam_misc.h],
[AM_CONDITIONAL([HAVE_LINUXPAM], [true])],
[AM_CONDITIONAL([HAVE_LINUXPAM], [false])], [