From c973bc5cd4b6024ab430a41cae5b75c2c54fd55e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 2 Aug 2006 14:26:07 +0000 Subject: PR gas/2991 * acinclude.m4 (BFD_BINARY_FOPEN): Import this function from bfd/aclocal.m4. * configure.in: Run BFD_BINARY_FOPEN. * configure: Regenerate. * as.h: Look at USE_BINARY_FOPEN to decide which fopen-*.h header file to include. --- gas/configure | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'gas/configure') diff --git a/gas/configure b/gas/configure index 05851f4..166ae27 100755 --- a/gas/configure +++ b/gas/configure @@ -6214,8 +6214,9 @@ INCINTL= XGETTEXT= GMSGFMT= POSUB= -if test -f ../intl/config.intl; then - . ../intl/config.intl + +if test -f ../intl/config.intl; then + . ../intl/config.intl fi echo "$as_me:$LINENO: checking whether NLS is requested" >&5 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 @@ -8833,6 +8834,16 @@ fi +case "${host}" in +*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*) + +cat >>confdefs.h <<\_ACEOF +#define USE_BINARY_FOPEN 1 +_ACEOF + ;; +esac + + -- cgit v1.1