summaryrefslogtreecommitdiff
path: root/resize
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2014-01-04 20:44:29 -0500
committerTheodore Ts'o <tytso@mit.edu>2014-01-05 22:58:16 -0500
commit6c59a665da13d6a2acbf3fc01a3fb4338fb46a6e (patch)
treed3a1cda19cc2f7f7092fb5e4341ac9080f770cad /resize
parent9a3938918545b831b215b2befc2454f7b1a2dd84 (diff)
downloade2fsprogs-6c59a665da13d6a2acbf3fc01a3fb4338fb46a6e.tar.gz
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>
Diffstat (limited to 'resize')
-rw-r--r--resize/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/resize/Makefile.in b/resize/Makefile.in
index b8fb3ae4..eb6f8901 100644
--- a/resize/Makefile.in
+++ b/resize/Makefile.in
@@ -28,11 +28,11 @@ SRCS= $(srcdir)/extent.c \
$(srcdir)/resource_track.c \
$(srcdir)/sim_progress.c
-LIBS= $(LIBE2P) $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBINTL)
+LIBS= $(LIBE2P) $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBINTL) $(SYSLIBS)
DEPLIBS= $(LIBE2P) $(LIBEXT2FS) $(DEPLIBCOM_ERR)
STATIC_LIBS= $(STATIC_LIBE2P) $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) \
- $(LIBINTL)
+ $(LIBINTL) $(SYSLIBS)
DEPSTATIC_LIBS= $(STATIC_LIBE2P) $(STATIC_LIBEXT2FS) $(DEPSTATIC_LIBCOM_ERR)
.c.o: