Make make dist work when /bin/sh != /bin/bash
This commit is contained in:
parent
618ddadeab
commit
2d38e37168
2 changed files with 15 additions and 12 deletions
|
@ -154,7 +154,7 @@ dnl Compiler hardening flags
|
|||
dnl No -fstack-protector-all because it doesn't work on all platforms or architectures.
|
||||
|
||||
AC_ARG_ENABLE([hardening], AS_HELP_STRING([--disable-hardening], [disable compiler and linker hardening flags]))
|
||||
AS_IF([test "x$enable_devel" == "xyes"],
|
||||
AS_IF([test "x$enable_devel" = "xyes"],
|
||||
[AX_CHECK_COMPILE_FLAG([-Werror=conditional-uninitialized], [CFLAGS="$CFLAGS -Werror=conditional-uninitialized"])
|
||||
AX_CHECK_COMPILE_FLAG([-Werror=uninitialized], [CFLAGS="$CFLAGS -Werror=uninitialized"])
|
||||
AX_CHECK_COMPILE_FLAG([-Werror=unused-variable], [CFLAGS="$CFLAGS -Werror=unused-variable"])
|
||||
|
|
|
@ -1,19 +1,22 @@
|
|||
|
||||
test_scripts = \
|
||||
basic.test \
|
||||
commandline.test \
|
||||
executables.test \
|
||||
import-export.test \
|
||||
invite-join.test \
|
||||
ns-ping.test \
|
||||
ping.test \
|
||||
sptps-basic.test \
|
||||
variables.test
|
||||
|
||||
TESTS = \
|
||||
simple \
|
||||
basic.test \
|
||||
commandline.test \
|
||||
executables.test \
|
||||
import-export.test \
|
||||
invite-join.test \
|
||||
ns-ping.test \
|
||||
ping.test \
|
||||
sptps-basic.test \
|
||||
variables.test
|
||||
simple \
|
||||
$(test_scripts)
|
||||
|
||||
CC=clang
|
||||
|
||||
dist_check_SCRIPTS = $(TESTS)
|
||||
dist_check_SCRIPTS = $(test_scripts)
|
||||
|
||||
EXTRA_DIST = testlib.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue