diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-05-31 15:14:46 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-05-31 15:14:46 +0000 |
commit | 20e95c23ab729a24aa7533de3a61b6e2c49506ea (patch) | |
tree | 7da8856acd79a82104cd1d35fed0e05780d0caca /bfd/configure.in | |
parent | 38365cdd8f6f2101eeb1d85c6cc3235f99557ad4 (diff) | |
download | gdb-20e95c23ab729a24aa7533de3a61b6e2c49506ea.zip gdb-20e95c23ab729a24aa7533de3a61b6e2c49506ea.tar.gz gdb-20e95c23ab729a24aa7533de3a61b6e2c49506ea.tar.bz2 |
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 'bfd/configure.in')
-rw-r--r-- | bfd/configure.in | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/bfd/configure.in b/bfd/configure.in index 1f0d2ca..41d55f6 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -85,7 +85,8 @@ AC_PROG_CC AC_GNU_SOURCE ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi" -CY_GNU_GETTEXT +ZW_GNU_GETTEXT_SISTER_DIR +AM_PO_SUBDIRS # Permit host specific settings. . ${srcdir}/configure.host @@ -962,7 +963,28 @@ esac rm -f doc/config.status AC_CONFIG_FILES([Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in]) -AC_CONFIG_COMMANDS([default],[[sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po/Makefile.in > po/Makefile]],[[]]) + +dnl We need this duplication, even though we use AM_PO_SUBDIRS, because of +dnl our two separate POTFILES. Yuck. +AC_CONFIG_COMMANDS([default], +[[ +case "$srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; +esac +POFILES= +GMOFILES= +for lang in dummy $OBSOLETE_ALL_LINGUAS; do + if test $lang != dummy; then + POFILES="$POFILES $srcdirpre$lang.po" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + fi +done +sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \ + -e '/BLD-POTFILES =/r po/BLD-POTFILES' \ + -e "s,@POFILES@,$POFILES," \ + -e "s,@GMOFILES@,$GMOFILES," \ + po/Makefile.in > po/Makefile]],[[]]) dnl Required by html and install-html AC_SUBST(datarootdir) |