]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
configure: fix --with-diet-libc
authorTheodore Ts'o <tytso@mit.edu>
Sun, 5 Jan 2014 01:44:29 +0000 (20:44 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 6 Jan 2014 03:58:16 +0000 (22:58 -0500)
commit6c59a665da13d6a2acbf3fc01a3fb4338fb46a6e
treed3a1cda19cc2f7f7092fb5e4341ac9080f770cad
parent9a3938918545b831b215b2befc2454f7b1a2dd84
configure: fix --with-diet-libc

Newer versions of autoconf pull in AC_PROG_GCC as part of
AC_CANONICAL_HOST.  So we need check for WITH_DIET_LIBC earlier in
configure.in.

Also, e2fsprogs now needs functions which are found in diet libc's
compat library.  So add support for autoconf's LIBS function, and
automatically set libs to include -lcompat.

Finally, disable compiling e4defrag by deault if --with-diet-libc is
specified because the program has too many glibc dependencies.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
MCONFIG.in
configure
configure.in
debugfs/Makefile.in
e2fsck/Makefile.in
intl/Makefile.in
lib/ext2fs/Makefile.in
lib/ss/Makefile.in
misc/Makefile.in
resize/Makefile.in
tests/progs/Makefile.in