aboutsummaryrefslogtreecommitdiff
path: root/binutils/acconfig.h
AgeCommit message (Collapse)AuthorFilesLines
1999-04-16Initial creation of sourceware repositoryStan Shebs1-49/+0
1998-04-22 * Many files: Added gettext invocations around user-visibleTom Tromey1-0/+15
strings. * bucomm.h: Added gettext-related includes and defines. * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, HAVE_LC_MESSAGES): Define. * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and po/Makefile. Use AM_PROG_LEX. * Makefile.am (SUBDIRS): New macro. (POTFILES): Likewise. (po/POTFILES.in): New target. (LDADD): Added INTLLIBS. (objdump_LDADD): Likewise. (c__filt_LDADD): Likewise. (ar_LDADD): Likewise. (ranlib_LDADD): Likewise. (dlltool_LDADD): Likewise. (windres_LDADD): Likewise. * po/Make-in, po/POTFILES.in, po/binutils.pot: New files.
1997-08-06 * configure.in: Define TARGET in header file.Ian Lance Taylor1-0/+3
* acconfig.h (TARGET): Add #undef. * Makefile.am (version.o, bucomm.o): Remove special targets. * bucomm.c (target): Remove. * nm.c (program_name): Don't declare. (target): Make static. * size.c (target): Make static. * configure, config.in, Makefile.in: Rebuild.
1997-08-01 * Makefile.am: New file, based on old Makefile.in.Ian Lance Taylor1-0/+6
* acinclude.m4: New file, from old aclocal.m4. * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove shared library handling; now handled by libtool. Replace AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC, AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and AM_EXEEXT. Replace AC_PROG_INSTALL with AM_PROG_INSTALL. Remove stamp-h handling in AC_OUTPUT. * acconfig.h: Mention PACKAGE and VERSION. * stamp-h.in: New file. * Makefile.in: Now built with automake. * aclocal.m4: Now built with aclocal. * config.in, configure: Rebuild.
1997-03-18Tue Mar 18 16:39:55 1997 H.J. Lu <hjl@lucon.org>Ian Lance Taylor1-0/+3
* Many files: Add function prototypes. * ar.c (mri_emul, get_pos_bfd): Make static. * arlex.l: Include "libiberty.h". Don't declare strdup. Use xstrdup rather than strdup. * arparse.y (yyerror): Make argument const. Correct typo. * arsup.c (strdup): Don't declare. (ar_save): Use xstrdup rather than strdup. * filemode.c: Include "bucomm.h". * nm.c (usage): Make static. (print_symname): Make format and name const. * objcopy.c (cat): Remove. (copy_archive): Make output_target const. Use concat, not cat. (copy_file, simple_copy, smart_rename): Make arguments const. * objdump.c (read_section_stabs): Likewise. (print_section_stabs): Likewise. (display_target_tables): Don't declare getenv. * strings.c (strings_object_file): Change file to const. (print_strings): Change filename to const. * Makefile.in: Rebuild dependencies. Tue Mar 18 11:37:24 1997 Ian Lance Taylor <ian@cygnus.com> * configure.in: Add BFD_NEED_DECLARATION(getenv). * acconfig.h: Add NEED_DECLARATION_GETENV. * bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV. * configure, config.in: Rebuild. * nlmconv.c (getenv): Don't declare.
1996-08-07Wed Aug 7 14:27:33 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor1-0/+6
* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_SBRK): New macro. * configure, config.in: Rebuild. * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR. (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
1995-11-21 * configure.in: Use BFD_NEED_DECLARATION.Ian Lance Taylor1-3/+5
* acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section. * configure, config.in: Rebuild with autoconf 2.6.
1995-09-06 * configure.in: Rewrite to use autoconf.Ian Lance Taylor1-0/+14
* aclocal.m4: New file. * configure: New file, built by autoconf. * acconfig.h: New file. * config.h.in: New file, built by autoheader. * Makefile.in: Various changes for new configure script. Also: (PROGS): Remove $(SYSINFO_PROG). (ALL_CFLAGS): Remove $(TDEFINES). (version.o): Use $(ALL_CFLAGS). (cplus-dem.o, dlltool.o, nlmconv.o): Likewise. (sysdump.o): Depend upon bucomm.h and config.h. (srconv.o, arsup.o, strings.o): Depend upon config.h. (filemode.o): Don't depend upon ../bfd/sysdep.h. (bucomm.o): Depend upon config.h, not ../bfd/sysdep.h. (size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise. (nlmheader.o, nlmconv.o): Likewise. (distclean): Don't remove sysdep.h. * bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h". Include "fopen-same.h" or "fopen-bin.h", based on USE_BINARY_FOPEN. Include <errno.h>, and declare errno if it is not a macro. Include <unistd.h>, <string.h>, <strings.h>, <stdlib.h>, and <fcntl.h> if they are present. Declare strchr, strrchr, and strstr if no string header file exists. Include <sys/file.h> if it exists and <fcntl.h> does not. Define O_RDONLY and O_RDWR if necessary. * ar.c: Don't include "sysdep.h". Do include <sys/types.h> and <sys/stat.h>. Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME. Use HAVE_UTIMES rather than !USE_UTIME. Don't include <errno.h>, and don't declare errno. * arsup.c: Don't include <sysdep.h>. * bucomm.c: Don't include "sysdep.h". Include <stdio.h>, <sys/types.h>, and <sys/stat.h>. Include <time.h> if it defines time_t. Define time_t if necessary. * coffdump.c: Don't include "sysdep.h". * coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise. * srconv.c, strings.c: Likewise. * nm.c: Don't include "sysdep.h". Don't try to define HAVE_SBRK. * objcopy.c: Don't include "sysdep.h". Include <sys/types.h> and <sys/stat.h>. (simple_copy): Use creat rather than assuming that O_CREAT is defined. * objdump.c: Don't include "sysdep.h". Use NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED. * sysdump.c: Include "bfd.h" and "bucomm.h". Don't include "sysdep.h" or <stdlib.h>. (dump_symbol_info): Rename from symbol_info. Change all callers.