autogen.sh

changeset 13188
18c84b642ab7
parent 13180
4cce5a554f53
child 13294
bff727fba470
equal deleted inserted replaced
13187:4c54bfda6831 13188:18c84b642ab7
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

mercurial