diff options
author | Dan Williams <dcbw@redhat.com> | 2009-12-21 11:18:38 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-12-21 11:18:38 -0800 |
commit | 71cbcb834c77025d82d91dadcb2c19bd58dd7b85 (patch) | |
tree | b275966048dc4bb18120e1a03f556084b6c02330 /test | |
parent | 791faca8fa1174020052b4dea05b7063946f8c79 (diff) |
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.
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 446b9a57..3d571c3b 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -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) |