# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([jsonld], [1.0-pre1], [julien@lepiller.eu]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) # Checks for programs. GUILE_PKG([3.0 2.2]) GUILE_PROGS GUILE_SITE_DIR # Checks for libraries. GUILE_MODULE_AVAILABLE([have_guile_json], [(json)]) if test "x$have_guile_json" != "xyes"; then AC_MSG_ERROR([Guile-Json could not be found; please install it.]) fi GUILE_MODULE_AVAILABLE([have_guile_gnutls], [(gnutls)]) if test "x$have_guile_gnutls" != "xyes"; then AC_MSG_ERROR([Guile-GnuTLS could not be found; please install it.]) fi AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) AC_CONFIG_FILES([tests/compact.scm], [chmod +x tests/compact.scm]) AC_CONFIG_FILES([tests/expand.scm], [chmod +x tests/expand.scm]) AC_CONFIG_FILES([tests/flatten.scm], [chmod +x tests/flatten.scm]) AC_CONFIG_FILES([tests/html.scm], [chmod +x tests/html.scm]) AC_CONFIG_FILES([tests/remote-doc.scm], [chmod +x tests/remote-doc.scm]) AC_CONFIG_FILES([tests/report.scm], [chmod +x tests/report.scm]) AC_CONFIG_FILES(Makefile) AC_REQUIRE_AUX_FILE([tap-driver.sh]) AC_PROG_AWK AC_OUTPUT