e2fsprogs/configure-Fix-autoheader-failure.patch

38 lines
1.3 KiB
Diff

From 55c4bbfe8f1e9f2f76811775c77e99bf3dde3534 Mon Sep 17 00:00:00 2001
From: Jan Kara <jack@suse.cz>
Date: Fri, 29 Mar 2019 17:32:52 +0100
Subject: [PATCH] configure: Fix autoheader failure
Autoheader reports:
autoheader: warning: missing template: HAVE_BLKID_PROBE_ENABLE_PARTITIONS
autoheader: Use AC_DEFINE([HAVE_BLKID_PROBE_ENABLE_PARTITIONS], [], [Description])
autoheader: warning: missing template: HAVE_BLKID_PROBE_GET_TOPOLOGY
so provide appropriate descriptions for the defines.
Signed-off-by: Jan Kara <jack@suse.cz>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 248b291dd0d2..290f93ebdf2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1119,9 +1119,9 @@ dnl the functions added after migrating that library to util-linux
dnl
if test -n "$BLKID_CMT"; then
AC_CHECK_LIB(blkid, blkid_probe_get_topology,
- AC_DEFINE(HAVE_BLKID_PROBE_GET_TOPOLOGY, 1))
+ AC_DEFINE(HAVE_BLKID_PROBE_GET_TOPOLOGY, 1, [Define to 1 if blkid library provides blkid_probe_get_topology]))
AC_CHECK_LIB(blkid, blkid_probe_enable_partitions,
- AC_DEFINE(HAVE_BLKID_PROBE_ENABLE_PARTITIONS, 1))
+ AC_DEFINE(HAVE_BLKID_PROBE_ENABLE_PARTITIONS, 1, [Define to 1 if blkid library provides blkid_probe_enable_partitions]))
fi
dnl
if test -n "$DLOPEN_LIB" ; then
--
2.16.4