Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request maxmind#136 from ffontaine/master
Browse files Browse the repository at this point in the history
Add --disable-tests to configure
  • Loading branch information
oschwald authored May 15, 2017
2 parents 08e44e1 + 8287848 commit 6a63165
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ nodist_include_HEADERS = include/maxminddb_config.h

SUBDIRS = \
src \
bin \
bin

if TESTS
SUBDIRS += \
t
endif

EXTRA_DIST = doc t Changes.md LICENSE NOTICE README.md projects/VS12 projects/VS12-tests
dist-hook:
Expand Down
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ AC_ARG_ENABLE(
esac],[debug=false])
AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])

AC_ARG_ENABLE([tests],
AS_HELP_STRING([--enable-tests], [Compilation of tests code]),
[enable_tests=${enableval}],
[enable_tests=yes])
AM_CONDITIONAL([TESTS], [test "${enable_tests}" = "yes"])

AC_CONFIG_FILES([Makefile
src/Makefile
bin/Makefile
Expand Down

0 comments on commit 6a63165

Please sign in to comment.