From 459016a20c4d04af04e574eeeb9e298ea52c7266 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 21 Jan 2008 19:17:08 +0000 Subject: From QPID-752 by Ed Hill: configure checks for help2man. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@613978 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpp/configure.ac') diff --git a/cpp/configure.ac b/cpp/configure.ac index 1a81b8831e..6de1472aa0 100644 --- a/cpp/configure.ac +++ b/cpp/configure.ac @@ -24,7 +24,9 @@ AC_PROG_CXX AC_USE_SYSTEM_EXTENSIONS AC_LANG([C++]) -AM_MISSING_PROG([HELP2MAN], [help2man]) +# AM_MISSING_PROG([HELP2MAN], [help2man]) +AC_CHECK_PROG([HELP2MAN], [help2man], [help2man]) +test -z "$HELP2MAN" && AC_MSG_ERROR([Missing help2man installation (try "yum install help2man").]) AC_ARG_ENABLE(warnings, [ --enable-warnings turn on lots of compiler warnings (recommended)], -- cgit v1.2.1