From f5b6f977d4144c28e9c66f3f1c9d634d595d1117 Mon Sep 17 00:00:00 2001 From: Marko Myllynen Date: Fri, 23 Sep 2011 10:03:10 +0300 Subject: Unbreak ./configure ./configure at least from 1.5.13 is failing on Ubuntu Oneiric. The node ``Conditionals'' of automake manual states: Note that you must arrange for _every_ `AM_CONDITIONAL' to be invoked every time `configure' is run. If `AM_CONDITIONAL' is run conditionally (e.g., in a shell `if' statement), then the result will confuse `automake'. So the trick is to run AM_CONDITIONAL unconditionally. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 958fa1436..19ee498a4 100644 --- a/configure.ac +++ b/configure.ac @@ -144,8 +144,8 @@ if test x$HAVE_MANPAGES != x; then [http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl], [Docbook XSL templates]) AC_CHECK_PROG([PO4A],[po4a],[po4a],[no]) - AM_CONDITIONAL([HAVE_PO4A], [test "x$PO4A" != "xno"]) fi +AM_CONDITIONAL([HAVE_PO4A], [test "x$PO4A" != "xno"]) if test x$HAVE_PYTHON_BINDINGS != x; then AM_PATH_PYTHON([2.4]) -- cgit