From: Harlan Stenn Date: Tue, 12 Oct 2010 02:36:49 +0000 (-0400) Subject: [Bug 1660]: On some systems, test is in /usr/bin, not /bin X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae97907ddbb05714ae4ed489b41fbb749c6ff33f;p=thirdparty%2Fntp.git [Bug 1660]: On some systems, test is in /usr/bin, not /bin bk: 4cb3c9c16DaIIKR6x7Hmf9IZUfj6wg --- diff --git a/ChangeLog b/ChangeLog index 2b0538378a..12cb85f991 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * [Bug 1643]: Range-check the decoding of the RIPE-NCC status codes. * [Bug 1644]: cvo.sh should use lsb_release to identify linux distros. +* [Bug 1660]: On some systems, test is in /usr/bin, not /bin. --- (4.2.6p3-RC2) 2010/09/25 Released by Harlan Stenn diff --git a/Makefile.am b/Makefile.am index 8b1b224097..96df9459e9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -167,7 +167,7 @@ dist-hook: CommitLog: FRC.CommitLog cd $(srcdir) \ - && /bin/test -e CommitLog \ + && $(PATH_TEST) -e CommitLog \ -a SCCS/s.ChangeSet -ot CommitLog \ || scripts/genCommitLog diff --git a/configure.ac b/configure.ac index 32fd39cb57..5f57818f9a 100644 --- a/configure.ac +++ b/configure.ac @@ -331,8 +331,10 @@ AC_PROG_LN_S AC_PROG_GCC_TRADITIONAL AC_C_VOLATILE AC_ISC_POSIX -AC_PATH_PROG(PATH_SH, sh) + AC_PATH_PROG(PATH_PERL, perl) +AC_PATH_PROG(PATH_SH, sh) +AC_PATH_PROG(PATH_TEST, test) AC_ARG_WITH(net-snmp-config, AC_HELP_STRING([--with-net-snmp-config], [+ =net-snmp-config]),