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

4.115
Last change on this file since 0b344f34 was 65c6425, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 17:24:46

Remove CVS Id Strings (manual edits after script)

These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.

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