summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2002-07-17 19:20:07 -0700
committerTim Rice <tim@multitalents.net>2002-07-17 19:20:07 -0700
commite22be3b11ea1e5cb349665a3cbc57bc564f39ad7 (patch)
tree2b5ea95e4f1f1cabc9c6d7bde47c75d5af641dd7
parent2faabf3d798a8bab6d6b6a13c40e4c0d51bbf826 (diff)
[configure.ac] change how we do paths in AC_PATH_PROGS tests
for autoconf 2.53. Based on a patch by jrj@purdue.edu
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac12
2 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 7984d15b0..6aeb6f18f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
120020717 120020717
2 - (bal) aixbff package updated by dtucker@zip.com.au 2 - (bal) aixbff package updated by dtucker@zip.com.au
3 - (tim) [configure.ac] change how we do paths in AC_PATH_PROGS tests
4 for autoconf 2.53. Based on a patch by jrj@purdue.edu
3 5
420020716 620020716
5 - (tim) [contrib/solaris/opensshd.in] Only kill sshd if .pid file found 7 - (tim) [contrib/solaris/opensshd.in] Only kill sshd if .pid file found
@@ -1380,4 +1382,4 @@
1380 - (stevesk) entropy.c: typo in debug message 1382 - (stevesk) entropy.c: typo in debug message
1381 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 1383 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
1382 1384
1383$Id: ChangeLog,v 1.2372 2002/07/18 01:04:50 mouring Exp $ 1385$Id: ChangeLog,v 1.2373 2002/07/18 02:20:07 tim Exp $
diff --git a/configure.ac b/configure.ac
index 1fb3056e6..f94f6c848 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.79 2002/07/14 20:36:50 tim Exp $ 1# $Id: configure.ac,v 1.80 2002/07/18 02:20:08 tim Exp $
2 2
3AC_INIT 3AC_INIT
4AC_CONFIG_SRCDIR([ssh.c]) 4AC_CONFIG_SRCDIR([ssh.c])
@@ -1818,7 +1818,12 @@ AC_ARG_WITH(xauth,
1818 fi 1818 fi
1819 ], 1819 ],
1820 [ 1820 [
1821 AC_PATH_PROG(xauth_path, xauth,,$PATH:/usr/X/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/openwin/bin) 1821 TestPath="$PATH"
1822 TestPath="${TestPath}${PATH_SEPARATOR}/usr/X/bin"
1823 TestPath="${TestPath}${PATH_SEPARATOR}/usr/bin/X11"
1824 TestPath="${TestPath}${PATH_SEPARATOR}/usr/X11R6/bin"
1825 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin"
1826 AC_PATH_PROG(xauth_path, xauth, , $TestPath)
1822 if (test ! -z "$xauth_path" && test -x "/usr/openwin/bin/xauth") ; then 1827 if (test ! -z "$xauth_path" && test -x "/usr/openwin/bin/xauth") ; then
1823 xauth_path="/usr/openwin/bin/xauth" 1828 xauth_path="/usr/openwin/bin/xauth"
1824 fi 1829 fi
@@ -1872,7 +1877,8 @@ AC_ARG_WITH(mantype,
1872 ] 1877 ]
1873) 1878)
1874if test -z "$MANTYPE"; then 1879if test -z "$MANTYPE"; then
1875 AC_PATH_PROGS(NROFF, nroff awf, /bin/false, /usr/bin:/usr/ucb) 1880 TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb"
1881 AC_PATH_PROGS(NROFF, nroff awf, /bin/false, $TestPath)
1876 if ${NROFF} -mdoc ${srcdir}/ssh.1 >/dev/null 2>&1; then 1882 if ${NROFF} -mdoc ${srcdir}/ssh.1 >/dev/null 2>&1; then
1877 MANTYPE=doc 1883 MANTYPE=doc
1878 elif ${NROFF} -man ${srcdir}/ssh.1 >/dev/null 2>&1; then 1884 elif ${NROFF} -man ${srcdir}/ssh.1 >/dev/null 2>&1; then