255 |
AC_DEFUN([_LT_COMPILER_BOILERPLATE], |
AC_DEFUN([_LT_COMPILER_BOILERPLATE], |
256 |
[ac_outfile=conftest.$ac_objext |
[ac_outfile=conftest.$ac_objext |
257 |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
258 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
259 |
_lt_compiler_boilerplate=`cat conftest.err` |
_lt_compiler_boilerplate=`cat conftest.err` |
260 |
$rm conftest* |
$rm conftest* |
261 |
])# _LT_COMPILER_BOILERPLATE |
])# _LT_COMPILER_BOILERPLATE |
268 |
AC_DEFUN([_LT_LINKER_BOILERPLATE], |
AC_DEFUN([_LT_LINKER_BOILERPLATE], |
269 |
[ac_outfile=conftest.$ac_objext |
[ac_outfile=conftest.$ac_objext |
270 |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
printf "$lt_simple_link_test_code" >conftest.$ac_ext |
271 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
272 |
_lt_linker_boilerplate=`cat conftest.err` |
_lt_linker_boilerplate=`cat conftest.err` |
273 |
$rm conftest* |
$rm conftest* |
274 |
])# _LT_LINKER_BOILERPLATE |
])# _LT_LINKER_BOILERPLATE |
616 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
617 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
618 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
619 |
$echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
620 |
$SED '/^$/d' conftest.err >conftest.er2 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
621 |
if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
622 |
$2=yes |
$2=yes |
623 |
fi |
fi |
624 |
fi |
fi |
649 |
if test -s conftest.err; then |
if test -s conftest.err; then |
650 |
# Append any errors to the config.log. |
# Append any errors to the config.log. |
651 |
cat conftest.err 1>&AS_MESSAGE_LOG_FD |
cat conftest.err 1>&AS_MESSAGE_LOG_FD |
652 |
$echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp |
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
653 |
$SED '/^$/d' conftest.err >conftest.er2 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
654 |
if diff conftest.exp conftest.er2 >/dev/null; then |
if diff conftest.exp conftest.er2 >/dev/null; then |
655 |
$2=yes |
$2=yes |
656 |
fi |
fi |
1009 |
then |
then |
1010 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
1011 |
# So say no if there are warnings |
# So say no if there are warnings |
1012 |
$echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
1013 |
$SED '/^$/d' out/conftest.err >out/conftest.er2 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
1014 |
if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
1015 |
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes |
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes |
1016 |
fi |
fi |
1017 |
fi |
fi |