From: Todd C. Miller Date: Wed, 3 May 2017 17:32:56 +0000 (-0600) Subject: Move @CHECK_NOEXEC@ to TEST_PROGS so it gets cleaned up properly. X-Git-Tag: SUDO_1_8_20^2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecbf895097fce3a0b3f1a6f3a0a671d80d08d426;p=sudo Move @CHECK_NOEXEC@ to TEST_PROGS so it gets cleaned up properly. --- diff --git a/src/Makefile.in b/src/Makefile.in index aefd4a1f4..3a6ec60a2 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -104,7 +104,7 @@ INIT_DIR=@INIT_DIR@ INIT_SCRIPT=@INIT_SCRIPT@ RC_LINK=@RC_LINK@ -TEST_PROGS = check_ttyname +TEST_PROGS = check_ttyname @CHECK_NOEXEC@ TEST_LIBS = @LIBS@ $(LT_LIBS) TEST_LDFLAGS = @LDFLAGS@ @@ -233,7 +233,7 @@ splint: cppcheck: cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) $(srcdir)/*.c -check: $(TEST_PROGS) @CHECK_NOEXEC@ +check: $(TEST_PROGS) @if test X"$(cross_compiling)" != X"yes"; then \ ./check_ttyname; \ fi