aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-libgtop-sysdeps.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gnome-libgtop-sysdeps.m4')
-rw-r--r--macros/gnome-libgtop-sysdeps.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/macros/gnome-libgtop-sysdeps.m4 b/macros/gnome-libgtop-sysdeps.m4
index c99760a7e9..a3b8b413b1 100644
--- a/macros/gnome-libgtop-sysdeps.m4
+++ b/macros/gnome-libgtop-sysdeps.m4
@@ -17,6 +17,12 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
AC_SUBST(libgtop_use_machine_h)
AC_SUBST(libgtop_need_server)
+ AC_ARG_WITH(libgtop-examples,
+ [ --with-libgtop-examples Build the libgtop examples (default=yes)],[
+ build_examples="$withval"], [build_examples=yes])
+
+ AM_CONDITIONAL(EXAMPLES, test x"$build_examples" = xyes)
+
AC_ARG_WITH(linux-table,
[ --with-linux-table Use the table () function from Martin Baulig],[
linux_table="$withval"],[linux_table=auto])