summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac18
1 files changed, 9 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index e1882839..bbf267bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,15 +44,6 @@ AC_CHECK_SIZEOF([unsigned long])
AC_CHECK_SIZEOF([unsigned long long])
AC_CHECK_HEADERS([sys/mman.h sys/wait.h unistd.h])
-dnl Choose a default for the build_manual var. If the dist file is present in
-dnl the root then default to no, otherwise go for it.
-AC_CHECK_FILES( [$srcdir/DIST],
- [. $srcdir/DIST;],
- [build_manual=yes; ] )
-
-dnl Set to true if the manual should be built.
-AM_CONDITIONAL(BUILD_MANUAL, [test "x$build_manual" = "xyes"])
-
AC_CHECK_SIZEOF([long])
dnl Generic dependency specification.
@@ -97,6 +88,12 @@ AC_CHECK_PROG([ASCIIDOC], [asciidoc], [asciidoc])
AC_CHECK_PROG([PYGMENTIZE], [pygmentize], [pygmentize])
AM_CONDITIONAL([BUILD_MANUAL], [test "x$ASCIIDOC" != x && test "x$PYGMENTIZE" != x])
+dnl Choose a default for the build_manual var. If the dist file is present in
+dnl the root then default to no, otherwise go for it.
+AC_CHECK_FILES( [$srcdir/DIST],
+ [. $srcdir/DIST;],
+ [build_manual=yes; ] )
+
dnl
dnl Enable arg to explicitly control the building of the manual
dnl
@@ -130,6 +127,9 @@ if test "x$build_manual" = "xyes"; then
fi
fi
+dnl Set to true if the manual should be built.
+AM_CONDITIONAL(BUILD_MANUAL, [test "x$build_manual" = "xyes"])
+
dnl
dnl Build the program? ( no means just build libfsm )
dnl