Change-Id: I302691403e714eb2c42b8bd10438c5143308b0f8
--- /dev/null
+diff --git a/configure.ac b/configure.ac
+index 53d25b8..e4d1046 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -151,7 +151,9 @@ m4_ifndef([PKG_PROG_PKG_CONFIG],
+ ./autogen.sh or autoreconf again.])])
+ PKG_PROG_PKG_CONFIG
+
+-GTK_DOC_CHECK([1.10])
++AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
++AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
++
+ AC_PATH_PROG([XSLTPROC], [xsltproc])
+
+ linux_os=no
Source14: su.pamd
Source15: su.default
Source51: blkid.conf
+
+Source100: disable_gtk_doc.patch
Source1001: util-linux.manifest
Requires(pre): /usr/bin/sed
#
# nologin
cp %{S:2} %{S:3} .
+%{__patch} -p1 < %{SOURCE100}
+
%build
autoreconf -fi