From: Richard W.M. Jones Date: Tue, 23 Nov 2010 18:42:28 +0000 (+0000) Subject: build: Move po4a detection up near other program detection. X-Git-Tag: 1.7.13~16 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=72932bd0c94aa18c6054e7b70b852918f3b01293;hp=b9bd24b943f22f07b2ed5bf7edeab89bc8028f7e build: Move po4a detection up near other program detection. --- diff --git a/configure.ac b/configure.ac index d0733f4..8389390 100644 --- a/configure.ac +++ b/configure.ac @@ -222,6 +222,10 @@ dnl Check for optional xmllint. AC_CHECK_PROG([XMLLINT],[xmllint],[xmllint],[no]) AM_CONDITIONAL([HAVE_XMLLINT],[test "x$XMLLINT" != "xno"]) +dnl po4a for translating man pages and POD files (optional). +AC_CHECK_PROG([PO4A],[po4a],[po4a],[no]) +AM_CONDITIONAL([HAVE_PO4A], [test "x$PO4A" != "xno"]) + dnl Check for QEMU for running binaries on this $host_cpu, fall dnl back to basic 'qemu'. Allow the user to override it. default_qemu="qemu-kvm kvm qemu-system-$host_cpu qemu" @@ -809,10 +813,6 @@ AS_IF([test "x$PERL" != "xno"], AM_CONDITIONAL([HAVE_TOOLS], [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes"]) -dnl po4a for translating man pages and POD files (optional). -AC_CHECK_PROG([PO4A],[po4a],[po4a],[no]) -AM_CONDITIONAL([HAVE_PO4A], [test "x$PO4A" != "xno"]) - dnl Library versioning. MAX_PROC_NR=`cat $srcdir/src/MAX_PROC_NR` AC_SUBST(MAX_PROC_NR)