This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 Makefile.am         |    1 +
 bootstrap-configure |    1 +
 configure.ac        |    4 ++++
 plugins/Makefile.am |    6 +++++-
 4 files changed, 11 insertions(+), 1 deletions(-)

New commits:
commit bd8061321a42dc36b4f7550bf2d094d0ff00d4d4
Author: Marcel Holtmann <[email protected]>
Date:   Sat Jan 3 12:30:36 2009 +0100

    Add option for selecting Ethernet support


Diff in this email is a maximum of 400 lines.
diff --git a/Makefile.am b/Makefile.am
index baa7ebf..57b9979 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,6 +7,7 @@ pkgconfig_DATA = connman.pc
 
 DISTCHECK_CONFIGURE_FLAGS = --disable-gtk-doc \
                                --enable-loopback \
+                               --enable-ethernet \
                                --enable-wifi \
                                --enable-udhcp \
                                --enable-dhclient \
diff --git a/bootstrap-configure b/bootstrap-configure
index 3a25cd3..aa13371 100755
--- a/bootstrap-configure
+++ b/bootstrap-configure
@@ -17,6 +17,7 @@ fi
                --localstatedir=/var \
                --sysconfdir=/etc \
                --enable-loopback \
+               --enable-ethernet \
                --enable-wifi \
                --enable-udhcp \
                --enable-dhclient \
diff --git a/configure.ac b/configure.ac
index 987b817..24ee83f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,6 +48,10 @@ AC_ARG_ENABLE(loopback, AC_HELP_STRING([--enable-loopback],
                [enable loopback support]), [enable_loopback=${enableval}])
 AM_CONDITIONAL(LOOPBACK, test "${enable_loopback}" = "yes")
 
+AC_ARG_ENABLE(ethernet, AC_HELP_STRING([--enable-ethernet],
+               [enable Ethernet support]), [enable_ethernet=${enableval}])
+AM_CONDITIONAL(ETHERNET, test "${enable_ethernet}" = "yes")
+
 AC_ARG_ENABLE(wifi, AC_HELP_STRING([--enable-wifi],
                [enable WiFi support]), [enable_wifi=${enableval}])
 if (test "${enable_wifi}" = "yes"); then
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index ac6714d..e90f494 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -1,7 +1,7 @@
 
 plugindir = $(libdir)/connman/plugins
 
-plugin_LTLIBRARIES = ethernet.la bluetooth.la ipv4.la
+plugin_LTLIBRARIES = bluetooth.la ipv4.la
 
 if LOOPBACK
 plugin_LTLIBRARIES += loopback.la
@@ -9,7 +9,11 @@ plugin_LTLIBRARIES += loopback.la
 loopback_la_SOURCES = loopback.c
 endif
 
+if ETHERNET
+plugin_LTLIBRARIES += ethernet.la
+
 ethernet_la_SOURCES = ethernet.c inet.h inet.c
+endif
 
 if WIFI
 plugin_LTLIBRARIES += wifi.la
_______________________________________________
Commits mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/commits

Reply via email to