mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-27 12:04:43 +08:00
configure: only include libuuid and libblkid in AC_OUTPUT if needed
If we are not buildinig the uuid or blkid library, we shouldn't create the Makefile and other files generated by configure / config.status. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
59a220dd9f
commit
44dfb37829
14
configure
vendored
14
configure
vendored
@ -13902,14 +13902,20 @@ test -d lib || mkdir lib
|
||||
test -d include || mkdir include
|
||||
test -d include/linux || mkdir include/linux
|
||||
test -d include/asm || mkdir include/asm
|
||||
if test -z "$UUID_CMT" ; then
|
||||
uuid_out_list="lib/uuid/Makefile lib/uuid/uuid.pc \
|
||||
lib/uuid/uuid_types.h"
|
||||
fi
|
||||
if test -z "$BLKID_CMT" ; then
|
||||
blkid_out_list="lib/blkid/Makefile lib/blkid/blkid.pc \
|
||||
lib/blkid/blkid_types.h"
|
||||
fi
|
||||
for i in MCONFIG Makefile e2fsprogs.spec \
|
||||
util/Makefile util/subst.conf util/gen-tarball util/install-symlink \
|
||||
lib/et/Makefile lib/ss/Makefile lib/e2p/Makefile \
|
||||
lib/ext2fs/Makefile lib/ext2fs/ext2_types.h \
|
||||
lib/uuid/Makefile lib/uuid/uuid_types.h \
|
||||
lib/blkid/Makefile lib/blkid/blkid_types.h lib/quota/Makefile \
|
||||
lib/ss/ss.pc lib/uuid/uuid.pc lib/et/com_err.pc \
|
||||
lib/e2p/e2p.pc lib/blkid/blkid.pc lib/ext2fs/ext2fs.pc \
|
||||
$uuid_out_list $blkid_out_list lib/quota/Makefile \
|
||||
lib/ss/ss.pc lib/et/com_err.pc lib/e2p/e2p.pc lib/ext2fs/ext2fs.pc \
|
||||
misc/Makefile ext2ed/Makefile e2fsck/Makefile \
|
||||
debugfs/Makefile tests/Makefile tests/progs/Makefile \
|
||||
resize/Makefile doc/Makefile intl/Makefile \
|
||||
|
14
configure.ac
14
configure.ac
@ -1455,14 +1455,20 @@ test -d lib || mkdir lib
|
||||
test -d include || mkdir include
|
||||
test -d include/linux || mkdir include/linux
|
||||
test -d include/asm || mkdir include/asm
|
||||
if test -z "$UUID_CMT" ; then
|
||||
uuid_out_list="lib/uuid/Makefile lib/uuid/uuid.pc \
|
||||
lib/uuid/uuid_types.h"
|
||||
fi
|
||||
if test -z "$BLKID_CMT" ; then
|
||||
blkid_out_list="lib/blkid/Makefile lib/blkid/blkid.pc \
|
||||
lib/blkid/blkid_types.h"
|
||||
fi
|
||||
for i in MCONFIG Makefile e2fsprogs.spec \
|
||||
util/Makefile util/subst.conf util/gen-tarball util/install-symlink \
|
||||
lib/et/Makefile lib/ss/Makefile lib/e2p/Makefile \
|
||||
lib/ext2fs/Makefile lib/ext2fs/ext2_types.h \
|
||||
lib/uuid/Makefile lib/uuid/uuid_types.h \
|
||||
lib/blkid/Makefile lib/blkid/blkid_types.h lib/quota/Makefile \
|
||||
lib/ss/ss.pc lib/uuid/uuid.pc lib/et/com_err.pc \
|
||||
lib/e2p/e2p.pc lib/blkid/blkid.pc lib/ext2fs/ext2fs.pc \
|
||||
$uuid_out_list $blkid_out_list lib/quota/Makefile \
|
||||
lib/ss/ss.pc lib/et/com_err.pc lib/e2p/e2p.pc lib/ext2fs/ext2fs.pc \
|
||||
misc/Makefile ext2ed/Makefile e2fsck/Makefile \
|
||||
debugfs/Makefile tests/Makefile tests/progs/Makefile \
|
||||
resize/Makefile doc/Makefile intl/Makefile \
|
||||
|
Loading…
Reference in New Issue
Block a user