Versions changed to 1.6.1.
[m17n/m17n-db.git] / get-glibc.sh
1 #!/bin/sh
2 VERSION=2.3.2
3
4 echo "Downloading glibc-$VERSION.tar.gz from http://ftp.gnu.org/gnu/glibc..."
5 if wget -q http://ftp.gnu.org/gnu/glibc/glibc-$VERSION.tar.gz; then
6   echo "Extracting the \"charmaps\" directory..."
7   if tar xfz glibc-$VERSION.tar.gz glibc-$VERSION/localedata/charmaps; then
8     :
9   else
10     echo "!! Can\'t find the \"charmaps\" directory in the tar ball."
11     exit 1
12   fi
13 else
14   echo "!! Downloading failed"
15   exit 1
16 fi
17
18 rm -f glibc-$VERSION.tar.gz
19 ./configure --with-charmaps=glibc-$VERSION/localedata/charmaps
20 echo "Ready to run make."