1# configure.ac --- configuration setup for BBDB
2
3# Copyright (C) 2000-2001 Didier Verna <didier@xemacs.org>
4# Copyright (C) 2011-2017 Roland Winkler <winkler@gnu.org>
5#
6# Author:        Didier Verna <didier@xemacs.org>
7# Maintainer:    Roland Winkler <winkler@gnu.org>
8#
9# BBDB is free software: you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation, either version 3 of the License, or
12# (at your option) any later version.
13#
14# BBDB is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with BBDB.  If not, see <http://www.gnu.org/licenses/>.
21#
22# Process this file with autoconf to produce a configure script.
23
24AC_PREREQ([2.69])
25
26AC_INIT([bbdb],[3.2],[bbdb-user@nongnu.org],[],[http://savannah.nongnu.org/projects/bbdb/])
27AC_CONFIG_SRCDIR([lisp/bbdb.el])
28AC_CONFIG_MACRO_DIR([m4])
29# We need GNU Automake 1.13 for AM_ELCFLAGS.
30AM_INIT_AUTOMAKE([1.13 -Wall gnu])
31
32AC_PACKAGE_DATE
33
34# Checks for programs.
35AC_PROG_INSTALL
36
37# Search for Emacs
38AM_PATH_LISPDIR
39AS_IF([test "$EMACS" = no], [AC_MSG_ERROR([cannot find Emacs])])
40
41# Checks for libraries.
42EMACS_VM
43EMACS_MU4E
44EMACS_WL
45AC_SUBST([AM_ELCFLAGS])
46
47# Generate lisp/bbdb-site.el via lisp/Makefile as pkgdatadir is only known
48# at "make" time.
49AC_CONFIG_FILES([Makefile
50                 lisp/Makefile
51                 lisp/bbdb-pkg.el
52                 doc/Makefile
53                 tex/Makefile])
54
55AC_OUTPUT
56