summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac20
1 files changed, 18 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ec562b1c2..0eeb4df78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.460 2011/01/02 10:53:09 djm Exp $ 1# $Id: configure.ac,v 1.461 2011/01/03 21:16:29 djm Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) 17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
18AC_REVISION($Revision: 1.460 $) 18AC_REVISION($Revision: 1.461 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20 20
21AC_CONFIG_HEADER(config.h) 21AC_CONFIG_HEADER(config.h)
@@ -41,8 +41,24 @@ AC_PATH_PROG(TEST_MINUS_S_SH, bash)
41AC_PATH_PROG(TEST_MINUS_S_SH, ksh) 41AC_PATH_PROG(TEST_MINUS_S_SH, ksh)
42AC_PATH_PROG(TEST_MINUS_S_SH, sh) 42AC_PATH_PROG(TEST_MINUS_S_SH, sh)
43AC_PATH_PROG(SH, sh) 43AC_PATH_PROG(SH, sh)
44AC_PATH_PROG(GROFF, groff)
45AC_PATH_PROG(NROFF, nroff)
46AC_PATH_PROG(MANDOC, mandoc)
44AC_SUBST(TEST_SHELL,sh) 47AC_SUBST(TEST_SHELL,sh)
45 48
49dnl select manpage formatter
50if test "x$MANDOC" != "x" ; then
51 MANFMT="$MANDOC"
52elif test "x$NROFF" != "x" ; then
53 MANFMT="$NROFF -mandoc"
54elif test "x$GROFF" != "x" ; then
55 MANFMT="$GROFF -mandoc -Tascii"
56else
57 AC_MSG_WARN([no manpage formatted found])
58 MANFMT="false"
59fi
60AC_SUBST(MANFMT)
61
46dnl for buildpkg.sh 62dnl for buildpkg.sh
47AC_PATH_PROG(PATH_GROUPADD_PROG, groupadd, groupadd, 63AC_PATH_PROG(PATH_GROUPADD_PROG, groupadd, groupadd,
48 [/usr/sbin${PATH_SEPARATOR}/etc]) 64 [/usr/sbin${PATH_SEPARATOR}/etc])