diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-19 00:52:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-19 16:18:07 -0400 |
commit | ce3ec98acd2f344ae911de3f41dd2e3c6c68b141 (patch) | |
tree | fa9a1ef1190111696b857178593ee7a1b777c65a /sim/moxie | |
parent | bc56166f66244a9e3abc62c7bc595a6f800f23b0 (diff) | |
download | gdb-ce3ec98acd2f344ae911de3f41dd2e3c6c68b141.zip gdb-ce3ec98acd2f344ae911de3f41dd2e3c6c68b141.tar.gz gdb-ce3ec98acd2f344ae911de3f41dd2e3c6c68b141.tar.bz2 |
sim: unify gettext/intl probing logic
Move these options up to the common dir so we only test & export
them once across all ports.
Diffstat (limited to 'sim/moxie')
-rw-r--r-- | sim/moxie/aclocal.m4 | 1 | ||||
-rwxr-xr-x | sim/moxie/configure | 84 |
2 files changed, 0 insertions, 85 deletions
diff --git a/sim/moxie/aclocal.m4 b/sim/moxie/aclocal.m4 index 3959c2c..680d267 100644 --- a/sim/moxie/aclocal.m4 +++ b/sim/moxie/aclocal.m4 @@ -98,7 +98,6 @@ AC_DEFUN([_AM_SUBST_NOTMAKE]) # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) -m4_include([../../config/gettext-sister.m4]) m4_include([../../config/override.m4]) m4_include([../m4/sim_ac_common.m4]) m4_include([../m4/sim_ac_option_hardware.m4]) diff --git a/sim/moxie/configure b/sim/moxie/configure index a6c612a..277b4e2 100755 --- a/sim/moxie/configure +++ b/sim/moxie/configure @@ -594,18 +594,6 @@ DTC MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE -CATOBJEXT -GENCAT -INSTOBJEXT -DATADIRNAME -CATALOGS -POSUB -GMSGFMT -XGETTEXT -INCINTL -LIBINTL_DEP -LIBINTL -USE_NLS target_alias host_alias build_alias @@ -1706,78 +1694,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -ALL_LINGUAS= -# If we haven't got the data from the intl directory, -# assume NLS is disabled. -USE_NLS=no -LIBINTL= -LIBINTL_DEP= -INCINTL= -XGETTEXT= -GMSGFMT= -POSUB= - -if test -f ../../intl/config.intl; then - . ../../intl/config.intl -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -$as_echo_n "checking whether NLS is requested... " >&6; } -if test x"$USE_NLS" != xyes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - -$as_echo "#define ENABLE_NLS 1" >>confdefs.h - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 -$as_echo_n "checking for catalogs to be installed... " >&6; } - # Look for .po and .gmo files in the source directory. - 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/po/!!" -e "s!\\\\.po!.gmo!"` - lang=`echo $cat | sed -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" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 -$as_echo "$LINGUAS" >&6; } - - - DATADIRNAME=share - - INSTOBJEXT=.mo - - GENCAT=gencat - - CATOBJEXT=.gmo - -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |