mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-08 16:10:59 +00:00
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:
1 parent
d976171a14
commit
a8798ea6a7
2 files changed
-12
No files matched your search
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in new issue
Block a user