]> err.no Git - util-linux/commitdiff
build-sys: fix bugs detected by "make distcheck"
authorKarel Zak <kzak@redhat.com>
Wed, 18 Mar 2009 14:45:48 +0000 (15:45 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 18 Mar 2009 14:46:53 +0000 (15:46 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
Makefile.am
config/include-Makefile.am
libs/blkid/src/Makefile.am
libs/blkid/src/probers/Makefile.am

index 72a0a8299e8d66e17ad1789b745088bd42ea0e76..8fea6fa6338339db769fbfb7233b495b4e5aff56 100644 (file)
@@ -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
index 9a0497ea59eb334d043de08bf82ea1664ba1bd26..b42a0c3a70b34ffa89f0d16ace9b9361a209556d 100644 (file)
@@ -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)
 
index c1a441ebc7ae8b07493317c99b0ca458a6bf9722..61a7ca06b5f5472600d4d7ea5936143f4b7905b5 100644 (file)
@@ -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
index 9de2316871f659080d9dfb36cd97d8add6550fd6..2f5a79dac6e69b6941df7935df77e9b0ce2616ab 100644 (file)
@@ -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 = \