* configure.in: Define and substitute GDBINIT. Change AC_OUTPUT

line to crate ${GDBINIT} rather than .gdbinit.
	* configure, Makefile.in, doc/Makefile.in: Rebuild.
This commit is contained in:
Ian Lance Taylor 1999-08-08 15:56:55 +00:00
parent 6ca3858e7c
commit 76a279225c
5 changed files with 200 additions and 171 deletions

View file

@ -1,3 +1,9 @@
1999-08-08 Ian Lance Taylor <ian@zembu.com>
* configure.in: Define and substitute GDBINIT. Change AC_OUTPUT
line to crate ${GDBINIT} rather than .gdbinit.
* configure, Makefile.in, doc/Makefile.in: Rebuild.
Fri Aug 6 12:12:44 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip, case '?'): Add missing break.

View file

@ -72,6 +72,7 @@ CC = @CC@
DATADIRNAME = @DATADIRNAME@
DLLTOOL = @DLLTOOL@
EXEEXT = @EXEEXT@
GDBINIT = @GDBINIT@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GT_NO = @GT_NO@
@ -1599,7 +1600,7 @@ DEP_mips_multi = $(DEP_mips_coff) $(DEP_mips_ecoff) \
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = .gdbinit
CONFIG_CLEAN_FILES = ${GDBINIT}
noinst_PROGRAMS = as-new$(EXEEXT) gasp-new$(EXEEXT)
PROGRAMS = $(noinst_PROGRAMS)
@ -1687,7 +1688,7 @@ distclean-hdr:
-rm -f config.h
maintainer-clean-hdr:
.gdbinit: $(top_builddir)/config.status gdbinit.in
${GDBINIT}: $(top_builddir)/config.status gdbinit.in
cd $(top_builddir) && CONFIG_FILES=$@:gdbinit.in CONFIG_HEADERS= $(SHELL) ./config.status
mostlyclean-noinstPROGRAMS:

347
gas/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -43,6 +43,16 @@ using_cgen=no
# Generate a header file
AM_CONFIG_HEADER(config.h:config.in)
# If we are on a DOS filesystem, we must use gdb.ini rather than
# .gdbinit.
GDBINIT=".gdbinit"
case "${host}" in
*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
GDBINIT="gdb.ini"
;;
esac
AC_SUBST(GDBINIT)
te_file=generic
# Makefile target for installing gas in $(tooldir)/bin.
@ -757,7 +767,7 @@ dnl the build directory which include the right .h file. Make sure
dnl the old symlinks don't exist, so that a reconfigure in an existing
dnl directory behaves reasonably.
AC_OUTPUT(Makefile doc/Makefile .gdbinit:gdbinit.in po/Makefile.in:po/Make-in,
AC_OUTPUT(Makefile doc/Makefile ${GDBINIT}:gdbinit.in po/Makefile.in:po/Make-in,
[rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h

View file

@ -72,6 +72,7 @@ CC = @CC@
DATADIRNAME = @DATADIRNAME@
DLLTOOL = @DLLTOOL@
EXEEXT = @EXEEXT@
GDBINIT = @GDBINIT@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GT_NO = @GT_NO@