Fix the conditional build of tests again.
Per [1], you always output the optional directory Makefile. [1] https://www.gnu.org/software/automake/manual/html_node/Subdirectories-with-AM_005fCONDITIONAL.html#Subdirectories-with-AM_005fCONDITIONAL
This commit is contained in:
parent
936b766905
commit
e224f067c1
@ -40,10 +40,7 @@ if test "$ap_cv_cc_pie" = "yes"; then
|
||||
enable_pie=yes
|
||||
fi
|
||||
|
||||
PKG_CHECK_MODULES([CHECK], [check >= 0.9.6], [
|
||||
AC_CONFIG_FILES([tests/Makefile])
|
||||
enable_tests=yes
|
||||
], [ enable_tests=no ])
|
||||
PKG_CHECK_MODULES([CHECK], [check >= 0.9.6], [enable_tests=yes], [enable_tests=no])
|
||||
AM_CONDITIONAL([COND_WANT_TESTS], [test "$enable_tests" = yes])
|
||||
|
||||
AC_CHECK_FUNC(backtrace_symbols_fd, [
|
||||
@ -53,7 +50,7 @@ AC_CHECK_FUNC(backtrace_symbols_fd, [
|
||||
])
|
||||
|
||||
|
||||
AC_CONFIG_FILES([Makefile src/Makefile])
|
||||
AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
echo OPENSSL: $with_openssl
|
||||
|
Loading…
Reference in New Issue
Block a user