summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-01-21 19:17:08 +0000
committerAlan Conway <aconway@apache.org>2008-01-21 19:17:08 +0000
commit459016a20c4d04af04e574eeeb9e298ea52c7266 (patch)
treed66b02cfc3c4e3fc1b0833f0315e7a71cc9530e0 /cpp
parent403b5a871b67f2939bbca2568c340c97f616edfe (diff)
downloadqpid-python-459016a20c4d04af04e574eeeb9e298ea52c7266.tar.gz
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
Diffstat (limited to 'cpp')
-rw-r--r--cpp/configure.ac4
1 files changed, 3 insertions, 1 deletions
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)],