1 # Process this file with autoconf to produce a configure script.
3 # Copyright © 2003-2004 Christian Persch
4 # Copyright © 2006-2016 Dr. Tobias Quathamer
6 # This file is part of iso-codes.
8 # This program is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by the
10 # Free Software Foundation; either version 2 of the License, or (at your
11 # option) any later version.
13 # This program is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # General Public License for more details.
18 # You should have received a copy of the GNU General Public License along
19 # with this program; if not, write to the Free Software Foundation, Inc.,
20 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 AC_INIT([iso-codes],[4.4])
24 AM_INIT_AUTOMAKE([dist-xz no-dist-gzip foreign])
30 AC_PATH_PROG([MSGMERGE],[msgmerge])
31 AC_PATH_PROG([MSGFMT],[msgfmt])
32 AC_PATH_PROG([MSGFILTER],[msgfilter])
33 AC_PATH_PROG([MSGATTRIB],[msgattrib])
34 AC_PATH_PROG([RECODE_SR_LATIN],[recode-sr-latin])
35 AC_MSG_CHECKING([if $MSGFMT is GNU msgfmt])
38 if $MSGFMT --version 2>&1 | grep GNU > /dev/null; then
40 MSGFMT_FLAGS="--verbose --check"
42 AC_MSG_RESULT($gnu_msgfmt)
43 AC_SUBST(MSGFMT_FLAGS)
45 DOMAINS="iso_639-2 iso_639-3 iso_639-5 iso_3166-1 iso_3166-2 iso_3166-3 iso_4217 iso_15924"