aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-12-17 09:58:50 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-12-17 09:58:50 -0500
commit0a7baccf61847633d560f162c2ee999fd5dd1405 (patch)
tree0877be180e2acf2588fa551d32a7a7e4e85aae81 /configure.in
parent603e5ebc8bb4b5e75c53ddf1461992f8861b35a1 (diff)
parentdbe5c43b2e6fcc8fe831a134fbc3dda1f5dd0733 (diff)
downloade2fsprogs-0a7baccf61847633d560f162c2ee999fd5dd1405.tar.gz
e2fsprogs-0a7baccf61847633d560f162c2ee999fd5dd1405.tar.xz
e2fsprogs-0a7baccf61847633d560f162c2ee999fd5dd1405.zip
Merge branch 'maint' into next
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 bc8d1e88..ab619b70 100644
--- a/configure.in
+++ b/configure.in
@@ -1234,9 +1234,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);],