From a301690be6581e23a39813444b2904addcb26ab7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 30 Jul 2008 23:10:39 +0200 Subject: make building of examples optional --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3f2ab05..57026a2 100644 --- a/configure.ac +++ b/configure.ac @@ -111,5 +111,10 @@ fi AM_CONDITIONAL([USE_LYNX], [test "x$lynx" = xyes]) +AC_ARG_ENABLE(examples, + AS_HELP_STRING([--disable-examples], [Don't build examples during make]),, + enable_examples="yes") +AM_CONDITIONAL(EXAMPLES, [test "$enable_examples" = "yes"]) + AC_CONFIG_FILES([libdaemon/Makefile Makefile doc/Makefile doc/README.html doc/doxygen.conf examples/Makefile libdaemon.pc]) AC_OUTPUT -- cgit