comparison autogen.sh @ 13187:7e34397e134e

[gaim-migrate @ 15550] Finish the switch to glib-gettext. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 08 Feb 2006 21:01:56 +0000
parents 5adc0c9da9f3
children 44a8d46ee3c1
comparison
equal deleted inserted replaced
13186:7df94dba7ab8 13187:7e34397e134e
1 #!/bin/sh 1 #!/bin/sh
2 2
3 SETUP_GETTEXT=./setup-gettext 3 (intltoolize --version) < /dev/null > /dev/null 2>&1 || {
4
5 ($SETUP_GETTEXT --gettext-tool) < /dev/null > /dev/null 2>&1 || {
6 echo; 4 echo;
7 echo "You must have gettext installed to compile Gaim"; 5 echo "You must have intltool installed to compile Gaim";
8 echo; 6 echo;
9 exit; 7 exit;
10 } 8 }
11 9
12 (libtoolize --version) < /dev/null > /dev/null 2>&1 || { 10 (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
31 } 29 }
32 30
33 echo "Generating configuration files for Gaim, please wait...." 31 echo "Generating configuration files for Gaim, please wait...."
34 echo; 32 echo;
35 33
36 # Backup the po/ChangeLog. This should prevent the annoying
37 # gettext ChangeLog modifications.
38
39 cp -p po/ChangeLog po/ChangeLog.save
40
41 echo "Running gettextize, please ignore non-fatal messages...."
42 $SETUP_GETTEXT
43
44 # Restore the po/ChangeLog file.
45 mv po/ChangeLog.save po/ChangeLog
46
47 echo "Running libtoolize, please ignore non-fatal messages...." 34 echo "Running libtoolize, please ignore non-fatal messages...."
48 echo n | libtoolize --copy --force || exit; 35 echo n | libtoolize --copy --force || exit;
49 36
50 # Add other directories to this list if people continue to experience 37 # Add other directories to this list if people continue to experience
51 # brokennesses ... Obviously the real answer is for them to fix it 38 # brokennesses ... Obviously the real answer is for them to fix it