| 6 | | PROJECT=jabber-gg-transport |
|---|
| 7 | | TEST_TYPE=-r |
|---|
| 8 | | FILE=configure.ac |
|---|
| 9 | | |
|---|
| 10 | | DIE=0 |
|---|
| 11 | | |
|---|
| 12 | | (autoconf --version) < /dev/null > /dev/null 2>&1 || { |
|---|
| 13 | | echo |
|---|
| 14 | | echo "You must have autoconf installed to compile $PROJECT." |
|---|
| 15 | | echo "Download the appropriate package for your distribution," |
|---|
| 16 | | echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" |
|---|
| 17 | | DIE=1 |
|---|
| 18 | | } |
|---|
| 19 | | |
|---|
| 20 | | (libtool --version) < /dev/null > /dev/null 2>&1 || { |
|---|
| 21 | | echo |
|---|
| 22 | | echo "You must have libtool installed to compile $PROJECT." |
|---|
| 23 | | echo "Get ftp://alpha.gnu.org/gnu/libtool-1.0h.tar.gz" |
|---|
| 24 | | echo "(or a newer version if it is available)" |
|---|
| 25 | | DIE=1 |
|---|
| 26 | | } |
|---|
| 27 | | |
|---|
| 28 | | (automake --version) < /dev/null > /dev/null 2>&1 || { |
|---|
| 29 | | echo |
|---|
| 30 | | echo "You must have automake installed to compile $PROJECT." |
|---|
| 31 | | echo "Get ftp://ftp.cygnus.com/pub/home/tromey/automake-1.2d.tar.gz" |
|---|
| 32 | | echo "(or a newer version if it is available)" |
|---|
| 33 | | DIE=1 |
|---|
| 34 | | } |
|---|
| 35 | | |
|---|
| 36 | | if test "$DIE" -eq 1; then |
|---|
| 37 | | exit 1 |
|---|
| 38 | | fi |
|---|
| 39 | | |
|---|
| 40 | | test $TEST_TYPE $FILE || { |
|---|
| 41 | | echo "You must run this script in the top-level $PROJECT directory" |
|---|
| 42 | | exit 1 |
|---|
| 43 | | } |
|---|
| 44 | | |
|---|
| 45 | | if test -z "$*"; then |
|---|
| 46 | | echo "I am going to run ./configure with no arguments - if you wish " |
|---|
| 47 | | echo "to pass any to it, please specify them on the $0 command line." |
|---|
| 48 | | fi |
|---|
| 49 | | |
|---|
| 50 | | case $CC in |
|---|
| 51 | | *lcc | *lcc\ *) am_opt=--include-deps;; |
|---|
| 52 | | esac |
|---|
| 53 | | |
|---|
| 54 | | #echo "Running gettextize... Ignore non-fatal messages." |
|---|
| 55 | | # Hmm, we specify --force here, since otherwise things don't |
|---|
| 56 | | # get added reliably, but we don't want to overwrite intl |
|---|
| 57 | | # while making dist. |
|---|
| 58 | | # echo "no" | gettextize --copy --force |
|---|
| 59 | | |
|---|
| 60 | | echo "Running libtoolize" |
|---|