mirror of https://github.com/vitalif/e2fsprogs
configure: clarify message regarding checking if we can link with -static
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>debian-1.42.9
parent
2658b9616f
commit
d3de1a714f
|
@ -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
|
||||
|
|
|
@ -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);],
|
||||
|
|
Loading…
Reference in New Issue