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