comparison setup-gettext @ 4563:d6491dc2b7b2

[gaim-migrate @ 4844] Add a comment for the thing we add to acinclude.m4. This way, Paco-Paco will stop randomly deleting it. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 09 Feb 2003 19:08:07 +0000
parents cd42bf49e2bb
children c92584ee753d
comparison
equal deleted inserted replaced
4562:2c8372d4fb2a 4563:d6491dc2b7b2
19 # License along with this program; if not, write to the Free 19 # License along with this program; if not, write to the Free
20 # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20 # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 # MA 02111-1307 USA 21 # MA 02111-1307 USA
22 # 22 #
23 23
24 VERSION=0.1.3 24 VERSION=0.1.4
25 25
26 VERBOSE=0 26 VERBOSE=0
27 27
28 parse_gettext_version() { 28 parse_gettext_version() {
29 GETTEXT_VERSION=`$GETTEXT_TOOL --version | sed -n 's/^.*\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\).*$/\1.\2.\3/p'` 29 GETTEXT_VERSION=`$GETTEXT_TOOL --version | sed -n 's/^.*\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\).*$/\1.\2.\3/p'`
63 cp autogen.sh .tmp-autogen.sh 63 cp autogen.sh .tmp-autogen.sh
64 sed -e 's/\(gettextize\|autopoint\) --version/.\/setup-gettext --gettext-tool/1' -e 's/^\(echo.*|[\t ]*\)\?\(gettextize\|autopoint\) -.*$/.\/setup-gettext/1' < .tmp-autogen.sh > autogen.sh 64 sed -e 's/\(gettextize\|autopoint\) --version/.\/setup-gettext --gettext-tool/1' -e 's/^\(echo.*|[\t ]*\)\?\(gettextize\|autopoint\) -.*$/.\/setup-gettext/1' < .tmp-autogen.sh > autogen.sh
65 rm .tmp-autogen.sh 65 rm .tmp-autogen.sh
66 } 66 }
67 67
68 echo 'dnl Added by setup-gettext. Do not remove this' >> acinclude.m4
69 echo 'dnl unless you know what you are doing.' >> acinclude.m4
68 echo 'AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])' >> acinclude.m4 70 echo 'AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])' >> acinclude.m4
69 } 71 }
70 72
71 backup_m4() { 73 backup_m4() {
72 [ -d m4 ] && mv m4 m4~ 74 [ -d m4 ] && mv m4 m4~