mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02:00
0.7.90 released.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@292 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
29ac175069
commit
7755aae26b
21 changed files with 120 additions and 109 deletions
18
autogen.sh
18
autogen.sh
|
|
@ -15,20 +15,18 @@ PKG_NAME="Irssi"
|
|||
}
|
||||
|
||||
# get versions
|
||||
|
||||
version=`cat configure.in|grep AM_INIT_AUTOMAKE|sed 's/[^,]*, \([^\)]*\).*/\1/'`
|
||||
version_date=`date +%Y%m%d`
|
||||
|
||||
echo "/* automatically created by autogen.sh */" > irssi-version.h
|
||||
echo "#define IRSSI_VERSION \"$version\"" >> irssi-version.h
|
||||
echo "#define IRSSI_VERSION_DATE \"$version_date\"" >> irssi-version.h
|
||||
echo "/* automatically created by autogen.sh */" > irssi-version.h.in
|
||||
echo "#define IRSSI_VERSION \"@VERSION@\"" >> irssi-version.h.in
|
||||
echo "#define IRSSI_VERSION_DATE \"$version_date\"" >> irssi-version.h.in
|
||||
|
||||
# *********** a bit modified GNOME's macros/autogen.sh **********
|
||||
DIE=0
|
||||
|
||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`autoconf' installed to compile Irssi."
|
||||
echo "**Error**: You must have \`autoconf' installed to compile $PKG_NAME."
|
||||
echo "Download the appropriate package for your distribution,"
|
||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
||||
DIE=1
|
||||
|
|
@ -37,7 +35,7 @@ DIE=0
|
|||
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
|
||||
(libtool --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`libtool' installed to compile Irssi."
|
||||
echo "**Error**: You must have \`libtool' installed to compile $PKG_NAME."
|
||||
echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
|
|
@ -48,7 +46,7 @@ grep "^AM_GNU_GETTEXT" $srcdir/configure.in >/dev/null && {
|
|||
grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \
|
||||
(gettext --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`gettext' installed to compile Irssi."
|
||||
echo "**Error**: You must have \`gettext' installed to compile $PKG_NAME."
|
||||
echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
|
|
@ -59,7 +57,7 @@ grep "^AM_GNOME_GETTEXT" $srcdir/configure.in >/dev/null && {
|
|||
grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \
|
||||
(gettext --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`gettext' installed to compile Irssi."
|
||||
echo "**Error**: You must have \`gettext' installed to compile $PKG_NAME."
|
||||
echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
|
|
@ -68,7 +66,7 @@ grep "^AM_GNOME_GETTEXT" $srcdir/configure.in >/dev/null && {
|
|||
|
||||
(automake --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`automake' installed to compile Irssi."
|
||||
echo "**Error**: You must have \`automake' installed to compile $PKG_NAME."
|
||||
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue