diff options
author | cvs2svn <> | 2003-10-14 22:28:30 +0000 |
---|---|---|
committer | cvs2svn <> | 2003-10-14 22:28:30 +0000 |
commit | 2e8953822c8ac277eb9807a0c1d790d787c34821 (patch) | |
tree | c849ca1331632ef94c68d18b7bc17c22871fdf37 /config/gettext.m4 | |
parent | 41fa5e20a48fc3cd64754c03111c849ec6dd9c68 (diff) | |
download | newlib-carlton_dictionary-20021223-merge.zip newlib-carlton_dictionary-20021223-merge.tar.gz newlib-carlton_dictionary-20021223-merge.tar.bz2 |
This commit was manufactured by cvs2svn to create tagcarlton_dictionary-20021223-merge
'carlton_dictionary-20021223-merge'.
Sprout from drow-cplus-branch 2003-10-14 22:28:29 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'drow-cplus-'
Cherrypick from master 2002-12-23 11:53:12 UTC Alan Modra <modra@gmail.com> ' * bfdlink.h (struct bfd_link_info): Add "strip_discarded".':
COPYING.NEWLIB
ChangeLog
Makefile.def
Makefile.in
Makefile.tpl
config/ChangeLog
config/mh-cygwin
configure
configure.in
include/ChangeLog
include/ansidecl.h
include/bfdlink.h
include/coff/ChangeLog
include/coff/ecoff.h
include/coff/xcoff.h
include/elf/ChangeLog
include/elf/dwarf2.h
include/elf/internal.h
include/elf/m68hc11.h
include/elf/mmix.h
include/elf/sh.h
include/elf/xstormy16.h
include/getopt.h
include/libiberty.h
include/opcode/ChangeLog
include/opcode/arc.h
include/opcode/cgen.h
include/opcode/h8300.h
include/opcode/hppa.h
include/opcode/i860.h
include/opcode/ia64.h
include/opcode/m88k.h
include/opcode/ns32k.h
include/opcode/pj.h
include/opcode/tic4x.h
include/partition.h
ltcf-c.sh
ltcf-gcj.sh
src-release
Delete:
config/acx.m4
config/gettext.m4
config/mpw-mh-mpw
config/mpw/ChangeLog
config/mpw/MoveIfChange
config/mpw/README
config/mpw/forward-include
config/mpw/g-mpw-make.sed
config/mpw/mpw-touch
config/mpw/mpw-true
config/mpw/null-command
config/mpw/open-brace
config/mpw/tr-7to8-src
config/mpw/true
config/no-executables.m4
config/progtest.m4
include/elf/iq2000.h
include/elf/msp430.h
include/elf/ppc64.h
include/elf/xtensa.h
include/gdb/fileio.h
include/opcode/msp430.h
include/xtensa-config.h
include/xtensa-isa-internal.h
include/xtensa-isa.h
Diffstat (limited to 'config/gettext.m4')
-rw-r--r-- | config/gettext.m4 | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/config/gettext.m4 b/config/gettext.m4 deleted file mode 100644 index d10aae8..0000000 --- a/config/gettext.m4 +++ /dev/null @@ -1,66 +0,0 @@ -# intl sister-directory configuration rules. -# - -# The idea behind this macro is that there's no need to repeat all the -# autoconf probes done by the intl directory - it's already done them -# for us. In fact, there's no need even to look at the cache for the -# answers. All we need to do is nab a few pieces of information. -# The intl directory is set up to make this easy, by generating a -# small file which can be sourced as a shell script; then we produce -# the necessary substitutions and definitions for this directory. - -AC_DEFUN([ZW_GNU_GETTEXT_SISTER_DIR], -[# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no AC_SUBST(USE_NLS) -LIBINTL= AC_SUBST(LIBINTL) -LIBINTL_DEP= AC_SUBST(LIBINTL_DEP) -INCINTL= AC_SUBST(INCINTL) -XGETTEXT= AC_SUBST(XGETTEXT) -GMSGFMT= AC_SUBST(GMSGFMT) -POSUB= AC_SUBST(POSUB) -if test -f ../intl/config.intl; then - . ../intl/config.intl -fi -AC_MSG_CHECKING([whether NLS is requested]) -if test x"$USE_NLS" != xyes; then - AC_MSG_RESULT(no) -else - AC_MSG_RESULT(yes) - AC_DEFINE(ENABLE_NLS, 1, - [Define to 1 if translation of program messages to the - user's native language is requested.]) - - 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) -fi]) |