comparison setup-gettext @ 8065:afd6b3185274

[gaim-migrate @ 8761] setup-gettext 0.1.6. gettext 0.13.x should work now. I wish they'd fix their bugs. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 10 Jan 2004 20:03:59 +0000
parents c92584ee753d
children 904d03bfccce
comparison
equal deleted inserted replaced
8064:9b6bc1010054 8065:afd6b3185274
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.5 24 VERSION=0.1.6
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'`
177 backup_m4 177 backup_m4
178 [ $VERBOSE -eq 1 ] && echo " autopoint --force" 178 [ $VERBOSE -eq 1 ] && echo " autopoint --force"
179 echo n | autopoint --force || abort 179 echo n | autopoint --force || abort
180 restore_m4 180 restore_m4
181 181
182 if test $GETTEXT_MINOR_VERSION -eq 12; then 182 if test $GETTEXT_MINOR_VERSION -ge 12; then
183 cp po/Makefile.in.in po/.tmp-Makefile.in.in 183 cp po/Makefile.in.in po/.tmp-Makefile.in.in
184 sed -e 's#echo "\$(top_builddir)/\$(MKINSTALLDIRS)" ;; esac#echo "\$(MKINSTALLDIRS)" ;; esac#1' < po/.tmp-Makefile.in.in > po/Makefile.in.in 184 sed -e 's#echo "\$(top_builddir)/\$(MKINSTALLDIRS)" ;; esac#echo "\$(MKINSTALLDIRS)" ;; esac#1' < po/.tmp-Makefile.in.in > po/Makefile.in.in
185 rm po/.tmp-Makefile.in.in 185 rm po/.tmp-Makefile.in.in
186 fi 186 fi
187 else 187 else