summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-07-17 14:40:14 -0700
committerWilliam A. Kennington III <wak@google.com>2018-07-17 14:40:14 -0700
commit321ed0114076aee9f556926362555fa285ab04f0 (patch)
treed0b862c1ccc7cd1ed0274d142d3de3eac4e3a786 /example
parentd6d53140b419584f48ebfb22761e002bdf56d08f (diff)
downloadsdeventplus-321ed0114076aee9f556926362555fa285ab04f0.tar.gz
sdeventplus-321ed0114076aee9f556926362555fa285ab04f0.zip
configure: Make examples optional
Diffstat (limited to 'example')
-rw-r--r--example/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/Makefile.am b/example/Makefile.am
index 3d8e3cf..fa40acb 100644
--- a/example/Makefile.am
+++ b/example/Makefile.am
@@ -1,5 +1,9 @@
noinst_PROGRAMS =
+if BUILD_EXAMPLES
+
noinst_PROGRAMS += follow
follow_SOURCES = follow.cpp
follow_LDADD = $(SDEVENTPLUS_LIBS)
+
+endif
OpenPOWER on IntegriCloud