File autogen.sh changed (mode: 100755) (index 1e6773faa..ef3a79475) |
... |
... |
DIE=0 |
14 |
14 |
DIE=1 |
DIE=1 |
15 |
15 |
} |
} |
16 |
16 |
|
|
17 |
|
grep "^AM_GNU_GETTEXT" $srcdir/configure.in >/dev/null && { |
|
18 |
|
grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \ |
|
|
17 |
|
grep "^AM_GNU_GETTEXT" $srcdir/configure.ac >/dev/null && { |
|
18 |
|
grep "sed.*POTFILES" $srcdir/configure.ac >/dev/null || \ |
19 |
19 |
(gettext --version) < /dev/null > /dev/null 2>&1 || { |
(gettext --version) < /dev/null > /dev/null 2>&1 || { |
20 |
20 |
echo |
echo |
21 |
21 |
echo "**Error**: You must have \`gettext' installed." |
echo "**Error**: You must have \`gettext' installed." |
|
... |
... |
grep "^AM_GNU_GETTEXT" $srcdir/configure.in >/dev/null && { |
25 |
25 |
} |
} |
26 |
26 |
} |
} |
27 |
27 |
|
|
28 |
|
grep "^AM_GNOME_GETTEXT" $srcdir/configure.in >/dev/null && { |
|
29 |
|
grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \ |
|
|
28 |
|
grep "^AM_GNOME_GETTEXT" $srcdir/configure.ac >/dev/null && { |
|
29 |
|
grep "sed.*POTFILES" $srcdir/configure.ac >/dev/null || \ |
30 |
30 |
(gettext --version) < /dev/null > /dev/null 2>&1 || { |
(gettext --version) < /dev/null > /dev/null 2>&1 || { |
31 |
31 |
echo |
echo |
32 |
32 |
echo "**Error**: You must have \`gettext' installed." |
echo "**Error**: You must have \`gettext' installed." |
|
... |
... |
xlc ) |
72 |
72 |
am_opt=--include-deps;; |
am_opt=--include-deps;; |
73 |
73 |
esac |
esac |
74 |
74 |
|
|
75 |
|
for coin in `find $srcdir -name configure.in -print` |
|
|
75 |
|
for coin in `find $srcdir -name configure.ac -print` |
76 |
76 |
do |
do |
77 |
77 |
dr=`dirname $coin` |
dr=`dirname $coin` |
78 |
78 |
if test -f $dr/NO-AUTO-GEN; then |
if test -f $dr/NO-AUTO-GEN; then |
|
... |
... |
do |
89 |
89 |
## echo "**Warning**: No such directory \`$k'. Ignored." |
## echo "**Warning**: No such directory \`$k'. Ignored." |
90 |
90 |
fi |
fi |
91 |
91 |
done |
done |
92 |
|
if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then |
|
93 |
|
if grep "sed.*POTFILES" configure.in >/dev/null; then |
|
94 |
|
: do nothing -- we still have an old unmodified configure.in |
|
|
92 |
|
if grep "^AM_GNU_GETTEXT" configure.ac >/dev/null; then |
|
93 |
|
if grep "sed.*POTFILES" configure.ac >/dev/null; then |
|
94 |
|
: do nothing -- we still have an old unmodified configure.ac |
95 |
95 |
else |
else |
96 |
96 |
echo "Creating $dr/aclocal.m4 ..." |
echo "Creating $dr/aclocal.m4 ..." |
97 |
97 |
test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 |
test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 |
|
... |
... |
do |
101 |
101 |
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 |
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 |
102 |
102 |
fi |
fi |
103 |
103 |
fi |
fi |
104 |
|
if grep "^AM_GNOME_GETTEXT" configure.in >/dev/null; then |
|
|
104 |
|
if grep "^AM_GNOME_GETTEXT" configure.ac >/dev/null; then |
105 |
105 |
echo "Creating $dr/aclocal.m4 ..." |
echo "Creating $dr/aclocal.m4 ..." |
106 |
106 |
test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 |
test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 |
107 |
107 |
echo "Running gettextize... Ignore non-fatal messages." |
echo "Running gettextize... Ignore non-fatal messages." |
|
... |
... |
do |
111 |
111 |
fi |
fi |
112 |
112 |
echo "Running aclocal $aclocalinclude ..." |
echo "Running aclocal $aclocalinclude ..." |
113 |
113 |
aclocal $aclocalinclude |
aclocal $aclocalinclude |
114 |
|
if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then |
|
|
114 |
|
if grep "^AM_CONFIG_HEADER" configure.ac >/dev/null; then |
115 |
115 |
echo "Running autoheader..." |
echo "Running autoheader..." |
116 |
116 |
autoheader |
autoheader |
117 |
117 |
fi |
fi |