1 dnl FIXME: pick up from test-simple.el
2 AC_INIT(emacs-test-simple, 1.0,)
3 AC_CONFIG_SRCDIR(test-simple.el)
4 AM_INIT_AUTOMAKE([foreign])
7 AC_PATH_PROG([EMACS], [emacs], [emacs])
8 AC_MSG_NOTICE("Checking emacs version and prerequiste packages")
9 $EMACS -batch -q -no-site-file -eval \
10 '(if (<= emacs-major-version 22)
12 (error "You need GNU Emacs 23 or better.")
16 if test $? -ne 0 ; then
17 AC_MSG_ERROR([Can't continue until above error is corrected.])
20 ##################################################################
21 # See if --with-lispdir was set. If not, set it to a reasonable default
22 # based on where bash thinks bashdb is supposed to be installed.
23 ##################################################################
25 AM_MISSING_PROG(GIT2CL, git2cl, $missing_dir)
27 # Check whether --with-lispdir was given.
28 if test "${with_lispdir+set}" = set -o "${prefix+set}" = set; then :
30 my_lispdir=$(EMACS_PROG=$EMACS $SH_PROG $(dirname $0)/compute-lispdir.sh)
31 if test "${my_lispdir+set}" = set; then :
32 with_lispdir=$my_lispdir
33 echo "'compute-lispdir.sh' lispdir install directory override: '$with_lispdir'"
38 ## Find out where to install the debugger emacs lisp files
41 AM_CONDITIONAL(INSTALL_EMACS_LISP, test "x$lispdir" != "x")
43 AC_CONFIG_FILES([Makefile test/Makefile])