2004-10-18 Kelley Cook * configure.ac (powerpc-*-darwin*): Require assembler to support .machine directive. * configure: Regenerate. Index: configure.ac =================================================================== RCS file: /cvs/gcc/gcc/gcc/configure.ac,v retrieving revision 2.76 diff -p -u -d -r2.76 configure.ac --- configure.ac 15 Oct 2004 02:26:15 -0000 2.76 +++ configure.ac 18 Oct 2004 22:03:32 -0000 @@ -2695,9 +2695,17 @@ foo: nop case $target in *-*-aix*) conftest_s=' .csect .text[[PR]] mfcr 3,128';; - *-*-darwin*) conftest_s=' .text + *-*-darwin*) + gcc_GAS_CHECK_FEATURE([.machine directive support], + gcc_cv_as_machine_directive,,, + [ .machine ppc7400]) + if test x$gcc_cv_as_machine_directive != xyes; then + echo "*** This target requires an assembler supporting \".machine\"" >&2 + exit 1 + fi + conftest_s=' .text mfcr r3,128';; - *) conftest_s=' .machine power4 + *) conftest_s=' .machine power4 .text mfcr 3,128';; esac