summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vinson <nvinson234@gmail.com>2012-12-02 02:59:40 -0500
committerNick Vinson <nvinson234@gmail.com>2012-12-08 11:46:18 -0500
commitdb8d865e622196b63eddf65e88fb6385779d2491 (patch)
tree17b698f949e35d3f41ca29005dd5cf22628b55be
parent7f14ef6bb1ef188213a310c1a568ff1b6f7a6b32 (diff)
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
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac2
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 3bed25ce40..60e3ce90f1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,5 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
SUBDIRS = \
src \
diff --git a/configure.ac b/configure.ac
index a994a5c1c9..75cc635032 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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]))