[Makefile.in configure.ac] replace fixpath with sed script. Patch by Mo DeJong.

This commit is contained in:
Tim Rice 2003-01-08 17:22:59 -08:00
parent 2047b3bdf6
commit d0d7a8b27b
3 changed files with 23 additions and 19 deletions

View File

@ -15,6 +15,8 @@
markus@ ok markus@ ok
- (djm) Update README to reflect AIX's status as a well supported platform. - (djm) Update README to reflect AIX's status as a well supported platform.
From dtucker@zip.com.au From dtucker@zip.com.au
- (tim) [Makefile.in configure.ac] replace fixpath with sed script. Patch
by Mo DeJong.
20030107 20030107
- (djm) Bug #401: Work around Linux breakage with IPv6 mapped addresses. - (djm) Bug #401: Work around Linux breakage with IPv6 mapped addresses.
@ -960,4 +962,4 @@
save auth method before monitor_reset_key_state(); bugzilla bug #284; save auth method before monitor_reset_key_state(); bugzilla bug #284;
ok provos@ ok provos@
$Id: ChangeLog,v 1.2554 2003/01/08 12:28:40 djm Exp $ $Id: ChangeLog,v 1.2555 2003/01/09 01:22:59 tim Exp $

View File

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.222 2002/07/14 17:02:21 tim Exp $ # $Id: Makefile.in,v 1.223 2003/01/09 01:22:59 tim Exp $
# uncomment if you run a non bourne compatable shell. Ie. csh # uncomment if you run a non bourne compatable shell. Ie. csh
#SHELL = @SH@ #SHELL = @SH@
@ -48,6 +48,7 @@ AR=@AR@
RANLIB=@RANLIB@ RANLIB=@RANLIB@
INSTALL=@INSTALL@ INSTALL=@INSTALL@
PERL=@PERL@ PERL=@PERL@
SED=@SED@
ENT=@ENT@ ENT=@ENT@
XAUTH_PATH=@XAUTH_PATH@ XAUTH_PATH=@XAUTH_PATH@
LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@ LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@
@ -74,23 +75,23 @@ CONFIGFILES=sshd_config.out ssh_config.out moduli.out
CONFIGFILES_IN=sshd_config ssh_config moduli CONFIGFILES_IN=sshd_config ssh_config moduli
PATHSUBS = \ PATHSUBS = \
-D/etc/ssh/ssh_prng_cmds=$(sysconfdir)/ssh_prng_cmds \ -e 's|/etc/ssh/ssh_prng_cmds|$(sysconfdir)/ssh_prng_cmds|g' \
-D/etc/ssh/ssh_config=$(sysconfdir)/ssh_config \ -e 's|/etc/ssh/ssh_config|$(sysconfdir)/ssh_config|g' \
-D/etc/ssh/ssh_known_hosts=$(sysconfdir)/ssh_known_hosts \ -e 's|/etc/ssh/ssh_known_hosts|$(sysconfdir)/ssh_known_hosts|g' \
-D/etc/ssh/sshd_config=$(sysconfdir)/sshd_config \ -e 's|/etc/ssh/sshd_config|$(sysconfdir)/sshd_config|g' \
-D/usr/libexec=$(libexecdir) \ -e 's|/usr/libexec|$(libexecdir)|g' \
-D/etc/shosts.equiv=$(sysconfdir)/shosts.equiv \ -e 's|/etc/shosts.equiv|$(sysconfdir)/shosts.equiv|g' \
-D/etc/ssh/ssh_host_key=$(sysconfdir)/ssh_host_key \ -e 's|/etc/ssh/ssh_host_key|$(sysconfdir)/ssh_host_key|g' \
-D/etc/ssh/ssh_host_dsa_key=$(sysconfdir)/ssh_host_dsa_key \ -e 's|/etc/ssh/ssh_host_dsa_key|$(sysconfdir)/ssh_host_dsa_key|g' \
-D/etc/ssh/ssh_host_rsa_key=$(sysconfdir)/ssh_host_rsa_key \ -e 's|/etc/ssh/ssh_host_rsa_key|$(sysconfdir)/ssh_host_rsa_key|g' \
-D/var/run/sshd.pid=$(piddir)/sshd.pid \ -e 's|/var/run/sshd.pid|$(piddir)/sshd.pid|g' \
-D/etc/ssh/moduli=$(sysconfdir)/moduli \ -e 's|/etc/ssh/moduli|$(sysconfdir)/moduli|g' \
-D/etc/ssh/sshrc=$(sysconfdir)/sshrc \ -e 's|/etc/sshrc|$(sysconfdir)/sshrc|g' \
-D/usr/X11R6/bin/xauth=$(XAUTH_PATH) \ -e 's|/usr/X11R6/bin/xauth|$(XAUTH_PATH)|g' \
-D/var/empty=$(PRIVSEP_PATH) \ -e 's|/var/empty|$(PRIVSEP_PATH)|g' \
-D/usr/bin:/bin:/usr/sbin:/sbin=@user_path@ -e 's|/usr/bin:/bin:/usr/sbin:/sbin|@user_path@|g'
FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS) FIXPATHSCMD = $(SED) $(PATHSUBS)
all: $(CONFIGFILES) $(MANPAGES) $(TARGETS) all: $(CONFIGFILES) $(MANPAGES) $(TARGETS)

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.96 2003/01/07 13:06:48 djm Exp $ # $Id: configure.ac,v 1.97 2003/01/09 01:22:59 tim Exp $
AC_INIT AC_INIT
AC_CONFIG_SRCDIR([ssh.c]) AC_CONFIG_SRCDIR([ssh.c])
@ -14,6 +14,7 @@ AC_PROG_RANLIB
AC_PROG_INSTALL AC_PROG_INSTALL
AC_PATH_PROG(AR, ar) AC_PATH_PROG(AR, ar)
AC_PATH_PROGS(PERL, perl5 perl) AC_PATH_PROGS(PERL, perl5 perl)
AC_PATH_PROG(SED, sed)
AC_SUBST(PERL) AC_SUBST(PERL)
AC_PATH_PROG(ENT, ent) AC_PATH_PROG(ENT, ent)
AC_SUBST(ENT) AC_SUBST(ENT)