build: Rename option and conditional for installing demo clients
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 1 Jan 2014 20:47:40 +0000 (12:47 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 1 Jan 2014 21:52:20 +0000 (13:52 -0800)
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
configure.ac

index bdbe1b9..2f14fbd 100644 (file)
@@ -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)
index adf1bae..0191941 100644 (file)
@@ -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}