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

4.11
Last change on this file since 4778c6e0 was 9550125e, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 26, 2003 at 6:18:03 AM

2003-11-26 Ralf Corsepius <corsepiu@…>

  • aclocal/bsp-arg-enable.m4, aclocal/canonical-target-name.m4, aclocal/canonicalize-tools.m4, aclocal/check-custom-bsp.m4, aclocal/check-posix.m4, aclocal/check-rdbg.m4, aclocal/check-tool.m4, aclocal/config-subdirs.m4, aclocal/enable-bare.m4, aclocal/enable-cxx.m4, aclocal/enable-itron.m4, aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4, aclocal/enable-posix.m4, aclocal/enable-rdbg.m4, aclocal/enable-rtemsbsp.m4, aclocal/env-rtemsbsp.m4, aclocal/gcc-isystem.m4, aclocal/gcc-pipe.m4, aclocal/gcc-specs.m4, aclocal/i386-gas-code16.m4, aclocal/multilib.m4, aclocal/path-ksh.m4, aclocal/prog-cc.m4, aclocal/prog-cxx.m4, aclocal/project-root.m4, aclocal/rtems-top.m4, aclocal/target.m4, aclocal/tool-paths.m4: Fix underquoting to silence automake-1.8.
  • Property mode set to 100644
File size: 740 bytes
Line 
1dnl
2dnl  $Id$
3dnl
4
5dnl check for i386 gas supporting 16 bit mode
6dnl     - binutils 2.9.1.0.7 and higher
7
8AC_DEFUN([RTEMS_I386_GAS_CODE16],
9[ if test "${host_cpu}" = "i386"; then
10    AC_CACHE_CHECK([for 16 bit mode assembler support],
11      rtems_cv_prog_gas_code16,
12      [cat > conftest.s << EOF
13         .code16
14         data32
15         addr32
16         lgdt 0
17EOF
18      if AC_TRY_COMMAND($AS -o conftest.o conftest.s); then
19        rtems_cv_prog_gas_code16=yes
20      else
21        rtems_cv_prog_gas_code16=no
22      fi])
23    RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
24  fi
25  AC_SUBST(RTEMS_GAS_CODE16)
26  if test x"${RTEMS_GAS_CODE16}" = x"yes";
27  then
28    AC_DEFINE_UNQUOTED(NEW_GAS,1,[if using 16 bit mode assembler support])
29  fi
30])
31
Note: See TracBrowser for help on using the repository browser.