configure.ac
| 1 | # -*- Autoconf -*- |
| 2 | # Process this file with autoconf to produce a configure script. |
| 3 | |
| 4 | AC_PREREQ([2.69]) |
| 5 | AC_INIT([guile-jsonld], [1.0.1], [julien@lepiller.eu]) |
| 6 | AM_INIT_AUTOMAKE([-Wall -Werror foreign]) |
| 7 | |
| 8 | # Checks for programs. |
| 9 | GUILE_PKG([3.0 2.2]) |
| 10 | GUILE_PROGS |
| 11 | GUILE_SITE_DIR |
| 12 | |
| 13 | # Checks for libraries. |
| 14 | GUILE_MODULE_AVAILABLE([have_guile_json], [(json)]) |
| 15 | if test "x$have_guile_json" != "xyes"; then |
| 16 | AC_MSG_ERROR([Guile-Json could not be found; please install it.]) |
| 17 | fi |
| 18 | |
| 19 | GUILE_MODULE_AVAILABLE([have_guile_gnutls], [(gnutls)]) |
| 20 | if test "x$have_guile_gnutls" != "xyes"; then |
| 21 | AC_MSG_ERROR([Guile-GnuTLS could not be found; please install it.]) |
| 22 | fi |
| 23 | |
| 24 | |
| 25 | AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) |
| 26 | AC_CONFIG_FILES([config.scm], []) |
| 27 | AC_CONFIG_FILES([tests/compact.scm], [chmod +x tests/compact.scm]) |
| 28 | AC_CONFIG_FILES([tests/expand.scm], [chmod +x tests/expand.scm]) |
| 29 | AC_CONFIG_FILES([tests/flatten.scm], [chmod +x tests/flatten.scm]) |
| 30 | AC_CONFIG_FILES([tests/html.scm], [chmod +x tests/html.scm]) |
| 31 | AC_CONFIG_FILES([tests/remote-doc.scm], [chmod +x tests/remote-doc.scm]) |
| 32 | AC_CONFIG_FILES([tests/report.scm], [chmod +x tests/report.scm]) |
| 33 | AC_CONFIG_FILES([tests/fromrdf.scm], [chmod +x tests/fromrdf.scm]) |
| 34 | AC_CONFIG_FILES([tests/tordf.scm], [chmod +x tests/tordf.scm]) |
| 35 | AC_CONFIG_FILES(Makefile) |
| 36 | AC_REQUIRE_AUX_FILE([tap-driver.sh]) |
| 37 | AC_PROG_AWK |
| 38 | |
| 39 | AC_OUTPUT |
| 40 |