If the --with-ldopts option is not passed on the command line, respect
the LDFLAGS environment variable instead of forcing LDFLAGS to be
unset. "configure --help" documents LDFLAGS as part of the standard
configure script calling convention.
Addresses-Sourceforge-Feature-Request: #
1937287
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
withval=$with_ldopts; { echo "$as_me:$LINENO: result: LDFLAGS is $withval" >&5
echo "${ECHO_T}LDFLAGS is $withval" >&6; }
LDFLAGS=$withval
-else
- LDFLAGS=
fi
[ --with-ldopts=LDOPTS select linker command line options],
AC_MSG_RESULT(LDFLAGS is $withval)
LDFLAGS=$withval,
-LDFLAGS=)dnl
+)dnl
AC_SUBST(LDFLAGS)
dnl
dnl Allow separate `root_prefix' to be specified