From 7c7f5e5537744f321773ccf8f09cfd864be13ee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6ppe?= Date: Sat, 14 Jan 2006 13:35:13 +0000 Subject: [PATCH] Add test suites for CLISP, CFFI, UFFI. Check for CLISP binary. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8428 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/configure.in | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/SWIG/configure.in b/SWIG/configure.in index db3af1434..fb8e90d89 100644 --- a/SWIG/configure.in +++ b/SWIG/configure.in @@ -1692,6 +1692,28 @@ fi AC_SUBST(ALLEGROCLBIN) +#---------------------------------------------------------------- +# Look for GNU CLISP +#---------------------------------------------------------------- + +CLISPBIN= + +AC_ARG_WITH(clisp, AS_HELP_STRING([--without-clisp], [Disable CLISP]) +AS_HELP_STRING([--with-clisp=path], [Set location of CLISP executable (clisp)]),[ CLISPBIN="$withval"], [CLISPBIN=yes]) + +# First, check for "--without-clisp" or "--with-clisp=no". +if test x"${CLISPBIN}" = xno -o x"${with_alllang}" = xno ; then +AC_MSG_NOTICE([Disabling CLISP]) +else + +# can we find clisp? +if test "x$CLISPBIN" = xyes; then + AC_PATH_PROG(CLISPBIN, clisp) +fi +fi + +AC_SUBST(CLISPBIN) + #---------------------------------------------------------------- # Determine which languages to use for examples/test-suite #---------------------------------------------------------------- @@ -1805,6 +1827,18 @@ if test -z "$ALLEGROCLBIN" ; then fi AC_SUBST(SKIP_ALLEGROCL) +SKIP_CLISP= +if test -z "$CLISPBIN" ; then + SKIP_CLISP="1" +fi +AC_SUBST(SKIP_CLISP) + +SKIP_CFFI= +AC_SUBST(SKIP_CFFI) + +SKIP_UFFI= +AC_SUBST(SKIP_UFFI) + #---------------------------------------------------------------- # Additional language dependencies #---------------------------------------------------------------- @@ -1874,6 +1908,9 @@ AC_CONFIG_FILES([ \ Examples/test-suite/tcl/Makefile \ Examples/test-suite/lua/Makefile \ Examples/test-suite/allegrocl/Makefile \ + Examples/test-suite/clisp/Makefile \ + Examples/test-suite/cffi/Makefile \ + Examples/test-suite/uffi/Makefile \ ]) AC_CONFIG_FILES([preinst-swig], [chmod +x preinst-swig]) AC_OUTPUT