configure: Remove --enable-examples option

Now unit tests and examples are separate things.  Unit tests build on
"make check" and examples must be built separately by the user.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-11-22 01:18:45 +01:00
1 parent d976171a14
commit a8798ea6a7
2 files changed
-12

No files matched your search

-7
View File
@@ -19,13 +19,6 @@ EXTRA_DIST = README.md LICENSE AUTHORS ChangeLog.md
DIST_SUBDIRS = examples DIST_SUBDIRS = examples
SUBDIRS = tests SUBDIRS = tests
if ENABLE_EXAMPLES
SUBDIRS += examples
endif
test joystick: all-recursive
./examples/$@
## Generate MD5 checksum file ## Generate MD5 checksum file
MD5 = md5sum MD5 = md5sum
-5
View File
@@ -11,9 +11,4 @@ AC_PROG_CC
AM_PROG_AR AM_PROG_AR
LT_INIT LT_INIT
AC_ARG_ENABLE([examples],
[AS_HELP_STRING([--enable-examples], [build examples])],
[enable_examples=yes], [])
AM_CONDITIONAL([ENABLE_EXAMPLES], [test "$enable_examples" = yes])
AC_OUTPUT AC_OUTPUT