btrfs-progs: autoconf: use paths and $*_LIBS from ./configure

Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
Karel Zak 2014-12-09 16:57:10 +01:00 committed by David Sterba
parent 27a807277b
commit 8e14f8de17
1 changed files with 5 additions and 6 deletions

View 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 extent_io.h ioctl.h ctree.h btrfsck.h version.h
TESTS = fsck-tests.sh convert-tests.sh TESTS = fsck-tests.sh convert-tests.sh
INSTALL = @INSTALL@ prefix ?= @prefix@
prefix ?= /usr/local bindir = @bindir@
bindir = $(prefix)/bin lib_LIBS = @UUID_LIBS@ @BLKID_LIBS@ @ZLIB_LIBS@ @LZO2_LIBS@ -L. -pthread
lib_LIBS = -luuid -lblkid -lz -llzo2 -L. -pthread libdir ?= @libdir@
libdir ?= $(prefix)/lib incdir = @includedir@/btrfs
incdir = $(prefix)/include/btrfs
LIBS = $(lib_LIBS) $(libs_static) LIBS = $(lib_LIBS) $(libs_static)
ifeq ("$(origin V)", "command line") ifeq ("$(origin V)", "command line")