[Telepathy-commits] [telepathy-glib/master] configure.ac: add an option to install the examples

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Mar 2 09:52:17 PST 2009


---
 configure.ac |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 729b05a..a565425 100644
--- a/configure.ac
+++ b/configure.ac
@@ -134,6 +134,13 @@ fi
 AC_SUBST(HANDLE_LEAK_DEBUG_CFLAGS)
 AC_SUBST(COVERAGE_CFLAGS)
 
+AC_ARG_ENABLE([installed-examples],
+  AC_HELP_STRING([--enable-installed-examples],
+    [install examples as well as the library]),
+    [enable_installed_examples="$enableval"],
+    [enable_installed_examples=no])
+AM_CONDITIONAL([INSTALL_EXAMPLES], [test "$enable_installed_examples" = yes])
+
 AC_SUBST([ENABLE_CODING_STYLE_CHECKS])
 
 dnl docs/Makefile.am needs to know whether it's an out of tree build
-- 
1.5.6.5




More information about the telepathy-commits mailing list