1dnl Copyright (C) 2000-2001 Free Software Foundation, Inc. 2dnl This file is part of the GNU CHARSET Library. 3dnl 4dnl The GNU CHARSET Library is free software; you can redistribute it and/or 5dnl modify it under the terms of the GNU Library General Public License as 6dnl published by the Free Software Foundation; either version 2 of the 7dnl License, or (at your option) any later version. 8dnl 9dnl The GNU CHARSET Library is distributed in the hope that it will be useful, 10dnl but WITHOUT ANY WARRANTY; without even the implied warranty of 11dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12dnl Library General Public License for more details. 13dnl 14dnl You should have received a copy of the GNU Library General Public License 15dnl along with the GNU CHARSET Library; see the file COPYING.LIB. If not, 16dnl write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17dnl Boston, MA 02111-1307, USA. 18 19AC_PREREQ(2.13) 20 21PACKAGE=libcharset 22VERSION=1.1 23 24AC_INIT(lib/localcharset.c) 25AC_CONFIG_AUX_DIR(autoconf) 26AC_CONFIG_HEADER(config.h) 27AC_PROG_MAKE_SET 28AC_SUBST(PACKAGE) 29AC_SUBST(VERSION) 30 31dnl checks for programs 32 33AC_PROG_CC 34AC_PROG_CPP 35AC_PROG_GCC_TRADITIONAL 36AC_PROG_INSTALL 37 38dnl check for host type 39 40AC_CANONICAL_HOST 41 42dnl checks for UNIX variants that set DEFS 43 44AC_AIX 45AC_MINIX 46AC_ISC_POSIX 47 48dnl checks for compiler output filename suffixes 49 50AC_OBJEXT 51AC_EXEEXT 52 53dnl check for build configuration 54 55AM_PROG_LIBTOOL 56 57dnl checks for header files and functions 58 59jm_LANGINFO_CODESET 60jm_GLIBC21 61AC_CHECK_HEADERS(stddef.h stdlib.h string.h) 62AC_CHECK_FUNCS(setlocale) 63 64AC_OUTPUT(Makefile lib/Makefile) 65