aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2004-02-06 04:21:05 +0000
committerBen Elliston <bje@gnu.org>2004-02-06 04:21:05 +0000
commit95ad9cc3c62abaecc4ff53e9c7ea553e12ca3833 (patch)
tree366122b74f753f2fe183d893ef32a7ef84bc07b8 /configure.ac
parentbe2ee77ded980a22f04a1eddb035805b31da0aef (diff)
downloaddejagnu-95ad9cc3c62abaecc4ff53e9c7ea553e12ca3833.zip
dejagnu-95ad9cc3c62abaecc4ff53e9c7ea553e12ca3833.tar.gz
dejagnu-95ad9cc3c62abaecc4ff53e9c7ea553e12ca3833.tar.bz2
* configure.in: Rename from this ..
* configure.ac: .. to this. Require Autoconf 2.50.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac35
1 files changed, 35 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..739b260
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,35 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_PREREQ(2.50)
+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_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 testsuite/Makefile example/Makefile
+testsuite/libdejagnu/Makefile)
+