summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKarel Zak2015-03-30 13:54:08 +0200
committerKarel Zak2015-03-30 13:54:08 +0200
commitf9c4d13891c1fbf1f8b29abfebe5e6403e2ba427 (patch)
treee54216287abb1ab7c3449ccfaf26dc4ca4c318d4 /configure.ac
parentmount: fix lazytime docs (diff)
downloadkernel-qcow2-util-linux-f9c4d13891c1fbf1f8b29abfebe5e6403e2ba427.tar.gz
kernel-qcow2-util-linux-f9c4d13891c1fbf1f8b29abfebe5e6403e2ba427.tar.xz
kernel-qcow2-util-linux-f9c4d13891c1fbf1f8b29abfebe5e6403e2ba427.zip
build-sys: define cfdisk dependence on open_memstream
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2749b3a90..a67342df6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -346,7 +346,6 @@ AC_CHECK_FUNCS([ \
mempcpy \
nanosleep \
ntp_gettime \
- open_memstream \
personality \
posix_fadvise \
prctl \
@@ -373,6 +372,7 @@ AC_CHECK_FUNCS([openat fstatat unlinkat], [have_openat=yes], [have_openat=no])
AC_CHECK_FUNCS([ioperm iopl], [have_io=yes])
AC_CHECK_FUNCS([futimens], [have_futimens=yes])
AC_CHECK_FUNCS([inotify_init1], [have_inotify_init1=yes])
+AC_CHECK_FUNCS([open_memstream], [have_open_memstream=yes],[have_open_memstream=no])
dnl lib/mononotic.c may require -lrt
AC_CHECK_FUNCS([clock_gettime], [],
@@ -961,6 +961,7 @@ AM_CONDITIONAL([BUILD_SFDISK], [test "x$build_sfdisk" = xyes])
UL_BUILD_INIT([cfdisk], [check])
UL_REQUIRES_BUILD([cfdisk], [libfdisk])
UL_REQUIRES_BUILD([cfdisk], [libsmartcols])
+UL_REQUIRES_HAVE([cfdisk], [open_memstream])
UL_REQUIRES_HAVE([cfdisk], [ncurses,slang], [ncurses or slang library])
AM_CONDITIONAL([BUILD_CFDISK], [test "x$build_cfdisk" = xyes])