source: rtems/c/src/aclocal/i386-gas-code16.m4 @ ae55da72

4.115
Last change on this file since ae55da72 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 726 bytes
Line 
1dnl
2
3dnl check for i386 gas supporting 16 bit mode
4dnl     - binutils 2.9.1.0.7 and higher
5
6AC_DEFUN([RTEMS_I386_GAS_CODE16],
7[ if test "${host_cpu}" = "i386"; then
8    AC_CACHE_CHECK([for 16 bit mode assembler support],
9      rtems_cv_prog_gas_code16,
10      [cat > conftest.s << EOF
11         .code16
12         data32
13         addr32
14         lgdt 0
15EOF
16      if AC_TRY_COMMAND($AS -o conftest.o conftest.s); then
17        rtems_cv_prog_gas_code16=yes
18      else
19        rtems_cv_prog_gas_code16=no
20      fi])
21    RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
22  fi
23  AC_SUBST(RTEMS_GAS_CODE16)
24  if test x"${RTEMS_GAS_CODE16}" = x"yes";
25  then
26    AC_DEFINE_UNQUOTED(NEW_GAS,1,[if using 16 bit mode assembler support])
27  fi
28])
29
Note: See TracBrowser for help on using the repository browser.