Use of gettext.
[gedcom-parse.git] / configure.in
1 # Process this file with autoconf to produce a configure script.
2 # $Id$
3 # $Name$
4 AC_INIT(standalone.c)
5
6 dnl =============================================================
7 dnl Global variables
8 NAME=gedcom-parse
9 VERSION=0.10
10 LIBVERSION=0:1
11 SHELL=/bin/sh
12 AC_SUBST(NAME)
13 AC_SUBST(VERSION)
14 AC_SUBST(SHELL)
15 AC_SUBST(LIBVERSION)
16
17 dnl =============================================================
18 AM_INIT_AUTOMAKE(${NAME},${VERSION})
19 AM_CONFIG_HEADER(config.h)
20 ALL_LINGUAS=""
21
22 AC_PROG_CC
23 AM_PROG_LIBTOOL
24 AM_PROG_LEX
25 AC_PROG_YACC
26 if test "$YACC" = "bison -y"; then
27   AC_MSG_WARN([We'll remove the -y option here])
28   YACC=bison
29 else
30   AC_MSG_ERROR([Sorry, bison is needed])
31 fi
32 AM_WITH_DMALLOC
33 AM_GNU_GETTEXT
34
35 AC_OUTPUT(Makefile
36           gedcom/Makefile
37           ansel/Makefile
38           t/Makefile
39           doc/Makefile
40           include/Makefile
41           intl/Makefile
42           po/Makefile.in)