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:
14
configure.ac
14
configure.ac
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user