]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Fix autoheader warnings
authorDongyang Li <dongyangli@ddn.com>
Wed, 6 Mar 2019 22:59:55 +0000 (22:59 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 7 Mar 2019 21:09:20 +0000 (16:09 -0500)
autoheader complains after 1.44.6 release:
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

This could fail automatic rpm builds.
Fixes: 7154d97 ("Check for the newer blkid functions without adding blkid to @LIBS@")
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
configure.ac
lib/config.h.in

index 0de90573b85035cffb6249cdb03b2fbf4c4cb019..04e1994453aa7ce5cc4df27033179bbff74f0d4d 100644 (file)
@@ -1118,9 +1118,11 @@ 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 has 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 has blkid_probe_enable_partitions]))
 fi
 dnl
 if test -n "$DLOPEN_LIB" ; then
index 67a05481ce8226759f3e4c4df1ebe76b321bb446..5165c904a7150d2fe576b5b11dda63698cfb955d 100644 (file)
 /* Define to 1 if you have the `backtrace' function. */
 #undef HAVE_BACKTRACE
 
-/* Define to 1 if you have the `blkid_probe_enable_partitions' function. */
+/* Define to 1 if blkid has blkid_probe_enable_partitions */
 #undef HAVE_BLKID_PROBE_ENABLE_PARTITIONS
 
-/* Define to 1 if you have the `blkid_probe_get_topology' function. */
+/* Define to 1 if blkid has blkid_probe_get_topology */
 #undef HAVE_BLKID_PROBE_GET_TOPOLOGY
 
 /* Define to 1 if the compiler understands __builtin_expect. */