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.ac | sed s/VERSION=//`
17 for i
in localcharset.c ref-add.sin ref-del.sin config.charset
; do
21 for i
in libcharset.h localcharset.h
; do
22 cp $ORIGINAL/include
/$i.
in .
/$i
25 for i
in codeset.
m4 glibc21.
m4 ; do
29 patch -p0 < libcharset-glib.
patch
31 echo "dnl From libcharset $VERSION" > ..
/..
/aclibcharset.
m4