Permalink
Browse files

Fix usage of directory "doc/reference" missing even it is used in con…

…figure.ac. Automake hangs here if called with autoreconf.

Also the configure option --enable-gtk-doc does not work due to this missing directory.

Solve this issue by using AM_CONDITIONAL() to enable the "gtk-doc"-compile feature properly.

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
  • Loading branch information...
1 parent 39aca0d commit 8e11c25934d93aff52f65ffa80b994f571a781e8 Guido Scholz committed with Aug 5, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 configure.ac
View
@@ -341,6 +341,8 @@ dnl correct flags to aclocal.
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
AC_SUBST(ACLOCAL_AMFLAGS)
+AM_CONDITIONAL(VIKING_DOC, test x${enable_gtk_doc} = xyes)
+
# Configuration
AC_CONFIG_FILES([Makefile
src/Makefile
@@ -350,10 +352,8 @@ AC_CONFIG_FILES([Makefile
help/Makefile
data/Makefile
doc/Makefile
+ doc/reference/Makefile
doc/examples/Makefile])
-if test x$enable_gtk_doc = xyes; then
-AC_CONFIG_FILES([doc/reference/Makefile])
-fi
AC_OUTPUT([
viking.spec
])

0 comments on commit 8e11c25

Please sign in to comment.