btrfs-progs: autoconf: use paths and $*_LIBS from ./configure
authorKarel Zak <kzak@redhat.com>
Tue, 9 Dec 2014 15:57:10 +0000 (16:57 +0100)
committerDavid Sterba <dsterba@suse.cz>
Wed, 28 Jan 2015 17:01:00 +0000 (18:01 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Makefile.in

index c0247a2..a9e1711 100644 (file)
@@ -27,12 +27,11 @@ libbtrfs_headers = send-stream.h send-utils.h send.h rbtree.h btrfs-list.h \
               extent_io.h ioctl.h ctree.h btrfsck.h version.h
 TESTS = fsck-tests.sh convert-tests.sh
 
-INSTALL = @INSTALL@
-prefix ?= /usr/local
-bindir = $(prefix)/bin
-lib_LIBS = -luuid -lblkid -lz -llzo2 -L. -pthread
-libdir ?= $(prefix)/lib
-incdir = $(prefix)/include/btrfs
+prefix ?= @prefix@
+bindir = @bindir@
+lib_LIBS = @UUID_LIBS@ @BLKID_LIBS@ @ZLIB_LIBS@ @LZO2_LIBS@ -L. -pthread
+libdir ?= @libdir@
+incdir = @includedir@/btrfs
 LIBS = $(lib_LIBS) $(libs_static)
 
 ifeq ("$(origin V)", "command line")