Mercurial > hg > xmms-sid
diff bootstrap.sh @ 440:1b4221cb1145
Improved the bootstrapping script even further
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 06 Jan 2007 08:31:04 +0000 |
parents | f707bee41d0e |
children | 7a1e7fac56c0 |
line wrap: on
line diff
--- a/bootstrap.sh Fri Jan 05 16:08:01 2007 +0000 +++ b/bootstrap.sh Sat Jan 06 08:31:04 2007 +0000 @@ -58,7 +58,18 @@ } # Check and run autotools -ftest_package "autopoint" "-f" "gettext(-dev|-devel)" "GNU gettext 0.14.1 or later." +for i in configure.ac configure.in; do + if test -e "$i"; then + k=`grep AM_GNU_GETTEXT $i` + fi +done + +if test -n "$k"; then + echo "* GNU gettext seems to be in use ..." + ftest_package "autopoint" "-f" "gettext(-dev|-devel)" "GNU gettext 0.14.1 or later." +else + echo "* GNU gettext not used by the package, skipping." +fi aclocal_opts="" for i in /usr/share/aclocal /usr/local/share/aclocal; do @@ -71,4 +82,11 @@ ftest_ac_package "libtoolize" "--automake --force" ftest_am_package "automake" "-a -c -f --foreign" ftest_ac_package "autoconf" "" -ftest_package "glade" "-w xmms-sid.glade" "Glade" "Glade for Gtk+1 applications (Glade v0.6.4)" + +if test -e `echo *.glade`; then + echo "* Glade XML files found" + ftest_package "glade" "-w xmms-sid.glade" "Glade" "Glade for Gtk+1 applications (Glade v0.6.4)" +else + echo "* No Glade files found, skipping." +fi +