source: rtems/aclocal/i386-gas-code16.m4 @ 458d4e66

4.104.114.84.95
Last change on this file since 458d4e66 was 7e03d10, checked in by Joel Sherrill <joel.sherrill@…>, on 03/29/99 at 21:08:04

Patch from Ralf Corsepius <corsepiu@…>:

Yet some more modifications, I would recommend to be considered before
releasing a snapshot:

  1. Cleanup to aclocal/ cvs rm -f aclocal/cygwin.m4 cvs rm -f aclocal/exeext.m4

They are neither used nor needed anymore, however they also don't
disturb (we use autoconf-2.13's AC_EXEEXT instead, now)

----------

  1. rtems-rc-19990328-0.diff Some (minor) bug-fixes:
  • make/Templates/Makefile.inc.in: use the new installation directory ($(prefix)/ instead of $(prefix)/rtems/)
  • c/src/exec/score/tools/generic/Makefile.am: added line to include local.am
  • c/src/exec/score/tools/*/configure.in: added CVS Id header

----------

  1. rtems-rc-19990328-1.diff Enhancements and cleanups to autogen, rtems-polish.sh, configure.in etc.
  • autogen: Use the file "VERSION" to detect RTEMS toplevel directory, extended usage-message, use "find -print"
  • c/update-tools/cipolish: New script to beautify configure.in scripts
  • c/update-tools/rtems-polish.sh: Use the file "VERSION" to detect RTEMS toplevel directory, extended usage-message, added variable for perl scripts' subdirectory, use "find -print", cipolish support, new options -ac -am -ci.
  • aclocal/*.m4, configure.in: moved some AC_SUBST lines to aclocal/*.m4 (reduces size of configure.in scripts, eases splitting configure.in scripts).

----------

  • Property mode set to 100644
File size: 621 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 "${target_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_FOR_TARGET -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])
27
Note: See TracBrowser for help on using the repository browser.