diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-22 13:18:53 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-22 13:18:53 +0100 |
commit | ee6687c3d473d45ecb77bd221f4b4dcb7172117a (patch) | |
tree | eda1056b6449a24994c54de9050519d3a2ec9f15 | |
parent | a9933b375fdf3a07a07d260b68200f0c2fda9331 (diff) | |
download | connman-ee6687c3d473d45ecb77bd221f4b4dcb7172117a.tar.gz connman-ee6687c3d473d45ecb77bd221f4b4dcb7172117a.tar.bz2 connman-ee6687c3d473d45ecb77bd221f4b4dcb7172117a.zip |
Make the client application optional
-rwxr-xr-x | bootstrap-configure | 2 | ||||
-rw-r--r-- | client/Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/bootstrap-configure b/bootstrap-configure index 0714169e..5a7e4dc1 100755 --- a/bootstrap-configure +++ b/bootstrap-configure @@ -16,4 +16,4 @@ fi --mandir=/usr/share/man \ --localstatedir=/var \ --sysconfdir=/etc \ - --disable-fake $* + --enable-client $* diff --git a/client/Makefile.am b/client/Makefile.am index e198c8f8..4dc16084 100644 --- a/client/Makefile.am +++ b/client/Makefile.am @@ -1,9 +1,11 @@ +if CLIENT noinst_PROGRAMS = cm cm_SOURCES = main.c cm_LDADD = @DBUS_LIBS@ +endif AM_CFLAGS = @DBUS_CFLAGS@ diff --git a/configure.ac b/configure.ac index fea11302..15acdbcb 100644 --- a/configure.ac +++ b/configure.ac @@ -86,6 +86,10 @@ AC_SUBST(POLKIT_CFLAGS) AC_SUBST(POLKIT_LIBS) AM_CONDITIONAL(POLKIT, test "${polkit_found}" = "yes") +AC_ARG_ENABLE(client, AC_HELP_STRING([--enable-client], + [enable command line client]), [enable_client=${enableval}]) +AM_CONDITIONAL(CLIENT, test "${enable_client}" = "yes") + AC_ARG_ENABLE(fake, AC_HELP_STRING([--enable-fake], [enable fake plugin]), [enable_fake=${enableval}]) AM_CONDITIONAL(FAKE, test "${enable_fake}" = "yes") |