dnl Copyright (C) 2000-2003, 2005-2009, 2016, 2018-2019 Free Software Foundation, Inc.
dnl This file is part of the GNU CHARSET Library.
dnl
dnl The GNU CHARSET Library is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public License as
dnl published by the Free Software Foundation; either version 2 of the
dnl License, or (at your option) any later version.
dnl
dnl The GNU CHARSET Library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Library General Public License for more details.
dnl
dnl You should have received a copy of the GNU Library General Public License
dnl along with the GNU CHARSET Library; see the file COPYING.LIB. If not,
dnl see <https://www.gnu.org/licenses/>.
AC_PREREQ([2.63])
AC_INIT([libcharset], [1.4])
AC_CONFIG_SRCDIR([lib/localcharset.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
AC_PROG_MAKE_SET
dnl checks for basic programs
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
dnl check for host type
AC_CANONICAL_HOST
dnl checks for installer options
dnl checks for programs
dnl checks for UNIX variants that set DEFS
AC_USE_SYSTEM_EXTENSIONS
dnl checks for compiler output filename suffixes
AC_OBJEXT
AC_EXEEXT
dnl checks for build configuration
LT_INIT([win32-dll])
gl_RELOCATABLE
gl_VISIBILITY
dnl checks for header files and functions
AM_LANGINFO_CODESET
gl_FCNTL_O_FLAGS
gl_GLIBC21
AC_CHECK_FUNCS([setlocale])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([lib/Makefile])
AC_CONFIG_FILES([include/localcharset.h:include/localcharset.h.build.in])
AC_CONFIG_FILES([include/localcharset.h.inst:include/localcharset.h.in])
AC_OUTPUT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>