3 # Sets the output variable $2 to $1 if ld supports the $1 flag.
4 # Otherwise the variable's value is empty.
5 AC_DEFUN([FP_PROG_LD_FLAG],
7 AC_CACHE_CHECK([whether ld understands $1], [fp_cv_$2],
8 [echo 'int foo() { return 0; }' > conftest.c
10 if $LD -r $1 -o conftest2.o conftest.o > /dev/null 2>&1; then