Add configure option to disable tests
This commit is contained in:
parent
ceeb3bb4f4
commit
65d07eece1
@ -1,4 +1,7 @@
|
|||||||
SUBDIRS = crypto ssl tls include apps tests man
|
SUBDIRS = crypto ssl tls include apps man
|
||||||
|
if ENABLE_TESTS
|
||||||
|
SUBDIRS += tests
|
||||||
|
endif
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
@ -66,6 +66,10 @@ AC_ARG_ENABLE([extratests],
|
|||||||
AS_HELP_STRING([--enable-extratests], [Enable extra tests that may be unreliable on some platforms]))
|
AS_HELP_STRING([--enable-extratests], [Enable extra tests that may be unreliable on some platforms]))
|
||||||
AM_CONDITIONAL([ENABLE_EXTRATESTS], [test "x$enable_extratests" = xyes])
|
AM_CONDITIONAL([ENABLE_EXTRATESTS], [test "x$enable_extratests" = xyes])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([tests],
|
||||||
|
AS_HELP_STRING([--enable-tests], [Enable tests]))
|
||||||
|
AM_CONDITIONAL([ENABLE_TESTS], [test "x$enable_tests" = xyes])
|
||||||
|
|
||||||
# Add CPU-specific alignment flags
|
# Add CPU-specific alignment flags
|
||||||
old_cflags=$CFLAGS
|
old_cflags=$CFLAGS
|
||||||
CFLAGS="$CFLAGS -I$srcdir/include"
|
CFLAGS="$CFLAGS -I$srcdir/include"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user