aboutsummaryrefslogtreecommitdiff
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
commit0fbb3da7b7698d851a815dd5b2f0735358321d8c (patch)
treed96d5c64cd433a5594ff3a42209a7a70ebe8b390 /gdb/configure.in
parent3558860c6112499e15ab430b849c5c17dc725a68 (diff)
downloadgdb-0fbb3da7b7698d851a815dd5b2f0735358321d8c.zip
gdb-0fbb3da7b7698d851a815dd5b2f0735358321d8c.tar.gz
gdb-0fbb3da7b7698d851a815dd5b2f0735358321d8c.tar.bz2
* 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 8d30459..de84a3b 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.