summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2009-03-18 15:45:48 +0100
committerKarel Zak <kzak@redhat.com>2009-03-18 15:46:53 +0100
commit7d2802a0dbbd76d119a3217774233557edbfcf98 (patch)
tree7f5b5d1fa70237aba87155a678da209493a7b3cf
parenteca7b7e1a9d25b428006eb4657b68654e2af1f9b (diff)
downloadutil-linux-old-7d2802a0dbbd76d119a3217774233557edbfcf98.tar.gz
build-sys: fix bugs detected by "make distcheck"
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--Makefile.am2
-rw-r--r--config/include-Makefile.am6
-rw-r--r--libs/blkid/src/Makefile.am7
-rw-r--r--libs/blkid/src/probers/Makefile.am2
4 files changed, 10 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 72a0a829..8fea6fa6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -63,7 +63,7 @@ checkconfig:
| xargs $(top_srcdir)/tools/checkconfig.sh $(top_srcdir)
-ENABLE_ALL = --enable-static-programs \
+ENABLE_ALL = --enable-static-programs --with-fsprobe=builtin \
--enable-elvtune --enable-init --enable-kill --enable-last \
--enable-mesg --enable-partx --enable-raw --enable-rdev --enable-reset \
--enable-login-utils --enable-write --enable-arch --enable-mount
diff --git a/config/include-Makefile.am b/config/include-Makefile.am
index 9a0497ea..b42a0c3a 100644
--- a/config/include-Makefile.am
+++ b/config/include-Makefile.am
@@ -16,9 +16,9 @@ dist_noinst_DATA = $(dist_man_MANS)
# Paths to in-tree libraries (use ul_ prefix to avoid possible collisions)
#
-ul_libblkid_srcdir = $(top_builddir)/libs/blkid/src
-ul_libblkid_la = $(ul_libblkid_srcdir)/libblkid.la
+ul_libblkid_srcdir = $(top_srcdir)/libs/blkid/src
+ul_libblkid_la = $(top_builddir)/libs/blkid/src/libblkid.la
$(ul_libblkid_la):
- $(MAKE) -C $(ul_libblkid_srcdir)
+ $(MAKE) -C $(ul_libblkid_builddir)
diff --git a/libs/blkid/src/Makefile.am b/libs/blkid/src/Makefile.am
index c1a441eb..61a7ca06 100644
--- a/libs/blkid/src/Makefile.am
+++ b/libs/blkid/src/Makefile.am
@@ -2,7 +2,7 @@ include $(top_srcdir)/config/include-Makefile.am
SUBDIRS = probers .
-AM_CPPFLAGS += -I$(top_builddir)/libs/blkid/src
+AM_CPPFLAGS += -I$(top_srcdir)/libs/blkid/src
common_ldadd =
@@ -28,7 +28,10 @@ libblkid_la_SOURCES = cache.c dev.c devname.c devno.c getsize.c llseek.c \
libblkid_la_LIBADD = probers/libblkid_probers.la $(common_ldadd)
libblkid_la_DEPENDENCIES = $(libblkid_la_LIBADD) blkid.sym
-libblkid_la_LDFLAGS = -Wl,--version-script=blkid.sym -version-info @BLKID_VERSION_INFO@
+# TODO: for unknown reason "make distcheck" requires
+# full path to the version string
+libblkid_la_LDFLAGS = -Wl,--version-script=$(top_srcdir)/libs/blkid/src/blkid.sym \
+ -version-info @BLKID_VERSION_INFO@
tests = test_cache test_config test_dev test_devname test_devno test_getsize \
test_read test_resolve test_save test_tag test_verify test_evaluate
diff --git a/libs/blkid/src/probers/Makefile.am b/libs/blkid/src/probers/Makefile.am
index 9de23168..2f5a79da 100644
--- a/libs/blkid/src/probers/Makefile.am
+++ b/libs/blkid/src/probers/Makefile.am
@@ -1,6 +1,6 @@
include $(top_srcdir)/config/include-Makefile.am
-AM_CPPFLAGS += -I$(top_builddir)/libs/blkid/src
+AM_CPPFLAGS += -I$(top_srcdir)/libs/blkid/src
noinst_LTLIBRARIES = libblkid_probers.la
libblkid_probers_la_SOURCES = \