1 | #
|
---|
2 | # Copyright (C) 2000, 2001, 2002 Loic Dachary <[email protected]>
|
---|
3 | #
|
---|
4 | # This program is free software; you can redistribute it and/or modify
|
---|
5 | # it under the terms of the GNU General Public License as published by
|
---|
6 | # the Free Software Foundation; either version 2 of the License, or
|
---|
7 | # (at your option) any later version.
|
---|
8 | #
|
---|
9 | # This program is distributed in the hope that it will be useful,
|
---|
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
12 | # GNU General Public License for more details.
|
---|
13 | #
|
---|
14 | # You should have received a copy of the GNU General Public License
|
---|
15 | # along with this program; if not, write to the Free Software
|
---|
16 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
---|
17 | #
|
---|
18 | AC_INIT(config.h.in)
|
---|
19 | VERSION=`cat .version`
|
---|
20 | AC_SUBST(VERSION)
|
---|
21 | AC_PREREQ(2.13)
|
---|
22 |
|
---|
23 |
|
---|
24 | dnl get $target_cpu, $target_vendor, and $target_os
|
---|
25 | dnl (as well as host_*)
|
---|
26 | AC_CANONICAL_SYSTEM
|
---|
27 |
|
---|
28 | AC_CONFIG_HEADER(config.h)
|
---|
29 |
|
---|
30 | AC_PROG_MAKE_SET
|
---|
31 |
|
---|
32 | dnl AC_MSG_CHECKING(to see if architecture is 64-bit)
|
---|
33 | dnl arch_64bit=no
|
---|
34 | dnl case "$host_cpu" in
|
---|
35 | dnl x86_64) arch_64bit=yes ;;
|
---|
36 | dnl esac
|
---|
37 |
|
---|
38 | dnl
|
---|
39 | dnl Unicode version used by unac, as published at http://www.unicode.org/Public/
|
---|
40 | dnl
|
---|
41 | UNICODE_VERSION=3.2.0
|
---|
42 | AC_SUBST(UNICODE_VERSION)
|
---|
43 |
|
---|
44 | AC_PROG_CC
|
---|
45 | AC_AIX
|
---|
46 | AC_COMPILE_WARNINGS
|
---|
47 |
|
---|
48 | AC_PROG_LIBTOOL
|
---|
49 |
|
---|
50 | AC_PATH_PROG(PERL, perl, /usr/bin/perl)
|
---|
51 | AC_PATH_PROG(SH, sh, /bin/sh)
|
---|
52 |
|
---|
53 | AM_MAINTAINER_MODE
|
---|
54 |
|
---|
55 | AM_ICONV
|
---|
56 |
|
---|
57 | #AC_CHECK_FUNCS(iconv_open,,AC_MSG_ERROR([
|
---|
58 | #iconv_open not found try to install replacement from
|
---|
59 | #http://www.gnu.org/software/libiconv/
|
---|
60 | #ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz]))
|
---|
61 |
|
---|
62 | AC_CHECK_FUNCS(vsnprintf)
|
---|
63 |
|
---|
64 | AC_OUTPUT(Makefile)
|
---|