Move DISTCHECK_CONFIGURE_FLAGS var to Makefile.am

DISTCHECK_CONFIGURE_FLAGS is an automake variable and is not properly
detected when it is inside configure.ac
This commit is contained in:
Nick Vinson 2012-12-02 02:59:40 -05:00
parent 7f14ef6bb1
commit db8d865e62
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,5 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
SUBDIRS = \
src \

View File

@ -237,8 +237,6 @@ AS_IF([test "x$enable_gtk_doc" = "xyes" -a "x$XSLTPROC" = x], [
AC_MSG_ERROR([*** GTK doc requested but xsltproc not found])
])
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
# ------------------------------------------------------------------------------
have_manpages=no
AC_ARG_ENABLE(manpages, AS_HELP_STRING([--disable-manpages], [disable manpages]))