mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
configure: make --enable-dmfilemapd require fiemap.h
This commit is contained in:
parent
66fff1d774
commit
af7a11bc57
12
configure
vendored
12
configure
vendored
@ -12093,6 +12093,17 @@ BUILD_DMFILEMAPD=$DMFILEMAPD
|
|||||||
$as_echo "#define DMFILEMAPD 1" >>confdefs.h
|
$as_echo "#define DMFILEMAPD 1" >>confdefs.h
|
||||||
|
|
||||||
|
|
||||||
|
if test "$DMFILEMAPD" = yes; then
|
||||||
|
ac_fn_c_check_header_mongrel "$LINENO" "linux/fiemap.h" "ac_cv_header_linux_fiemap_h" "$ac_includes_default"
|
||||||
|
if test "x$ac_cv_header_linux_fiemap_h" = xyes; then :
|
||||||
|
|
||||||
|
else
|
||||||
|
as_fn_error $? "--enable-dmfilemapd requires fiemap.h" "$LINENO" 5
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build notifydbus" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build notifydbus" >&5
|
||||||
$as_echo_n "checking whether to build notifydbus... " >&6; }
|
$as_echo_n "checking whether to build notifydbus... " >&6; }
|
||||||
@ -15159,7 +15170,6 @@ done
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
||||||
# Extract the first word of "${ac_tool_prefix}modprobe", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}modprobe", so it can be a program name with args.
|
||||||
|
@ -1281,6 +1281,11 @@ AC_MSG_RESULT($DMFILEMAPD)
|
|||||||
BUILD_DMFILEMAPD=$DMFILEMAPD
|
BUILD_DMFILEMAPD=$DMFILEMAPD
|
||||||
AC_DEFINE([DMFILEMAPD], 1, [Define to 1 to enable the device-mapper filemap daemon.])
|
AC_DEFINE([DMFILEMAPD], 1, [Define to 1 to enable the device-mapper filemap daemon.])
|
||||||
|
|
||||||
|
dnl -- dmfilemapd requires FIEMAP
|
||||||
|
if test "$DMFILEMAPD" = yes; then
|
||||||
|
AC_CHECK_HEADER([linux/fiemap.h], , [AC_MSG_ERROR(--enable-dmfilemapd requires fiemap.h)])
|
||||||
|
fi
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
dnl -- Build notifydbus
|
dnl -- Build notifydbus
|
||||||
AC_MSG_CHECKING(whether to build notifydbus)
|
AC_MSG_CHECKING(whether to build notifydbus)
|
||||||
|
Loading…
Reference in New Issue
Block a user