build: don't require pppd headers to build

If they're not there, just ignore them and don't build the PPP-enabled
bits of the test tool.
This commit is contained in:
Dan Williams
2009-12-21 11:18:38 -08:00
parent 791faca8fa
commit 71cbcb834c
2 changed files with 28 additions and 1 deletions
+4
View File
@@ -1,3 +1,5 @@
if HAVE_PPPD_H
pppd_plugindir = $(PPPD_PLUGIN_DIR)
pppd_plugin_LTLIBRARIES = mm-test-pppd-plugin.la
@@ -8,6 +10,8 @@ mm_test_pppd_plugin_la_CPPFLAGS = $(MM_CFLAGS)
mm_test_pppd_plugin_la_LDFLAGS = -module -avoid-version
mm_test_pppd_plugin_la_LIBADD = $(MM_LIBS)
endif
noinst_PROGRAMS = lsudev
lsudev_SOURCES = lsudev.c
lsudev_CPPFLAGS = $(GUDEV_CFLAGS)