Use LGPL license.
[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
20 AC_PROG_CC
21 AM_PROG_LIBTOOL
22 AM_PROG_LEX
23 AC_PROG_YACC
24 if test "$YACC" = "bison -y"; then
25   AC_MSG_WARN([We'll remove the -y option here])
26   YACC=bison
27 else
28   AC_MSG_ERROR([Sorry, bison is needed])
29 fi
30 AM_WITH_DMALLOC
31
32 AC_OUTPUT(Makefile
33           gedcom/Makefile
34           ansel/Makefile
35           t/Makefile
36           doc/Makefile
37           include/Makefile)