diff options
author | Daniel Jacobowitz <dan@debian.org> | 2006-05-31 15:14:46 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2006-05-31 15:14:46 +0000 |
commit | 885da3f6b140d493ebdc17052207d808b243474c (patch) | |
tree | 4fc417e0895c29a2d87437b7bc0add1e1b64b0ed /gdb/configure.ac | |
parent | 33f5cac748386f7f14f4558a8b23bb4558ae3abc (diff) | |
download | gdb-885da3f6b140d493ebdc17052207d808b243474c.tar.gz |
Configury changes: update src repository (binutils, gdb, and rda) to use
config/gettext-sister.m4 instead of the old gettext.m4. Regenerate all
affected autotools files. Include intl in gdb releases again.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 42 |
1 files changed, 3 insertions, 39 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 0513b8dc5c8..906c9166c12 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -48,49 +48,13 @@ CONFIG_CLEAN= CONFIG_INSTALL= CONFIG_UNINSTALL= -dnl Set up for gettext. PACKAGE is used when we call bindtextdomain. - -CY_GNU_GETTEXT +dnl Set up for gettext. +ZW_GNU_GETTEXT_SISTER_DIR localedir='${datadir}/locale' AC_SUBST(localedir) -if test "x$POSUB" != x; then - - dnl Lifted from GCC's config/gettext.m4. - AC_MSG_CHECKING(for catalogs to be installed) - # Look for .po and .gmo files in the source directory. - CATALOGS= AC_SUBST(CATALOGS) - XLINGUAS= - for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do - # If there aren't any .gmo files the shell will give us the - # literal string "../path/to/srcdir/po/*.gmo" which has to be - # weeded out. - case "$cat" in *\**) - continue;; - esac - # The quadruple backslash is collapsed to a double backslash - # by the backticks, then collapsed again by the double quotes, - # leaving us with one backslash in the sed expression (right - # before the dot that mustn't act as a wildcard). - cat=`echo $cat | sed -e "s!$srcdir/!!" -e "s!\\\\.po!.gmo!"` - lang=`echo $cat | sed -e 's!po/!!' -e "s!\\\\.gmo!!"` - # The user is allowed to set LINGUAS to a list of languages to - # install catalogs for. If it's empty that means "all of them." - if test "x$LINGUAS" = x; then - CATALOGS="$CATALOGS $cat" - XLINGUAS="$XLINGUAS $lang" - else - case "$LINGUAS" in *$lang*) - CATALOGS="$CATALOGS $cat" - XLINGUAS="$XLINGUAS $lang" - ;; - esac - fi - done - LINGUAS="$XLINGUAS" - AC_MSG_RESULT($LINGUAS) - +if test x"$USE_NLS" = xyes; then CONFIG_ALL="$CONFIG_ALL all-po" CONFIG_CLEAN="$CONFIG_CLEAN clean-po" CONFIG_INSTALL="$CONFIG_INSTALL install-po" |