aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am5
-rw-r--r--configure.ac9
2 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 1cf0fc6..6499f07 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,7 @@
1SUBDIRS = crypto ssl tls include apps tests man 1SUBDIRS = crypto ssl tls include apps man
2if ENABLE_TESTS
3SUBDIRS += tests
4endif
2ACLOCAL_AMFLAGS = -I m4 5ACLOCAL_AMFLAGS = -I m4
3 6
4pkgconfigdir = $(libdir)/pkgconfig 7pkgconfigdir = $(libdir)/pkgconfig
diff --git a/configure.ac b/configure.ac
index e584113..888ca19 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,6 +66,15 @@ AC_ARG_ENABLE([extratests],
66 AS_HELP_STRING([--enable-extratests], [Enable extra tests that may be unreliable on some platforms])) 66 AS_HELP_STRING([--enable-extratests], [Enable extra tests that may be unreliable on some platforms]))
67AM_CONDITIONAL([ENABLE_EXTRATESTS], [test "x$enable_extratests" = xyes]) 67AM_CONDITIONAL([ENABLE_EXTRATESTS], [test "x$enable_extratests" = xyes])
68 68
69AC_ARG_ENABLE([tests],
70 [AS_HELP_STRING([--disable-tests], [Disable tests @<:@default=enabled@:>@])],
71 [
72 if ! test "x${enable_tests}" = "xyes"; then
73 enable_tests="no"
74 fi],
75 [enable_tests="yes"])
76AM_CONDITIONAL([ENABLE_TESTS], [test "x$enable_tests" = xyes])
77
69# Add CPU-specific alignment flags 78# Add CPU-specific alignment flags
70old_cflags=$CFLAGS 79old_cflags=$CFLAGS
71CFLAGS="$CFLAGS -I$srcdir/include" 80CFLAGS="$CFLAGS -I$srcdir/include"