diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-09-30 20:58:39 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-09-30 20:58:39 +0000 |
commit | 2c3840b563a453eb6f311cdc20ff7dd1ef365665 (patch) | |
tree | 9fe548746c7441048412c0442489fd4967507fcf /aclocal | |
parent | Corrected TYPOs in the file (diff) | |
download | rtems-2c3840b563a453eb6f311cdc20ff7dd1ef365665.tar.bz2 |
Added new autoconf test for i386 code16/code32 support. The guts of the
test were suggested by Ian Taylor <ian@airs.com> and Joel did the
hard part of putting it in aclocal and editting all the offending
Makefiles and source code which could use this feature.
Diffstat (limited to 'aclocal')
-rw-r--r-- | aclocal/i386-gas-code16.m4 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/aclocal/i386-gas-code16.m4 b/aclocal/i386-gas-code16.m4 index a55fb77954..b634847b7a 100644 --- a/aclocal/i386-gas-code16.m4 +++ b/aclocal/i386-gas-code16.m4 @@ -3,6 +3,7 @@ dnl $Id$ dnl dnl check for i386 gas supporting 16 bit mode +dnl - binutils 2.9.1.0.7 and higher AC_DEFUN(RTEMS_I386_GAS_CODE16, if test "${target_cpu}" = "i386"; then @@ -17,9 +18,7 @@ EOF else rtems_cv_prog_gas_code16=no fi]) - if test "$rtems_cv_prog_gas_code16" = "yes"; then - AC_DEFINE(RTEMS_PROG_GAS_CODE16) - fi + RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16" fi ) |