tests/Makefile.am (dist_check_SCRIPTS): Make testing ping and traceroute conditioned on ENABLE_ping and ENABLE_traceroute.

Reported by Adam Sampson <ats@offog.org>.
This commit is contained in:
Simon Josefsson
2010-05-18 20:19:13 +02:00
parent 84ca748f0e
commit 9ad26dc320
2 changed files with 13 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2010-05-18 Simon Josefsson <simon@josefsson.org>
* tests/Makefile.am (dist_check_SCRIPTS): Make testing ping and
traceroute conditioned on ENABLE_ping and ENABLE_traceroute.
Reported by Adam Sampson <ats@offog.org>.
2010-05-15 Alfred M. Szmidt <ams@gnu.org>
* configure.ac: Bump version number to 1.8.

View File

@@ -21,7 +21,13 @@ AM_CPPFLAGS = -I$(top_srcdir)/libinetutils -I$(top_srcdir)/lib
LDADD = -L../libinetutils -linetutils ../lib/libgnu.a
check_PROGRAMS = localhost
dist_check_SCRIPTS = ping-localhost.sh traceroute-localhost.sh
dist_check_SCRIPTS =
if ENABLE_ping
dist_check_SCRIPTS += ping-localhost.sh
endif
if ENABLE_traceroute
dist_check_SCRIPTS += traceroute-localhost.sh
endif
TESTS = $(check_PROGRAMS) $(dist_check_SCRIPTS)
TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT)