projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd80613
)
Add proper enabled checks for DHCP scripts
author
Marcel Holtmann
<marcel@holtmann.org>
Sat, 3 Jan 2009 11:36:08 +0000
(12:36 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 3 Jan 2009 11:36:08 +0000
(12:36 +0100)
scripts/Makefile.am
patch
|
blob
|
history
diff --git
a/scripts/Makefile.am
b/scripts/Makefile.am
index 9cf4e009c9e1570c39d87b9e6b5066593c59ae74..3beb16a7ffd9b1bb233bfbf0f6b51d44c9070bf9 100644
(file)
--- 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