From e79334a2b06d4c897c4b764e5e94af72320e3ea9 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 29 Dec 1999 10:03:37 +1100 Subject: - Autodetect perl, patch from David Rankin --- ChangeLog | 2 ++ Makefile.in | 3 ++- configure.in | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a61a18cd6..680462f5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ - Applied another NetBSD portability patch from David Rankin - Fix --with-default-path option. + - Autodetect perl, patch from David Rankin + 19991228 - Replacement for getpagesize() for systems which lack it diff --git a/Makefile.in b/Makefile.in index 2f2e31e81..72ac0a81e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -25,6 +25,7 @@ LIBWRAP=@LIBWRAP@ AR=@AR@ RANLIB=@RANLIB@ INSTALL=@INSTALL@ +PERL=@PERL@ LDFLAGS=-L. @LDFLAGS@ GNOME_CFLAGS=`gnome-config --cflags gnome gnomeui` @@ -89,7 +90,7 @@ clean: *.1 *.8 sshd_config ssh_config manpages: - $(FIXPATHS) -Dsysconfdir=${sysconfdir} $(srcdir)/*.1.in $(srcdir)/*.8.in \ + $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} $(srcdir)/*.1.in $(srcdir)/*.8.in \ $(srcdir)/ssh_config.in $(srcdir)/sshd_config.in install: all diff --git a/configure.in b/configure.in index 6d03beca7..ae8afdf4d 100644 --- a/configure.in +++ b/configure.in @@ -9,6 +9,8 @@ AC_PROG_CPP AC_PROG_RANLIB AC_PROG_INSTALL AC_CHECK_PROG(AR, ar, ar) +AC_PATH_PROG(PERL, perl) +AC_SUBST(PERL) AC_PATH_PROG(xauth_path, xauth) dnl Use ip address instead of hostname in $DISPLAY -- cgit v1.2.3