6 echo "Usage: update.sh /path/to/libcharset" 1>&2
10 if test -f $ORIGINAL/lib/localcharset.c ; then : ; else
11 echo "Usage: update.sh /path/to/libcharset" 1>&2
15 VERSION=`grep VERSION= $ORIGINAL/configure.in | sed s/VERSION=//`
17 for i in localcharset.c ref-add.sin ref-del.sin config.charset ; do
21 cp $ORIGINAL/include/libcharset.h.in ./libcharset.h
23 for i in codeset.m4 glibc21.m4 ; do
27 patch -p0 < libcharset-glib.patch
29 echo "dnl From libcharset $VERSION" > ../../aclibcharset.m4