From: djm Date: Wed, 29 Nov 2000 02:28:50 +0000 (+0000) Subject: - (djm) Patch from Pekka Savola to include a few X-Git-Tag: PRE-REORDER~135 X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/b3ec54b41d0beda1b7eef5c178608bb1a4644249 - (djm) Patch from Pekka Savola to include a few more manpage paths in fixpaths calls - (djm) Also add xauth path at Pekka's suggestion. --- diff --git a/ChangeLog b/ChangeLog index f72d7898..69698457 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,9 @@ [ssh-keygen.c ssh.h] print keytype when generating a key. reasonable defaults for RSA1/RSA/DSA keys. + - (djm) Patch from Pekka Savola to include a few + more manpage paths in fixpaths calls + - (djm) Also add xauth path at Pekka's suggestion. 20001125 - (djm) Give up privs when reading seed file diff --git a/Makefile.in b/Makefile.in index 6588b1b9..3e7d7a89 100644 --- a/Makefile.in +++ b/Makefile.in @@ -27,6 +27,7 @@ RANLIB=@RANLIB@ INSTALL=@INSTALL@ PERL=@PERL@ ENT=@ENT@ +XAUTH_PATH=@XAUTH_PATH@ LDFLAGS=-L. @LDFLAGS@ EXEEXT=@EXEEXT@ SSH_MODE= @SSHMODE@ @@ -49,7 +50,19 @@ MANPAGES = @MANTYPE@ CONFIGFILES=sshd_config ssh_config primes -PATHSUBS = -D/etc/ssh_config=$(sysconfdir)/ssh_config -D/etc/ssh_known_hosts=$(sysconfdir)/ssh_known_hosts -D/etc/sshd_config=$(sysconfdir)/sshd_config -D/usr/libexec=$(libexecdir) -D/etc/shosts.equiv=$(sysconfdir)/shosts.equiv -D/etc/ssh_host_key=$(sysconfdir)/ssh_host_key -D/etc/ssh_host_dsa_key=$(sysconfdir)/ssh_host_dsa_key -D/etc/ssh_host_rsa_key=$(sysconfdir)/ssh_host_rsa_key -D/var/run/sshd.pid=$(piddir)/sshd.pid -D/etc/primes=$(sysconfdir)/primes +PATHSUBS = \ + -D/etc/ssh_config=$(sysconfdir)/ssh_config \ + -D/etc/ssh_known_hosts=$(sysconfdir)/ssh_known_hosts \ + -D/etc/sshd_config=$(sysconfdir)/sshd_config \ + -D/usr/libexec=$(libexecdir) \ + -D/etc/shosts.equiv=$(sysconfdir)/shosts.equiv \ + -D/etc/ssh_host_key=$(sysconfdir)/ssh_host_key \ + -D/etc/ssh_host_dsa_key=$(sysconfdir)/ssh_host_dsa_key \ + -D/etc/ssh_host_rsa_key=$(sysconfdir)/ssh_host_rsa_key \ + -D/var/run/sshd.pid=$(piddir)/sshd.pid \ + -D/etc/primes=$(sysconfdir)/primes \ + -D/etc/sshrc=$(sysconfdir)/sshrc \ + -D/usr/X11R6/bin/xauth=$(XAUTH_PATH) FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS) diff --git a/configure.in b/configure.in index 01c54101..50e9d47e 100644 --- a/configure.in +++ b/configure.in @@ -936,8 +936,13 @@ AC_ARG_WITH(xauth, ] ) -if test ! -z "$xauth_path" ; then +if test -z "$xauth_path" ; then + XAUTH_PATH="undefined" + AC_SUBST(XAUTH_PATH) +else AC_DEFINE_UNQUOTED(XAUTH_PATH, "$xauth_path") + XAUTH_PATH=$xauth_path + AC_SUBST(XAUTH_PATH) fi if test ! -z "$rsh_path" ; then AC_DEFINE_UNQUOTED(RSH_PATH, "$rsh_path")