2 # Process this file with autoconf to produce a configure script.
5 AC_INIT(Lisp Computing Environment, 0.0.0, sabetts@vcn.bc.ca)
10 # Checks for programs.
11 AC_ARG_WITH(lisp, [ --with-lisp=IMPL use the specified lisp (either sbcl or clisp)], LISP=$withval, LISP="sbcl")
12 AC_ARG_WITH(sbcl, [ --with-sbcl=PATH specify full path to sbcl], SBCL_PATH=$withval, SBCL_PATH="")
13 AC_ARG_WITH(clisp, [ --with-clisp=PATH specify full path to clisp], CLISP_PATH=$withval, CLISP_PATH="")
15 AC_PATH_PROG([CLISP], clisp,"",[$CLISP_PATH:$PATH])
16 AC_PATH_PROG([SBCL], sbcl,"",[$SBCL_PATH:$PATH])
17 AC_PATH_PROG([SBCL], sbcl,"",[$SBCL_PATH:$PATH])
19 if test "x$LISP" = "xclisp"; then
20 if test "x$CLISP" = "x"; then
26 elif test "x$LISP" = "xsbcl"; then
27 if test "x$SBCL" = "x"; then
35 if test "x$LISP_PROGRAM" = "x"; then
36 AC_MSG_ERROR([*** No lisp is available.])
39 AC_MSG_NOTICE([Using $LISP at $LISP_PROGRAM])
41 # Checks for libraries.
43 # Checks for header files.
45 # Checks for typedefs, structures, and compiler characteristics.
47 # Checks for library functions.
48 AC_OUTPUT(Makefile src/Makefile)