summaryrefslogtreecommitdiff
path: root/jni/iconv/libcharset/tools/all-locales
diff options
context:
space:
mode:
authorJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-04-04 23:59:51 +0900
committerJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-04-04 23:59:51 +0900
commit7311a3ea25980c98307156bb16cf9a31b9228473 (patch)
treed36d9974af4ce083fa4dece5bdcb3eea7883190e /jni/iconv/libcharset/tools/all-locales
parent08b3c31dd0d0b12d63673691da72a40ae108a0d9 (diff)
mkxp fixes
Diffstat (limited to 'jni/iconv/libcharset/tools/all-locales')
-rwxr-xr-xjni/iconv/libcharset/tools/all-locales27
1 files changed, 0 insertions, 27 deletions
diff --git a/jni/iconv/libcharset/tools/all-locales b/jni/iconv/libcharset/tools/all-locales
deleted file mode 100755
index 54283b8..0000000
--- a/jni/iconv/libcharset/tools/all-locales
+++ /dev/null
@@ -1,27 +0,0 @@
-#! /bin/sh
-# Prints the list of all locale names, one per line.
-
-locale -a
-test $? = 0 && exit 0
-
-host=`/bin/sh ../build-aux/config.guess`
-host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
-host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
-host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
-
-case "$host_os" in
- sunos* | solaris*)
- cd /usr/lib/locale && ls -1
- ;;
- freebsd*)
- cd /usr/share/locale && ls -1
- ;;
- darwin* | openbsd*)
- echo C
- cd /usr/share/locale && ls -1 */LC_CTYPE | sed -e 's,/LC_CTYPE$,,'
- ;;
- *)
- echo "Don't know how to determine list of locales on $host_os" 1>&2
- exit 1
- ;;
-esac