From ea520d510c45eaba00ad8633888c09dd5a886d2e Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Wed, 1 Jan 2014 12:47:40 -0800 Subject: build: Rename option and conditional for installing demo clients Previously the option was --enable-demo-clients and the conditional was ENABLE_DEMO_CLIENTS. They control whether or not we install the demo clients (ie all other clients than weston-terminal and weston-info). Rename the option and the conditional to better reflect this. --- clients/Makefile.am | 2 +- configure.ac | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/clients/Makefile.am b/clients/Makefile.am index bdbe1b9c..2f14fbd5 100644 --- a/clients/Makefile.am +++ b/clients/Makefile.am @@ -9,7 +9,7 @@ demo_clients = \ $(simple_clients_programs) \ $(simple_egl_clients_programs) -if ENABLE_DEMO_CLIENTS +if INSTALL_DEMO_CLIENTS bin_PROGRAMS += $(demo_clients) else noinst_PROGRAMS = $(demo_clients) diff --git a/configure.ac b/configure.ac index adf1bae4..01919410 100644 --- a/configure.ac +++ b/configure.ac @@ -459,11 +459,11 @@ AC_MSG_NOTICE([Weston's default desktop shell client: $WESTON_SHELL_CLIENT]) AC_DEFINE_UNQUOTED([WESTON_SHELL_CLIENT], ["$WESTON_SHELL_CLIENT"], [The default desktop shell client to load.]) -AC_ARG_ENABLE(demo-clients, - AS_HELP_STRING([--enable-demo-clients], - [install demo clients built with weston]),, - enable_demo_clients=no) -AM_CONDITIONAL(ENABLE_DEMO_CLIENTS, [test "x$enable_demo_clients" = "xyes"]) +AC_ARG_ENABLE(demo-clients-install, + AS_HELP_STRING([--enable-demo-clients-install], + [Install demo clients built with weston]),, + install_demo_clients=no) +AM_CONDITIONAL(INSTALL_DEMO_CLIENTS, [test "install_demo_clients" = "xyes"]) PKG_CHECK_MODULES(LCMS, lcms2, [have_lcms=yes], [have_lcms=no]) @@ -534,7 +534,7 @@ AC_MSG_RESULT([ Build Simple Clients ${enable_simple_clients} Build Simple EGL Clients ${enable_simple_egl_clients} - Install Demo Clients ${enable_demo_clients} + Install Demo Clients ${install_demo_clients} Colord Support ${have_colord} GLU Support ${have_glu} -- cgit v1.2.3