File: configure.ac

package info (click to toggle)
iso-codes 3.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 47,196 kB
  • ctags: 56
  • sloc: xml: 54,806; sh: 464; python: 191; makefile: 188; perl: 182
file content (57 lines) | stat: -rw-r--r-- 1,709 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
dnl Copyright (c) 2003, 2004 Christian Persch
dnl
dnl This program is free software; you can redistribute it and/or modify it
dnl under the terms of the GNU General Public License as published by the
dnl Free Software Foundation; either version 2 of the License, or (at your
dnl option) any later version.
dnl
dnl This program is distributed in the hope that it will be useful, but
dnl WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
dnl General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License along
dnl with this program; if not, write to the Free Software Foundation, Inc.,
dnl 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA

AC_INIT([ISO Codes],[3.5.1],[],[iso-codes])

dnl FIXME debug why this doesn't work; it substs an '' for VERSION
dnl until then, use PACKAGE_VERSION instead.
dnl AC_PREREQ([2.59]i, "${PACKAGE_VERSION}")
AM_INIT_AUTOMAKE([dist-bzip2 foreign])
AM_MAINTAINER_MODE

AC_SUBST([ACLOCAL_AMFLAGS], ["\${ACLOCAL_FLAGS}"])

AC_PROG_INSTALL
AC_PROG_MAKE_SET

AC_PATH_PROG([MSGMERGE],[msgmerge])
AC_PATH_PROG([MSGFMT],[msgfmt])
AC_MSG_CHECKING([if $MSGFMT is GNU msgfmt])
gnu_msgfmt=no
MSGFMT_FLAGS=
if $MSGFMT --version 2>&1 | grep GNU > /dev/null; then
  gnu_msgfmt=yes
  MSGFMT_FLAGS="--verbose --check"
fi
AC_MSG_RESULT($gnu_msgfmt)
AC_SUBST(MSGFMT_FLAGS)

DOMAINS="iso_15924 iso_3166 iso_4217 iso_639 iso_3166_2 iso_639_3"
AC_SUBST([DOMAINS])

AC_CONFIG_FILES([
Makefile
iso-codes.pc
iso_15924/Makefile
iso_3166/Makefile
iso_3166/iso_3166_2/Makefile
iso_4217/Makefile
iso_639/Makefile
iso_639/iso_639_3/Makefile
notes/Makefile
])

AC_OUTPUT