summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-08-22 12:26:07 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-08-22 12:26:07 -0400
commit1aaaa82901c8b0a50baff06491f0e8e7de1c9af3 (patch)
tree2ac38c58db7ae4c027a6754b54e14ff6e8e2f9d1 /configure.in
parent6ec9ef1881e636540cfe28e6f32c93e1781ad173 (diff)
downloade2fsprogs-1aaaa82901c8b0a50baff06491f0e8e7de1c9af3.tar.gz
configure.in: Respect LDFLAGS environment variable if passed into configure
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>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 2e0f935e..da224b45 100644
--- a/configure.in
+++ b/configure.in
@@ -144,7 +144,7 @@ AC_ARG_WITH([ldopts],
[ --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