| 40 |
50 |
| 41 echo "Generating configuration files for Gaim, please wait...." |
51 echo "Generating configuration files for Gaim, please wait...." |
| 42 echo; |
52 echo; |
| 43 |
53 |
| 44 echo "Running gettextize, please ignore non-fatal messages...." |
54 echo "Running gettextize, please ignore non-fatal messages...." |
| 45 echo n | gettextize --copy --force || exit; |
55 |
| |
56 # Get the major version of gettext. |
| |
57 GETTEXT_VER=`gettextize --version | sed -n 's/^.*[0-9]\+\.\([0-9]\+\)\..*$/\1/p'` |
| |
58 |
| |
59 # Decide how we want to run gettext. |
| |
60 if [ $GETTEXT_VER -eq 11 ]; then |
| |
61 mv -f m4 m4~ |
| |
62 |
| |
63 echo n | gettextize --copy --force --intl --no-changelog || abort |
| |
64 |
| |
65 # Now restore the things that brain-dead gettext modified. |
| |
66 [ -e configure.in~ ] && mv -f configure.in~ configure.in |
| |
67 [ -e Makefile.am~ ] && mv -f Makefile.am~ Makefile.am |
| |
68 rm -rf m4 |
| |
69 mv -f m4~ m4 |
| |
70 |
| |
71 mv -f po/Makevars.template po/Makevars |
| |
72 else |
| |
73 echo n | gettextize --copy --force || exit; |
| |
74 fi |
| 46 echo "Running libtoolize, please ignore non-fatal messages...." |
75 echo "Running libtoolize, please ignore non-fatal messages...." |
| 47 echo n | libtoolize --copy --force || exit; |
76 echo n | libtoolize --copy --force || exit; |
| 48 |
77 |
| 49 aclocal -I m4 $ACLOCAL_FLAGS || exit; |
78 aclocal -I m4 $ACLOCAL_FLAGS || exit; |
| 50 autoheader || exit; |
79 autoheader || exit; |