Lines Matching refs:ld
1 # lib-ld.m4 serial 4 (gettext-0.18)
13 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
14 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
26 [AC_ARG_WITH([gnu-ld],
27 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
44 ac_prog=ld
46 # Check if gcc -print-prog-name=ld gives a path.
47 AC_MSG_CHECKING([for ld used by GCC])
51 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
53 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
59 # Canonicalize the path of ld
68 ac_prog=ld
71 # If it is relative, then search for the first ld in PATH.
76 AC_MSG_CHECKING([for GNU ld])
78 AC_MSG_CHECKING([for non-GNU ld])
87 # Check to see if the program is GNU ld. I'd rather use --version,
88 # but apparently some GNU ld's only accept -v.
89 # Break only if it was the GNU/non-GNU ld that we prefer.
108 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])