# # Copyright (C) 2000, 2001, 2002 Loic Dachary # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # AC_INIT(config.h.in) VERSION=`cat .version` AC_SUBST(VERSION) AC_PREREQ(2.13) dnl get $target_cpu, $target_vendor, and $target_os dnl (as well as host_*) AC_CANONICAL_SYSTEM AC_CONFIG_HEADER(config.h) AC_PROG_MAKE_SET dnl AC_MSG_CHECKING(to see if architecture is 64-bit) dnl arch_64bit=no dnl case "$host_cpu" in dnl x86_64) arch_64bit=yes ;; dnl esac dnl dnl Unicode version used by unac, as published at http://www.unicode.org/Public/ dnl UNICODE_VERSION=3.2.0 AC_SUBST(UNICODE_VERSION) AC_PROG_CC AC_AIX AC_COMPILE_WARNINGS AC_PROG_LIBTOOL AC_PATH_PROG(PERL, perl, /usr/bin/perl) AC_PATH_PROG(SH, sh, /bin/sh) AM_MAINTAINER_MODE AM_ICONV #AC_CHECK_FUNCS(iconv_open,,AC_MSG_ERROR([ #iconv_open not found try to install replacement from #http://www.gnu.org/software/libiconv/ #ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz])) AC_CHECK_FUNCS(vsnprintf) AC_OUTPUT(Makefile)