summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorLuotao Fu <l.fu@pengutronix.de>2007-02-07 10:23:32 +0000
committerLuotao Fu <l.fu@pengutronix.de>2007-02-07 10:23:32 +0000
commitda6a43bb0049717f362d98a8141e290435ef83f6 (patch)
tree24265d354fbe46356723bff3afed70e3750d4d02 /configure.ac
parent14bd50de98dffa21494034ae531c65da04b77ef7 (diff)
downloadptxdist-da6a43bb0049717f362d98a8141e290435ef83f6.tar.gz
ptxdist-da6a43bb0049717f362d98a8141e290435ef83f6.tar.xz
added checking for localedef on host machine with belocs locales bin package
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6990 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1e36c79dc..2df42a80f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,7 +125,7 @@ if test -z "$LOCALEDEF"; then
fi
AC_MSG_CHECKING([localedef version])
-LOCALEDEF_VERSION=`$LOCALEDEF --version 2>/dev/null | $SED -ne "s/.*libc. \([[0-9\.]]*\)/\1/p"`
+LOCALEDEF_VERSION=`$LOCALEDEF --version 2>/dev/null | $SED -ne "s/.*[bin|libc]. \([[0-9\.]]*\)/\1/p"`
case "$LOCALEDEF_VERSION" in
2.[[01]]*) AC_MSG_ERROR([we need at least GNU localedef 2.2.x but found $LOCALEDEF_VERSION]) ;;
2.[[23456789]]*) ;;