Mercurial > pidgin-audacious
comparison autogen.sh @ 22:fbad40babe88
build system update:
- ported Makefile.in from pidgin-twitter.
- ported autogen.sh from pidgin-twitter.
- moved some declarations and definitions to pidgin-audacious.h
- updated configure.in to go along with new Makefile.
- removed aclocal.m4 from version control.
| author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
|---|---|
| date | Mon, 06 Oct 2008 18:18:06 +0900 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 21:83002f858ee9 | 22:fbad40babe88 |
|---|---|
| 1 #!/bin/sh | |
| 2 | |
| 3 [ -f configure.in ] || { | |
| 4 echo "autogen.sh: run this command only at the top of a pidgin-audacious source tree." | |
| 5 exit 1 | |
| 6 } | |
| 7 | |
| 8 DIE=0 | |
| 9 | |
| 10 (autoconf --version) < /dev/null > /dev/null 2>&1 || { | |
| 11 echo | |
| 12 echo "You must have autoconf installed to compile pidgin-audacious." | |
| 13 echo "Get ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.62.tar.gz" | |
| 14 echo "(or a newer version if it is available)" | |
| 15 DIE=1 | |
| 16 NO_AUTOCONF=yes | |
| 17 } | |
| 18 | |
| 19 (automake --version) < /dev/null > /dev/null 2>&1 || { | |
| 20 echo | |
| 21 echo "You must have automake installed to compile pidgin-audacious." | |
| 22 echo "Get ftp://ftp.gnu.org/pub/gnu/automake/automake-1.10.1.tar.gz" | |
| 23 echo "(or a newer version if it is available)" | |
| 24 DIE=1 | |
| 25 NO_AUTOMAKE=yes | |
| 26 } | |
| 27 | |
| 28 # if no automake, don't bother testing for aclocal | |
| 29 test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { | |
| 30 echo | |
| 31 echo "**Error**: Missing \`aclocal'. The version of \`automake'" | |
| 32 echo "installed doesn't appear recent enough." | |
| 33 echo "Get ftp://ftp.gnu.org/pub/gnu/automake/automake-1.10.1.tar.gz" | |
| 34 echo "(or a newer version if it is available)" | |
| 35 DIE=1 | |
| 36 } | |
| 37 | |
| 38 # if no autoconf, don't bother testing for autoheader | |
| 39 test -n "$NO_AUTOCONF" || (autoheader --version) < /dev/null > /dev/null 2>&1 || { | |
| 40 echo | |
| 41 echo "**Error**: Missing \`autoheader'. The version of \`autoheader'" | |
| 42 echo "installed doesn't appear recent enough." | |
| 43 echo "Get ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.62.tar.gz" | |
| 44 echo "(or a newer version if it is available)" | |
| 45 DIE=1 | |
| 46 } | |
| 47 | |
| 48 if test "$DIE" -eq 1; then | |
| 49 exit 1 | |
| 50 fi | |
| 51 | |
| 52 echo "Generating configure script and Makefiles for pidgin-audacious." | |
| 53 | |
| 54 echo "Running aclocal ..." | |
| 55 aclocal -I . | |
| 56 echo "Running autoconf ..." | |
| 57 autoconf |
