configure: don't ignore CFLAGS/LDFLAGS/LIBS
commit916d5ed5e67e02565e84226ae60885038ce8cfa8
authorStefan Becker <chemobejk@gmail.com>
Thu, 5 May 2016 16:22:48 +0000 (5 19:22 +0300)
committerStefan Becker <chemobejk@gmail.com>
Thu, 5 May 2016 16:22:48 +0000 (5 19:22 +0300)
tree03887ce8ea92d1d785f549e33bf3df07175ba829
parent46efb9a45bacbcd0719ed08576a50b1236f84c7b
configure: don't ignore CFLAGS/LDFLAGS/LIBS

Every time we save CFLAGS/LDFLAGS/LIBS in _ac_save_XXX to override the
value for the next text we need to make sure to include the original
value in the override again. Otherwise this can lead to subtle configure
failures on certain platforms, e.g. failing to detect V&V on Fedora 23+
x86_64 due to an unrelated linker error.

Reported in https://bugzilla.redhat.com/show_bug.cgi?id=1333438
configure.ac