Merge "Rebase history" into tizen_base
[platform/upstream/gettext.git] / configure.ac
1 dnl Configuration for the toplevel directory of GNU gettext
2 dnl Copyright (C) 1995-2003, 2005-2006, 2009-2010, 2015 Free Software
3 dnl Foundation, Inc.
4 dnl
5 dnl This program is free software: you can redistribute it and/or modify
6 dnl it under the terms of the GNU General Public License as published by
7 dnl the Free Software Foundation; either version 3 of the License, or
8 dnl (at your option) any later version.
9 dnl
10 dnl This program is distributed in the hope that it will be useful,
11 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
12 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 dnl GNU General Public License for more details.
14 dnl
15 dnl You should have received a copy of the GNU General Public License
16 dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 dnl Process this file with autoconf to produce a configure script.
19
20 AC_PREREQ([2.62])
21 AC_INIT([gettext],
22         m4_esyscmd([build-aux/git-version-gen .tarball-version]),
23         [bug-gnu-gettext@gnu.org])
24 AC_CONFIG_SRCDIR([gettext-tools/src/msgfmt.c])
25 AC_CONFIG_AUX_DIR([build-aux])
26 AM_INIT_AUTOMAKE([1.13 silent-rules parallel-tests dist-xz dist-lzip])
27
28 dnl Override automake's tar command used for creating distributions.
29 am__tar='${AMTAR} chof - --owner=root --group=root "$$tardir"'
30
31 dnl Checks for programs.
32
33 dnl Checks for libraries.
34
35 dnl Checks for header files.
36
37 dnl Checks for typedefs, structures, and compiler characteristics.
38
39 dnl Checks for library functions.
40
41 AC_CONFIG_SUBDIRS([gettext-runtime gettext-tools])
42
43 AM_EXTRA_RECURSIVE_TARGETS([maintainer-update-po])
44
45 dnl Ensure that "configure --help" lists all the command line options that
46 dnl are usable with the subdir configures. Really AC_CONFIG_SUBDIRS should
47 dnl do it by itself.
48 dnl System types:
49 AC_CANONICAL_HOST
50 dnl Optional Features: AC_ARG_ENABLE calls
51 dnl Optional Packages: AC_ARG_WITH calls
52 dnl Some influential environment variables: AC_ARG_VAR calls
53 esyscmd([{ cd gettext-runtime && autoconf --trace=AC_ARG_ENABLE:'$n([$1],[$2])' --trace=AC_ARG_WITH:'$n([$1],[$2])' --trace=AC_ARG_VAR:'$n($@)' && cd ..; cd gettext-tools && autoconf --trace=AC_ARG_ENABLE:'$n([$1],[$2])' --trace=AC_ARG_WITH:'$n([$1],[$2])' --trace=AC_ARG_VAR:'$n($@)' && cd ..; } | sed -f build-aux/ac-help.sed ])
54
55 AC_CONFIG_FILES([Makefile])
56
57 AC_CONFIG_FILES([gnulib-local/Makefile])
58
59 AC_OUTPUT