diff options
author | Nick Clifton <nickc@redhat.com> | 2006-08-02 14:26:07 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-08-02 14:26:07 +0000 |
commit | c973bc5cd4b6024ab430a41cae5b75c2c54fd55e (patch) | |
tree | 48241288762d48451ef8c5eb6c4121309d665469 /gas/configure | |
parent | 87177905630953bf5b7ba6ed7938c2a483873e07 (diff) | |
download | binutils-c973bc5cd4b6024ab430a41cae5b75c2c54fd55e.zip binutils-c973bc5cd4b6024ab430a41cae5b75c2c54fd55e.tar.gz binutils-c973bc5cd4b6024ab430a41cae5b75c2c54fd55e.tar.bz2 |
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.
Diffstat (limited to 'gas/configure')
-rwxr-xr-x | gas/configure | 15 |
1 files changed, 13 insertions, 2 deletions
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 + + |