gitile/configure.ac

configure.ac

1
#                                               -*- Autoconf -*-
2
# Process this file with autoconf to produce a configure script.
3
4
AC_PREREQ([2.69])
5
AC_INIT([social], [0.1], [julien@lepiller.eu])
6
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
7
8
AC_CONFIG_MACRO_DIR([m4])
9
10
# Checks for programs.
11
GUILE_SITE_DIR
12
GUILE_PROGS
13
14
# Checks for libraries.
15
GUILE_MODULE_AVAILABLE([have_git], [(git)])
16
if test "x$have_git" != "xyes"; then
17
  AC_MSG_ERROR([The Guile bindings of libgit2 are missing; please install them.])
18
fi
19
20
GUILE_MODULE_AVAILABLE([have_gcrypt], [(gcrypt hash)])
21
if test "x$have_gcrypt" != "xyes"; then
22
  AC_MSG_ERROR([The Guile bindings of Gcrypt are missing; please install them.])
23
fi
24
25
GUILE_MODULE_AVAILABLE([have_gnutls], [(gnutls)])
26
if test "x$have_gnutls" != "xyes"; then
27
  AC_MSG_ERROR([The Guile bindings of GnuTLS are missing; please install them.])
28
fi
29
30
GUILE_MODULE_AVAILABLE([have_fibers], [(fibers web server)])
31
if test "x$have_fibers" != "xyes"; then
32
  AC_MSG_ERROR([The Guile Fibers library is missing; please install it.])
33
fi
34
35
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
36
AC_CONFIG_FILES([scripts/gitile], [chmod +x scripts/gitile])
37
AC_CONFIG_FILES(Makefile)
38
39
AC_OUTPUT
40