]> code.delx.au - gnu-emacs-elpa/blob - configure.ac
Add stock Python debugger.
[gnu-emacs-elpa] / configure.ac
1 AC_INIT(emacs-dbgr, 0.02vc,)
2 AC_CONFIG_SRCDIR(dbgr.el)
3 AM_INIT_AUTOMAKE
4 AM_MAINTAINER_MODE
5
6 AC_PATH_PROG([EMACS], [emacs], [emacs])
7 AC_MSG_NOTICE("Checking emacs version and prerequiste packages")
8 $EMACS -batch -q -no-site-file -eval \
9 '(if (<= emacs-major-version 22)
10 (progn
11 (error "You need GNU Emacs 23 or better.")
12 (kill-emacs 1)
13 )
14 (dolist (package (quote (loc-changes load-relative test-unit)))
15 (require package))
16 )'
17 if test $? -ne 0 ; then
18 AC_MSG_ERROR([Can't continue until above error is corrected.])
19 fi
20
21 ##
22 ## Find out where to install the debugger emacs lisp files
23 ##
24 AM_PATH_LISPDIR
25 lispdir_dbgr=$lispdir/dbgr
26 AC_SUBST([lispdir])
27 AC_SUBST([lispdir_dbgr])
28
29 AM_CONDITIONAL(INSTALL_EMACS_LISP, test "x$lispdir_dbgr" != "x")
30
31 AC_CONFIG_FILES([Makefile \
32 dbgr/Makefile \
33 dbgr/common/Makefile \
34 dbgr/common/buffer/Makefile \
35 dbgr/common/init/Makefile \
36 dbgr/debugger/Makefile \
37 dbgr/debugger/bashdb/Makefile \
38 dbgr/debugger/gdb/Makefile \
39 dbgr/debugger/kshdb/Makefile \
40 dbgr/debugger/perldb/Makefile \
41 dbgr/debugger/pdb/Makefile \
42 dbgr/debugger/pydbgr/Makefile \
43 dbgr/debugger/rdebug/Makefile \
44 dbgr/debugger/remake/Makefile \
45 dbgr/debugger/trepan/Makefile \
46 dbgr/debugger/trepan.pl/Makefile \
47 dbgr/debugger/trepanx/Makefile \
48 dbgr/debugger/trepan8/Makefile \
49 dbgr/debugger/zshdb/Makefile \
50 dbgr/lang/Makefile \
51 test/Makefile \
52 ])
53 AC_OUTPUT