Add section on using dejagnu.h for unit testing.
[dejagnu.git] / configure.in
bloba857b63a181c69cd615a6b35300956aeee0ea02d
1 dnl Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.13)
3 AC_INIT(runtest.exp)
4 dnl AC_CONFIG_AUX_DIR(..)
6 dnl These are required by automake
7 AM_INIT_AUTOMAKE(dejagnu, 1.4.1)
8 AM_MAINTAINER_MODE
9 AC_PROG_MAKE_SET
11 AC_PROG_CC
12 AC_PROG_CXX
13 AC_PROG_INSTALL
14 AC_EXEEXT
16 dnl we need the path to Docbook so we can build packages.
17 DJ_AC_PATH_DOCBOOK
19 dnl we need the path to the tcl shell to build a release
20 DJ_AC_PATH_TCLSH
22 dnl Level of indirection for automake macro (baseboards:boards_DATA)
23 BOARDS='$(boards)'
24 AC_SUBST(BOARDS)
25 CONFIG='$(config)'
26 AC_SUBST(CONFIG)
28 AC_CONFIG_SUBDIRS(example/calc)
30 AC_OUTPUT(Makefile doc/Makefile testsuite/Makefile example/Makefile
31 testsuite/libdejagnu/Makefile)