1 dnl Process this file with autoconf to produce a configure script.
3 dnl This file is free software; as a special exception the author gives
4 dnl unlimited permission to copy and/or distribute it, with or without
5 dnl modifications, as long as this notice is preserved.
7 dnl This program is distributed in the hope that it will be useful, but
8 dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9 dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11 AC_INIT([GNU Hello], [2.8], [bug-hello@gnu.org])
13 dnl Must come before AM_INIT_AUTOMAKE.
14 AC_CONFIG_AUX_DIR([build-aux])
15 AM_INIT_AUTOMAKE([readme-alpha])
17 # Minimum Autoconf version required.
20 # Where to generate output; srcdir location.
21 AC_CONFIG_HEADERS([config.h:config.in])dnl Keep filename to 8.3 for MS-DOS.
22 AC_CONFIG_SRCDIR([src/hello.c])
24 dnl Checks for programs.
25 # We need a C compiler.
28 # Since we use gnulib: gl_EARLY must be called as soon as possible after
29 # the C compiler is checked. The others could be later, but we just
30 # keep everything together.
34 # GNU help2man creates man pages from --help output; in many cases, this
35 # is sufficient, and obviates the need to maintain man pages separately.
36 # However, this means invoking executables, which we generally cannot do
37 # when cross-compiling, so we test to avoid that (the variable
38 # "cross_compiling" is set by AC_PROG_CC).
39 if test $cross_compiling = no; then
40 AM_MISSING_PROG(HELP2MAN, help2man)
45 # i18n support from GNU gettext.
46 AM_GNU_GETTEXT_VERSION([0.18.1])
47 AM_GNU_GETTEXT([external])
49 AC_CONFIG_FILES([Makefile