Signed-off-by: Bjoern Jacke <bj@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
ac9620b942d6d51a1c35c4177c3f241351fc1ebd)
The last 2 patches address bug #7825 (need to fix GNU ld version detection with
old gcc releases).
if test "$ac_cv_prog_gnu_ld" = "yes"; then
ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2> /dev/null < /dev/null | grep "GNU ld"`
# we need to make a 2nd (separate!) check on the output of stderr, see bug #7825:
- if test -z ${ac_cv_gnu_ld_version} ; then
+ if test -z "$ac_cv_gnu_ld_version" ; then
ac_cv_gnu_ld_version=`$CC -Wl,-v /dev/null 2>&1 > /dev/null < /dev/null | grep "GNU ld"`
fi
AC_MSG_CHECKING(GNU ld release date)