2005-11-01 23:24:15 +00:00
|
|
|
# Guile-VM.
|
2000-08-22 15:54:19 +00:00
|
|
|
|
2005-11-01 23:24:15 +00:00
|
|
|
AC_PREREQ(2.59)
|
|
|
|
|
AC_INIT(guile-vm, 0.6, ludovic.courtes@laas.fr)
|
|
|
|
|
AM_INIT_AUTOMAKE(guile-vm, 0.6)
|
|
|
|
|
|
|
|
|
|
AC_CONFIG_SRCDIR(src/guile-vm.c)
|
|
|
|
|
AC_CONFIG_HEADER(src/config.h)
|
|
|
|
|
|
|
|
|
|
# Guile.
|
2000-08-22 15:54:19 +00:00
|
|
|
GUILE_FLAGS
|
2005-11-01 23:24:15 +00:00
|
|
|
if test "`guile -c '(display (string>=? (version) "1.7"))'`" != "#t"; then
|
|
|
|
|
AC_MSG_ERROR([Your Guile is too old. You need Guile 1.7.2 or later.])
|
2000-08-22 15:54:19 +00:00
|
|
|
fi
|
|
|
|
|
|
2005-11-01 23:24:15 +00:00
|
|
|
# C Compiler.
|
2000-08-22 15:54:19 +00:00
|
|
|
AC_PROG_CC
|
|
|
|
|
AC_PROG_LN_S
|
|
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
|
AC_C_LABELS_AS_VALUES
|
|
|
|
|
|
2001-04-22 02:13:48 +00:00
|
|
|
guiledir="\$(datadir)/guile"
|
|
|
|
|
AC_SUBST(guiledir)
|
|
|
|
|
|
|
|
|
|
GUILEC="GUILE_LOAD_PATH=\$(top_srcdir)/module \
|
|
|
|
|
LD_LIBRARY_PATH=\$(top_srcdir)/src/.libs \
|
|
|
|
|
guile -s \$(top_srcdir)/src/guilec"
|
|
|
|
|
AC_SUBST(GUILEC)
|
|
|
|
|
|
|
|
|
|
AC_OUTPUT(Makefile src/Makefile doc/Makefile module/Makefile
|
2005-11-01 23:24:15 +00:00
|
|
|
module/system/Makefile module/system/base/Makefile
|
|
|
|
|
module/system/vm/Makefile module/system/il/Makefile
|
|
|
|
|
module/system/repl/Makefile
|
|
|
|
|
module/language/Makefile module/language/scheme/Makefile
|
|
|
|
|
testsuite/Makefile)
|