File: configure.ac

package info (click to toggle)
bbdb3 3.2.2d-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 996 kB
  • sloc: lisp: 9,320; makefile: 99; sh: 59
file content (64 lines) | stat: -rw-r--r-- 2,001 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# configure.ac --- configuration setup for BBDB

# Copyright (C) 2000-2001 Didier Verna <didier@xemacs.org>
# Copyright (C) 2011-2023 Roland Winkler <winkler@gnu.org>
# 
# Author:        Didier Verna <didier@xemacs.org>
# Maintainer:    Roland Winkler <winkler@gnu.org>
#
# BBDB 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 3 of the License, or
# (at your option) any later version.
# 
# BBDB 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 BBDB.  If not, see <http://www.gnu.org/licenses/>.
# 
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])

AC_INIT([bbdb],[3.2.2d],[bbdb-user@nongnu.org],[],[http://savannah.nongnu.org/projects/bbdb/]) 
AC_CONFIG_SRCDIR([lisp/bbdb.el])
AC_CONFIG_MACRO_DIR([m4])
# We need GNU Automake 1.13 for AM_ELCFLAGS.
AM_INIT_AUTOMAKE([1.13 -Wall gnu])

AC_PACKAGE_DATE

# Process options
AC_MSG_CHECKING([enable_docs])
AC_ARG_ENABLE([docs],
       [AS_HELP_STRING([--enable-docs],[build and install LaTeX-format documentation (default=yes)])],,
       [enable_docs=yes])
AC_MSG_RESULT([$enable_docs])
AM_CONDITIONAL([DOCS], [test x${enable_docs} = xyes])

# Checks for programs.
AC_PROG_INSTALL

# Search for Emacs
AM_PATH_LISPDIR
AS_IF([test "$EMACS" = no], [AC_MSG_ERROR([cannot find Emacs])])

# Checks for libraries.
EMACS_VM
EMACS_MU4E
EMACS_WL
EMACS_NOTMUCH
AC_SUBST([AM_ELCFLAGS])

# Generate lisp/bbdb-site.el via lisp/Makefile as pkgdatadir is only known
# at "make" time.
AC_CONFIG_FILES([Makefile
                 lisp/Makefile
                 lisp/bbdb-pkg.el
                 doc/Makefile
                 tex/Makefile])

AC_OUTPUT