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