aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure26
-rw-r--r--configure.ac8
-rw-r--r--configure.ac.pamphlet8
4 files changed, 35 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d445a64..610dd086 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-04-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
+ * configure.ac.pamphlet: When using CLisp, ensure FFI is supported.
+
+2008-04-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
* configure.ac.pamphlet: Disable Libtool for building shared
libraries on MinGW and Cygwin.
* config/var-def.mk (SHREXT): Tidy.
diff --git a/configure b/configure
index b9973e8b..4c7b022c 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for OpenAxiom 1.2.0-2008-04-03.
+# Generated by GNU Autoconf 2.60 for OpenAxiom 1.2.0-2008-04-04.
#
# Report bugs to <open-axiom-bugs@lists.sf.net>.
#
@@ -713,8 +713,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='OpenAxiom'
PACKAGE_TARNAME='openaxiom'
-PACKAGE_VERSION='1.2.0-2008-04-03'
-PACKAGE_STRING='OpenAxiom 1.2.0-2008-04-03'
+PACKAGE_VERSION='1.2.0-2008-04-04'
+PACKAGE_STRING='OpenAxiom 1.2.0-2008-04-04'
PACKAGE_BUGREPORT='open-axiom-bugs@lists.sf.net'
ac_unique_file="src/Makefile.pamphlet"
@@ -1402,7 +1402,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures OpenAxiom 1.2.0-2008-04-03 to adapt to many kinds of systems.
+\`configure' configures OpenAxiom 1.2.0-2008-04-04 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1472,7 +1472,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of OpenAxiom 1.2.0-2008-04-03:";;
+ short | recursive ) echo "Configuration of OpenAxiom 1.2.0-2008-04-04:";;
esac
cat <<\_ACEOF
@@ -1576,7 +1576,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-OpenAxiom configure 1.2.0-2008-04-03
+OpenAxiom configure 1.2.0-2008-04-04
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1590,7 +1590,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by OpenAxiom $as_me 1.2.0-2008-04-03, which was
+It was created by OpenAxiom $as_me 1.2.0-2008-04-04, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -21036,6 +21036,14 @@ echo $ECHO_N "checking which flavor of Lisp... $ECHO_C" >&6; }
axiom_lisp_flavor=sbcl
;;
*CLISP*)
+ ## Not all variants of CLisp have FFI support. FFI is used
+ ## internally used by OpenAxiom in essential way.
+ if ! $axiom_lisp -q -x '*features*' | grep ':FFI' 2>/dev/null
+ then
+ { { echo "$as_me:$LINENO: error: $axiom_lisp does not support Foreign Function Interface. Please upgrade to a better version of CLisp or install SBCL." >&5
+echo "$as_me: error: $axiom_lisp does not support Foreign Function Interface. Please upgrade to a better version of CLisp or install SBCL." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
axiom_lisp_flavor=clisp
;;
esac
@@ -25790,7 +25798,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by OpenAxiom $as_me 1.2.0-2008-04-03, which was
+This file was extended by OpenAxiom $as_me 1.2.0-2008-04-04, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -25839,7 +25847,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-OpenAxiom config.status 1.2.0-2008-04-03
+OpenAxiom config.status 1.2.0-2008-04-04
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/configure.ac b/configure.ac
index 5005425b..75ccc331 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.2.0-2008-04-03],
+AC_INIT([OpenAxiom], [1.2.0-2008-04-04],
[open-axiom-bugs@lists.sf.net])
AC_CONFIG_AUX_DIR(config)
@@ -260,6 +260,12 @@ case $axiom_include_gcl,$axiom_lisp in
axiom_lisp_flavor=sbcl
;;
*CLISP*)
+ ## Not all variants of CLisp have FFI support. FFI is used
+ ## internally used by OpenAxiom in essential way.
+ if ! $axiom_lisp -q -x '*features*' | grep ':FFI' 2>/dev/null
+ then
+ AC_MSG_ERROR([$axiom_lisp does not support Foreign Function Interface. Please upgrade to a better version of CLisp or install SBCL.])
+ fi
axiom_lisp_flavor=clisp
;;
esac
diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet
index ac2ad33f..12194d6c 100644
--- a/configure.ac.pamphlet
+++ b/configure.ac.pamphlet
@@ -882,6 +882,12 @@ case $axiom_include_gcl,$axiom_lisp in
axiom_lisp_flavor=sbcl
;;
*CLISP*)
+ ## Not all variants of CLisp have FFI support. FFI is used
+ ## internally used by OpenAxiom in essential way.
+ if ! $axiom_lisp -q -x '*features*' | grep ':FFI' 2>/dev/null
+ then
+ AC_MSG_ERROR([$axiom_lisp does not support Foreign Function Interface. Please upgrade to a better version of CLisp or install SBCL.])
+ fi
axiom_lisp_flavor=clisp
;;
esac
@@ -1086,7 +1092,7 @@ information:
<<Autoconf init>>=
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.2.0-2008-04-03],
+AC_INIT([OpenAxiom], [1.2.0-2008-04-04],
[open-axiom-bugs@lists.sf.net])
@