aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-22 20:39:46 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-22 20:39:46 +0000
commitbb0cb4db08103ccb12840275b162cfe8cc4501ce (patch)
tree6edf82820de8d712ad4193c914054927f3e77882 /binutils/configure.in
parentbe2acf275637e78bd900b7cce39af180f5c53cd3 (diff)
downloadfsf-binutils-gdb-bb0cb4db08103ccb12840275b162cfe8cc4501ce.zip
fsf-binutils-gdb-bb0cb4db08103ccb12840275b162cfe8cc4501ce.tar.gz
fsf-binutils-gdb-bb0cb4db08103ccb12840275b162cfe8cc4501ce.tar.bz2
Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:
* configure.in: Define EXECUTABLE_SUFFIX. * dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on ANSI_PROTOTYPES, not __STDC__. (outfile): Remove. (gen_exp_file): Change uses of outfile to use alloca. (make_one_lib_file, make_head, make_tail): Likewise. (gen_lib_file): Likewise. (look_for_prog): New static function. (deduce_name): Rewrite to use look_for_prog. (mcore_elf_gen_out_file): Use dyn_string_t rather than outfile. * dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>, <stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either <stdarg.h> or <varargs.h>. (driver_name): Initialize to NULL, not "gcc". (dlltool_name): Initialize to NULL, not "dlltool". (display, inform, look_for_prog, deduce_name): New static functions. (usage): Mention -mno-cygwin. (OPTION_MNO_CYGWIN): Define. (main): Handle -mno-cygwin. Deduce driver_name and dlltool_name. * resrc.c (look_for_default): Make static. Remove unused local path. Check using EXECUTABLE_SUFFIX. (read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX. * Makefile.am: Rebuild dependencies. (dllwrap_LDADD): Add $(INTLLIBS). * configure, Makefile.in, config.in: Rebuild.
Diffstat (limited to 'binutils/configure.in')
-rw-r--r--binutils/configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/configure.in b/binutils/configure.in
index 7da8ab6..5e7bd3f 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -44,6 +44,8 @@ CY_GNU_GETTEXT
AM_MAINTAINER_MODE
AC_EXEEXT
+AC_DEFINE_UNQUOTED(EXECUTABLE_SUFFIX, "${EXEEXT}",
+ [Suffix used for executables, if any.])
# host-specific stuff: