From 2c3840b563a453eb6f311cdc20ff7dd1ef365665 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 30 Sep 1998 20:58:39 +0000 Subject: Added new autoconf test for i386 code16/code32 support. The guts of the test were suggested by Ian Taylor 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. --- aclocal/i386-gas-code16.m4 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'aclocal') 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 ) -- cgit v1.2.3