chiark / gitweb /
Infrastructure: Switch testing over to Autotest.
[mLib] / configure.ac
index 107b49b36832ea368c4f701f7155f067582786b7..2444ac72677c0dccfd663c6c74289634bbc38aca 100644 (file)
@@ -39,6 +39,8 @@ AM_PROG_LIBTOOL
 AX_CFLAGS_WARN_ALL
 mdw_LIBTOOL_VERSION_INFO
 
+AC_CHECK_PROGS([AUTOM4TE], [autom4te])
+
 mdw_MANEXT
 
 AC_DEFINE_UNQUOTED([SRCDIR], ["$(cd $srcdir && pwd)"],
@@ -96,10 +98,16 @@ case $want_adns,$have_adns in
 esac
 AM_CONDITIONAL([WITH_ADNS], [test "$use_adns" = yes])
 
+dnl--------------------------------------------------------------------------
+dnl Python (used for testing).
+
+AM_PATH_PYTHON([2.4],, [:])
+
 dnl--------------------------------------------------------------------------
 dnl Output.
 
 AC_CONFIG_HEADER([config/config.h])
+AC_CONFIG_TESTDIR([t])
 
 AC_CONFIG_FILES(
   [Makefile]
@@ -113,7 +121,8 @@ AC_CONFIG_FILES(
   [test/Makefile]
   [trace/Makefile]
   [ui/Makefile]
-  [utils/Makefile])
+  [utils/Makefile]
+  [t/Makefile t/atlocal])
 AC_OUTPUT
 
 dnl ----- That's all, folks -------------------------------------------------