Lines Matching refs:ld
1 # lib-ld.m4 serial 3 (gettext-0.13)
15 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
16 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
28 [AC_ARG_WITH(gnu-ld,
29 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
46 ac_prog=ld
48 # Check if gcc -print-prog-name=ld gives a path.
49 AC_MSG_CHECKING([for ld used by GCC])
53 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
55 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
61 # Canonicalize the path of ld
70 ac_prog=ld
73 # If it is relative, then search for the first ld in PATH.
78 AC_MSG_CHECKING([for GNU ld])
80 AC_MSG_CHECKING([for non-GNU ld])
89 # Check to see if the program is GNU ld. I'd rather use --version,
90 # but apparently some GNU ld's only accept -v.
91 # Break only if it was the GNU/non-GNU ld that we prefer.
110 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])