summaryrefslogtreecommitdiff
blob: 91626c6306e89da3d9eb1ee62a460c8bb5f8fd34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,8 @@
 AC_MSG_CHECKING([for GNU ld])
 LD=`$CC -print-prog-name=ld 2>&5`
 
-if test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld"` = 0; then
+if test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld"` = 0 -a \
+   test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU gold"` = 0; then
   # Not
   GNU_LD=""
   AC_MSG_RESULT([no])