Move the version checks for pkg-config, xgettext and msgfmt out of autogen.sh and into configure.ac
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6093 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
725e72e79a
commit
73f4744912
|
@ -145,9 +145,6 @@ not_version ()
|
|||
fi
|
||||
}
|
||||
|
||||
version_check 1 "pkg-config" "http://pkgconfig.freedesktop.org/" 0 9 || DIE=1
|
||||
version_check 1 "xgettext" "ftp://ftp.gnu.org/pub/gnu/gettext/" 0 15 || DIE=1
|
||||
version_check 1 "msgfmt" "ftp://ftp.gnu.org/pub/gnu/gettext/" 0 15 || DIE=1
|
||||
version_check 1 "autoconf" "ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 56 || DIE=1
|
||||
version_check 1 "automake" "ftp://ftp.gnu.org/pub/gnu/automake/" 1 10 || DIE=1
|
||||
if [ "$DIE" -eq 1 ]; then
|
||||
|
|
|
@ -40,9 +40,11 @@ AC_GNU_SOURCE
|
|||
|
||||
# Check for gettext
|
||||
AM_GNU_GETTEXT([external])
|
||||
AC_PROG_VERSION_CHECK([msgfmt xgettext], [0.15])
|
||||
|
||||
# Check for pkg-config
|
||||
PKG_PROG_PKG_CONFIG
|
||||
AC_PROG_VERSION_CHECK([pkg-config], [0.9])
|
||||
|
||||
|
||||
# Check for compiler
|
||||
|
|
Loading…
Reference in New Issue