summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-01-21 23:11:07 -0500
committerIan Stakenvicius <axs@gentoo.org>2013-01-22 14:29:53 -0500
commit0342e13a321efbf3b8841eda30869eebe4e62bba (patch)
tree7599234c316b876ffef8375448e174a5c5c4495f /test/Makefile.am
parent1ebf647b05a7314cfc0279810f802dd1dfa332c1 (diff)
Fix test-udev.c to build and work on a uclibc system
Two issues are addressed: 1) Makefile.am has to provide config.h information on HAVE_UNSHARE to test-udev.c. 2) MS_PRIVATE and MS_REC are defined in <linux/fs.h> which must be directly included on a uclibc system because of different header stackings. Its inclusion makes no difference on a glibc system. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 2adad9c97a..eac141f121 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,7 +1,7 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-
AM_CPPFLAGS = \
+ -include $(top_builddir)/config.h \
-DVERSION=\"@VERSION@\" \
-I $(top_srcdir)/src/libudev \
-I $(top_srcdir)/src/udev