|
|
@ -144,35 +144,6 @@ dnl ********************************** |
|
|
|
XDT_CHECK_OPTIONAL_PACKAGE([GIO_UNIX], [gio-unix-2.0], |
|
|
|
[2.18.0], [gio-unix], [GIO UNIX features]) |
|
|
|
|
|
|
|
dnl *************************************************** |
|
|
|
dnl *** Check if we need to build the documentation *** |
|
|
|
dnl *************************************************** |
|
|
|
AC_ARG_ENABLE([gen-doc], [AC_HELP_STRING([--enable-gen-doc], |
|
|
|
[Generate HTML documentation (requires gnome-doc-utils) [default=no]])],, |
|
|
|
[enable_gen_doc=no]) |
|
|
|
if test x"$enable_gen_doc" = x"yes"; then |
|
|
|
XDT_CHECK_PACKAGE([GNOME_DOC_UTILS], [gnome-doc-utils], [0.19.2], |
|
|
|
[ |
|
|
|
AC_PATH_PROG([XML2PO], [xml2po], [no]) |
|
|
|
if test x"$XML2PO" = x"no"; then |
|
|
|
enable_gen_doc=no |
|
|
|
fi |
|
|
|
|
|
|
|
AC_PATH_PROG([GNOME_DOC_TOOL], [gnome-doc-tool], [no]) |
|
|
|
if test x"$GNOME_DOC_TOOL" = x"no"; then |
|
|
|
enable_gen_doc=no |
|
|
|
fi |
|
|
|
], |
|
|
|
[ |
|
|
|
enable_gen_doc=no |
|
|
|
]) |
|
|
|
|
|
|
|
if test x"$enable_gen_doc" = x"no"; then |
|
|
|
AC_MSG_ERROR([Compiling with --enable-gen-doc but no suitable gnome-doc-utils found.]) |
|
|
|
fi |
|
|
|
fi |
|
|
|
AM_CONDITIONAL([GENERATE_DOCUMENTATION], [test x"$enable_gen_doc" = x"yes"]) |
|
|
|
|
|
|
|
dnl ************************* |
|
|
|
dnl *** Check for gtk-doc *** |
|
|
|
dnl ************************* |
|
|
@ -245,9 +216,6 @@ AC_OUTPUT([ |
|
|
|
Makefile |
|
|
|
common/Makefile |
|
|
|
docs/Makefile |
|
|
|
docs/manual/Makefile |
|
|
|
docs/manual/figures/Makefile |
|
|
|
docs/manual/po/Makefile |
|
|
|
docs/references/Makefile |
|
|
|
docs/references/version.xml |
|
|
|
icons/Makefile |
|
|
@ -287,11 +255,4 @@ echo "Build Configuration:" |
|
|
|
echo |
|
|
|
echo "* Debug Support: $enable_debug" |
|
|
|
echo "* GNU Visibility: $have_gnuc_visibility" |
|
|
|
if test x"$enable_gen_doc" = x"yes"; then |
|
|
|
echo "* Documentation: yes (generate)" |
|
|
|
elif test -d "${srcdir}/docs/manual/html"; then |
|
|
|
echo "* Documentation: yes (in tarball)" |
|
|
|
else |
|
|
|
echo "* Documentation: no" |
|
|
|
fi |
|
|
|
echo |
|
|
|