ref: 4db0752a47ef82b8cf30655c4c270c2bd312f0cd
parent: 4435ea6e919e6ac5eb914be6d2c633e60ecd7b4b
author: Paul Brossier <piem@piem.org>
date: Tue Jul 10 11:31:10 EDT 2012
configure.ac: enable tests by default, add m4
--- a/configure.ac
+++ b/configure.ac
@@ -3,6 +3,8 @@
dnl Init autoconf
AC_INIT(src/aubio.h)
+AC_CONFIG_MACRO_DIR([m4])
+
dnl Package name and version
PACKAGE=aubio
. $srcdir/VERSION
@@ -242,9 +244,9 @@
dnl Enable unit tests
AC_ARG_ENABLE(testprogs,
- AC_HELP_STRING([--enable-testprogs],[compile test programs [[default=no]]]),
+ AC_HELP_STRING([--enable-testprogs],[compile test programs [[default=yes]]]),
[with_testprogs=$enableval],
- with_testprogs="no")
+ with_testprogs="yes")
AM_CONDITIONAL(COMPILE_TESTS,test "${with_testprogs}" != "no")
AC_SUBST(AUBIO_CFLAGS)