aboutsummaryrefslogtreecommitdiff
path: root/configure.in
blob: 2f6ff06a926807ce6ef87d0fe39d0466dbaa6d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.13)
AC_INIT(runtest.exp)
dnl AC_CONFIG_AUX_DIR(..)

dnl These are required by automake
AM_INIT_AUTOMAKE(dejagnu, 1.4.4)
AM_MAINTAINER_MODE
AC_PROG_MAKE_SET

AC_PROG_CC
AC_NO_EXECUTABLES
AC_PROG_CXX
AC_PROG_INSTALL
AC_EXEEXT

AC_PROG_YACC
dnl AM_PROG_LEX

dnl we need the path to Docbook so we can build packages.
DJ_AC_PATH_DOCBOOK

dnl we need the path to the tcl shell to build a release
DJ_AC_PATH_TCLSH

dnl Level of indirection for automake macro (baseboards:boards_DATA)
BOARDS='$(boards)'
AC_SUBST(BOARDS)
CONFIG='$(config)'
AC_SUBST(CONFIG)

AC_CONFIG_SUBDIRS(example/calc example/hello)

AC_OUTPUT(Makefile
doc/Makefile
doc/C/Makefile
testsuite/Makefile
example/Makefile
testsuite/libdejagnu/Makefile)