1dnl Configuration for the toplevel directory of GNU gettext
2dnl Copyright (C) 1995-1999, 2000-2003, 2005 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 2, or (at your option)
7dnl 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, write to the Free Software
16dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18dnl Process this file with autoconf to produce a configure script.
19
20AC_PREREQ(2.57)
21AC_INIT
22AC_CONFIG_SRCDIR(gettext-tools/src/msgfmt.c)
23AC_CONFIG_AUX_DIR(build-aux)
24. $srcdir/version.sh
25AM_INIT_AUTOMAKE(gettext, $VERSION_NUMBER)
26
27dnl Checks for programs.
28
29dnl Checks for libraries.
30
31dnl Checks for header files.
32
33dnl Checks for typedefs, structures, and compiler characteristics.
34
35dnl Checks for library functions.
36
37AC_CONFIG_SUBDIRS(autoconf-lib-link gettext-runtime gettext-tools)
38
39dnl Ensure that "configure --help" lists all the command line options that
40dnl are usable with the subdir configures. Really AC_CONFIG_SUBDIRS should
41dnl do it by itself.
42dnl System types:
43AC_CANONICAL_HOST
44dnl Optional Features: AC_ARG_ENABLE calls
45dnl Optional Packages: AC_ARG_WITH calls
46dnl Some influential environment variables: AC_ARG_VAR calls
47esyscmd([{ cd autoconf-lib-link && autoconf --trace=AC_ARG_ENABLE:'$n([$1],[$2])' --trace=AC_ARG_WITH:'$n([$1],[$2])' --trace=AC_ARG_VAR:'$n($@)' && cd ..; 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 ])
48
49AC_CONFIG_FILES([Makefile])
50
51AC_OUTPUT
52