1
0
mirror of https://github.com/gryf/ADFlib.git synced 2026-02-14 12:15:46 +01:00

automake for regtests

This commit is contained in:
Toni G
2013-02-21 23:34:16 +01:00
parent d8cc5ba3bb
commit 6bd2a93128
45 changed files with 119 additions and 494 deletions

View File

@@ -18,6 +18,19 @@ AC_ARG_ENABLE([examples],
AM_CONDITIONAL([EXAMPLES], [test x$examples = xtrue])
AC_ARG_ENABLE([regtests],
[ --enable-regtests Build regression tests],
[case "${enableval}" in
yes) regtests=true ;;
no) regtests=false ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-regtests]) ;;
esac],
[regtests=true])
AM_CONDITIONAL([REGTESTS], [test x$regtests = xtrue])
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
@@ -51,5 +64,6 @@ AC_CONFIG_FILES([Makefile
src/Makefile
doc/Makefile
examples/Makefile
regtests/Test/Makefile
adflib.pc])
AC_OUTPUT