From: Theodore Ts'o Date: Sun, 16 Dec 2012 03:10:27 +0000 (-0500) Subject: configure: clarify message regarding checking if we can link with -static X-Git-Tag: v1.42.7~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3de1a714f2b22dea03f255de83b99581882f24b;p=thirdparty%2Fe2fsprogs.git configure: clarify message regarding checking if we can link with -static Signed-off-by: "Theodore Ts'o" --- diff --git a/configure b/configure index 01b56c55a..da1bcb6c7 100755 --- 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 diff --git a/configure.in b/configure.in index 2b44d1e72..1099309a3 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 ],[fflush(stdout);],