aboutsummaryrefslogtreecommitdiff
path: root/sim/aarch64
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-19 00:52:10 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-19 16:18:07 -0400
commitce3ec98acd2f344ae911de3f41dd2e3c6c68b141 (patch)
treefa9a1ef1190111696b857178593ee7a1b777c65a /sim/aarch64
parentbc56166f66244a9e3abc62c7bc595a6f800f23b0 (diff)
downloadgdb-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/aarch64')
-rw-r--r--sim/aarch64/aclocal.m41
-rwxr-xr-xsim/aarch64/configure84
2 files changed, 0 insertions, 85 deletions
diff --git a/sim/aarch64/aclocal.m4 b/sim/aarch64/aclocal.m4
index 3959c2c..680d267 100644
--- a/sim/aarch64/aclocal.m4
+++ b/sim/aarch64/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/aarch64/configure b/sim/aarch64/configure
index a7976b2..653a48f 100755
--- a/sim/aarch64/configure
+++ b/sim/aarch64/configure
@@ -593,18 +593,6 @@ cgen_breaks
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
@@ -1705,78 +1693,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; }