]> git.tuebingen.mpg.de Git - paraslash.git/commit
configure: Fix restoring LDFLAGS.
authorAndre Noll <maan@systemlinux.org>
Thu, 29 Aug 2013 22:20:30 +0000 (22:20 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 22 Sep 2013 00:10:27 +0000 (02:10 +0200)
commit034cda0df3b2da1048d5ee90296385c52efbbcae
treeaa1e1e1b32c95504128e33112178899d22a95b12
parentb7fc2e183f824003556e8c2cbf9bfa40d611228b
configure: Fix restoring LDFLAGS.

The configure script saves the values of CPPFLAGS, CFLAGS and LDLFAGS
before each check and restores the old values afterwards. However,
for LDLFAGS this was broken at several places, since we used LD_FLAGS
(with an underscore) for saving the value and LDFLAGS for restoring it
(or vice versa).

This bug had the effect that a user-specified value of LDFLAGS was
ignored in some tests because LDFLAGS was restored to the empty
value LD_FLAGS during an earlier test.

This patch changes all occurrences of LD_FLAGS in configure.ac to
LDFLAGS.
configure.ac