1 dnl Copyright (C) 2000-2003, 2005-2009, 2016, 2018-2019 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 see <https://www.gnu.org/licenses/>.
19 AC_INIT([libcharset], [1.5])
20 AC_CONFIG_SRCDIR([lib/localcharset.c])
21 AC_CONFIG_AUX_DIR([build-aux])
22 AC_CONFIG_HEADERS([config.h])
25 dnl checks for basic programs
31 dnl check for host type
35 dnl checks for installer options
37 dnl checks for programs
39 dnl checks for UNIX variants that set DEFS
41 AC_USE_SYSTEM_EXTENSIONS
43 dnl checks for compiler output filename suffixes
48 dnl checks for build configuration
54 dnl checks for header files and functions
58 AC_CHECK_FUNCS([setlocale])
60 AC_CONFIG_FILES([Makefile])
61 AC_CONFIG_FILES([lib/Makefile])
62 AC_CONFIG_FILES([include/libcharset.h:include/libcharset.h.build.in])
63 AC_CONFIG_FILES([include/libcharset.h.inst:include/libcharset.h.in])
64 AC_CONFIG_FILES([include/localcharset.h:include/localcharset.h.build.in])
65 AC_CONFIG_FILES([include/localcharset.h.inst:include/localcharset.h.in])