summaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-06-21 23:48:41 +0000
committerTom Tromey <tromey@redhat.com>2002-06-21 23:48:41 +0000
commit679ee7dd5ac0fcc4b1b2b543f4db6acdacf670f6 (patch)
treec5771a84733f7ae5d504ba7b0c72757790450ad6 /gdb/Makefile.in
parent70291d2e7bb3458797845f32469d147ef881e3ba (diff)
downloadgdb-679ee7dd5ac0fcc4b1b2b543f4db6acdacf670f6.tar.gz
* gdb_locale.h: New file.
* Makefile.in (GDB_CFLAGS): Define LOCALEDIR. (defs_h): Added gdb_locale.h. * configure, config.in: Rebuilt. * configure.in (PACKAGE): Define. * defs.h: Include gdb_locale.h. * main.c (captured_main): Call setlocale, bindtextdomain,
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 30da3c96bb6..5b051531e50 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -312,7 +312,7 @@ CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
# your system doesn't have fcntl.h in /usr/include (which is where it
# should be according to Posix).
DEFS = @DEFS@
-GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config $(DEFS)
+GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config -DLOCALEDIR="\"$(prefix)/share/locale\"" $(DEFS)
# M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
# from the config directory.
@@ -619,7 +619,7 @@ completer_h = completer.h
cp_abi_h = cp-abi.h
dcache_h = dcache.h
defs_h = defs.h $(xm_h) $(tm_h) $(nm_h) config.status config.h \
- gdbarch.h ui-file.h $(INCLUDE_DIR)/gdb/signals.h
+ gdbarch.h ui-file.h $(INCLUDE_DIR)/gdb/signals.h gdb_locale.h
doublest_h = doublest.h $(floatformat_h)
dwarf2cfi_h = dwarf2cfi.h
event_loop_h = event-loop.h