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