summaryrefslogtreecommitdiff
path: root/gdb/configure.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/configure.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/configure.in')
-rw-r--r--gdb/configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 8d304594f3a..de84a3b7f88 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -33,10 +33,11 @@ AM_PROG_CC_STDC
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
AC_CANONICAL_SYSTEM
-dnl gdb doesn't use gettext, but bfd does. We call this to ensure we
-dnl link with the correct libraries.
+dnl Set up for gettext. PACKAGE is used when we call bindtextdomain.
ALL_LINGUAS=
CY_GNU_GETTEXT
+AC_DEFINE(PACKAGE, "gdb", [Name of this package. ])
+
dnl List of object files added by configure.