Add a regression test directory.

This commit is contained in:
Romain Tartiere 2010-08-11 16:36:35 +00:00
parent f237d44339
commit 9cc31f6aad
5 changed files with 107 additions and 1 deletions

View file

@ -111,6 +111,14 @@ AC_SUBST(PKG_CONFIG_REQUIRES)
AM_CONDITIONAL(LIBUSB_ENABLED, [test "$HAVE_LIBUSB" = "1"])
AM_CONDITIONAL(PCSC_ENABLED, [test "$HAVE_PCSC" = "1"])
CUTTER_REQUIRED_VERSION=1.1.2
m4_ifdef([AC_CHECK_CUTTER], [AC_CHECK_CUTTER([>= $CUTTER_REQUIRED_VERSION])], [ac_cv_use_cutter="no"])
if test x$ac_cv_with_cutter = xyes -a x$ac_cv_use_cutter = xno; then
AC_MSG_ERROR([cutter >= $CUTTER_REQUIRED_VERSION is mandatory.])
fi
AM_CONDITIONAL([WITH_CUTTER], [test "$ac_cv_use_cutter" != "no"])
# Defines and C flags
CFLAGS="$CFLAGS -std=c99"
@ -127,6 +135,7 @@ AC_CONFIG_FILES([
libnfc/Makefile
examples/Makefile
cmake_modules/Makefile
test/Makefile
libnfc.pc
Doxyfile
])