diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-03 12:36:08 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-03 12:36:08 +0100 |
commit | 0e3549125f6144e25c466fd4a6846a952a0e4208 (patch) | |
tree | e41edc0954e9c80e5ae6ed1bec9db4a9aeebc92d /scripts | |
parent | bd8061321a42dc36b4f7550bf2d094d0ff00d4d4 (diff) | |
download | connman-0e3549125f6144e25c466fd4a6846a952a0e4208.tar.gz connman-0e3549125f6144e25c466fd4a6846a952a0e4208.tar.bz2 connman-0e3549125f6144e25c466fd4a6846a952a0e4208.zip |
Add proper enabled checks for DHCP scripts
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 9cf4e009..3beb16a7 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -9,14 +9,23 @@ scriptdir = $(libdir)/connman/scripts script_DATA = dhclient.conf -script_PROGRAMS = udhcpc-script dhclient-script +script_PROGRAMS = +script_LTLIBRARIES = + +if UDHCP +script_PROGRAMS += udhcpc-script udhcpc_script_LDADD = @DBUS_LIBS@ +endif + +if DHCLIENT +script_PROGRAMS += dhclient-script dhclient_script_LDADD = @DBUS_LIBS@ +endif if PPPD -script_LTLIBRARIES = pppd-plugin.la +script_LTLIBRARIES += pppd-plugin.la pppd_plugin_la_LDFLAGS = -module -avoid-version endif |