1 dnl Copyright (C) 2000-2001 Free Software Foundation, Inc.
2 dnl This file is part of the GNU CHARSET Library.
4 dnl The GNU CHARSET Library is free software; you can redistribute it and/or
5 dnl modify it under the terms of the GNU Library General Public License as
6 dnl published by the Free Software Foundation; either version 2 of the
7 dnl License, or (at your option) any later version.
9 dnl The GNU CHARSET Library 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 GNU
12 dnl Library General Public License for more details.
14 dnl You should have received a copy of the GNU Library General Public License
15 dnl along with the GNU CHARSET Library; see the file COPYING.LIB. If not,
16 dnl write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 dnl Boston, MA 02111-1307, USA.
24 AC_INIT(lib/localcharset.c)
25 AC_CONFIG_AUX_DIR(autoconf)
26 AC_CONFIG_HEADER(config.h)
31 dnl checks for programs
35 AC_PROG_GCC_TRADITIONAL
38 dnl check for host type
42 dnl checks for UNIX variants that set DEFS
48 dnl checks for compiler output filename suffixes
53 dnl check for build configuration
57 dnl checks for header files and functions
61 AC_CHECK_HEADERS(stddef.h stdlib.h string.h)
62 AC_CHECK_FUNCS(setlocale)
64 AC_OUTPUT(Makefile lib/Makefile)