2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([guile-r6rs], [0.0], [ludovic.courtes@laas.fr])
6 AC_CONFIG_AUX_DIR(build-aux)
8 AM_INIT_AUTOMAKE(guile-r6rs, 0.0)
10 AC_CONFIG_SRCDIR([src/bytevector.c])
11 AC_CONFIG_HEADER([src/config.h])
13 # Checks for programs.
20 AC_PATH_PROG([guile_snarf], [guile-snarf], [not-found])
21 if test "x$guile_snarf" = "xnot-found"; then
22 AC_MSG_ERROR([`guile-snarf' not found. Please install Guile 1.8.x or later.])
26 # Checks for header files.
28 AC_CHECK_HEADERS([string.h arpa/inet.h])
29 AC_CHECK_HEADER([gmp.h], [:],
30 AC_MSG_ERROR([GMP headers not found. Please install it first.]))
32 # Checks for typedefs, structures, and compiler characteristics.
37 # Checks for library functions.
39 AC_CHECK_FUNCS([htons htonl], [:],
40 AC_MSG_ERROR([Byte order functions not found.]))
45 AC_CONFIG_FILES([Makefile
50 AC_CONFIG_COMMANDS([pre-inst-guile-exec], [chmod +x pre-inst-guile])