aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-12-15 22:10:27 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-12-15 22:11:31 -0500
commitd3de1a714f2b22dea03f255de83b99581882f24b (patch)
tree60c388661c7e171a71a6553a4d3f11fa510117d3 /configure.in
parent2658b9616fe63d2fd9e2654676877ab014639a92 (diff)
downloade2fsprogs-d3de1a714f2b22dea03f255de83b99581882f24b.tar.gz
e2fsprogs-d3de1a714f2b22dea03f255de83b99581882f24b.tar.xz
e2fsprogs-d3de1a714f2b22dea03f255de83b99581882f24b.zip
configure: clarify message regarding checking if we can link with -static
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 2b44d1e7..1099309a 100644
--- a/configure.in
+++ b/configure.in
@@ -1180,9 +1180,11 @@ libdir=$libdir/$withval
root_libdir=$root_libdir/$withval
)dnl
dnl
-dnl See if -static works.
+dnl See if -static works. This could fail if the linker does not
+dnl support -static, or if required external libraries are not available
+dnl in static form.
dnl
-AC_MSG_CHECKING([whether linker accepts -static])
+AC_MSG_CHECKING([whether we can link with -static])
AC_CACHE_VAL(ac_cv_e2fsprogs_use_static,
[SAVE_LDFLAGS=$LDFLAGS; LDFLAGS="$LDFLAGS -static"
AC_TRY_LINK([#include <stdio.h>],[fflush(stdout);],