# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([social], [0.1], [julien@lepiller.eu]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_CONFIG_MACRO_DIR([m4]) # Checks for programs. GUILE_SITE_DIR GUILE_PROGS # Checks for libraries. GUILE_MODULE_AVAILABLE([have_git], [(git)]) if test "x$have_git" != "xyes"; then AC_MSG_ERROR([The Guile bindings of libgit2 are missing; please install them.]) fi GUILE_MODULE_AVAILABLE([have_gcrypt], [(gcrypt hash)]) if test "x$have_gcrypt" != "xyes"; then AC_MSG_ERROR([The Guile bindings of Gcrypt are missing; please install them.]) fi GUILE_MODULE_AVAILABLE([have_gnutls], [(gnutls)]) if test "x$have_gnutls" != "xyes"; then AC_MSG_ERROR([The Guile bindings of GnuTLS are missing; please install them.]) fi GUILE_MODULE_AVAILABLE([have_fibers], [(fibers web server)]) if test "x$have_fibers" != "xyes"; then AC_MSG_ERROR([The Guile Fibers library is missing; please install it.]) fi AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) AC_CONFIG_FILES([scripts/gitile], [chmod +x scripts/gitile]) AC_CONFIG_FILES(Makefile) AC_OUTPUT