Lines Matching refs:ld
1 # lib-ld.m4 serial 6
13 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
31 AC_ARG_WITH([gnu-ld],
32 [AS_HELP_STRING([--with-gnu-ld],
33 [assume the C compiler uses GNU ld [default=no]])],
50 ac_prog=ld
52 # Check if gcc -print-prog-name=ld gives a path.
53 AC_MSG_CHECKING([for ld used by $CC])
57 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
59 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
65 # Canonicalize the pathname of ld
74 ac_prog=ld
77 # If it is relative, then search for the first ld in PATH.
82 AC_MSG_CHECKING([for GNU ld])
84 AC_MSG_CHECKING([for non-GNU ld])
94 # Check to see if the program is GNU ld. I'd rather use --version,
95 # but apparently some variants of GNU ld only accept -v.
96 # Break only if it was the GNU/non-GNU ld that we prefer.
117 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])