]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
configure: clarify message regarding checking if we can link with -static
authorTheodore Ts'o <tytso@mit.edu>
Sun, 16 Dec 2012 03:10:27 +0000 (22:10 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 16 Dec 2012 03:11:31 +0000 (22:11 -0500)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
configure
configure.in

index 01b56c55ab6bdbb809e9b7d0093ab23775cfe69e..da1bcb6c7a6d274e7b3dc607a95a10dd703a595c 100755 (executable)
--- a/configure
+++ b/configure
@@ -11293,8 +11293,8 @@ if test "${with_multiarch+set}" = set; then :
 root_libdir=$root_libdir/$withval
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts -static" >&5
-$as_echo_n "checking whether linker accepts -static... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can link with -static" >&5
+$as_echo_n "checking whether we can link with -static... " >&6; }
 if ${ac_cv_e2fsprogs_use_static+:} false; then :
   $as_echo_n "(cached) " >&6
 else
index 2b44d1e72101c90cab6fb1d5a8ee90b74b3e8fd4..1099309a31e58903733d281c22b320a47e15b20c 100644 (file)
@@ -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);],