You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcmis/0004-allow-setting-of-DOCBO...

40 lines
1.3 KiB

From 3432c259e32518ad676f4e912662ce018c77fd4f Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Wed, 19 Dec 2012 14:39:11 +0100
Subject: [PATCH 4/4] allow setting of DOCBOOK2MAN on configure cmdline
---
configure.ac | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
index e45d9c3..946c307 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,13 +66,15 @@ AC_ARG_WITH(man,
)
AS_IF([test "x$with_man" != "xno"], [
build_man=yes
- AC_PATH_PROG(DOCBOOK2MAN,[docbook-to-man])
- AS_IF([test -z "$DOCBOOK2MAN"], [
- AC_PATH_PROG(DOCBOOK2MAN,[docbook2man.pl])
- AS_IF([test -z "$DOCBOOK2MAN"], [
- AC_MSG_ERROR([docbook-to-man is missing. Install docbook2X package.])
- ])
- ])
+ AS_IF([test -z "$DOCBOOK2MAN"], [
+ AC_PATH_PROG(DOCBOOK2MAN,[docbook-to-man])
+ AS_IF([test -z "$DOCBOOK2MAN"], [
+ AC_PATH_PROG(DOCBOOK2MAN,[docbook2man.pl])
+ AS_IF([test -z "$DOCBOOK2MAN"], [
+ AC_MSG_ERROR([docbook-to-man is missing. Install docbook2X package.])
+ ])
+ ])
+ ])
], [build_man=no])
AC_SUBST(DOCBOOK2MAN)
AM_CONDITIONAL([WITH_LIBCMIS_MAN], [test "x$build_man" != "xno"])
--
1.8.0