1 dnl Process this file with autoconf to produce a configure script.
2 dnl ====================================================================
6 dnl Top-level configure script for eCos host-side software.
8 dnl ====================================================================
9 dnl ####ECOSHOSTGPLCOPYRIGHTBEGIN####
10 dnl ----------------------------------------------------------------------------
11 dnl Copyright (C) 2002 Bart Veer
12 dnl Copyright (C) 1998, 1999, 2000, 2001 Red Hat, Inc.
14 dnl This file is part of the eCos host tools.
16 dnl This program is free software; you can redistribute it and/or modify it
17 dnl under the terms of the GNU General Public License as published by the Free
18 dnl Software Foundation; either version 2 of the License, or (at your option)
19 dnl any later version.
21 dnl This program is distributed in the hope that it will be useful, but WITHOUT
22 dnl ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23 dnl FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
26 dnl You should have received a copy of the GNU General Public License along with
27 dnl this program; if not, write to the Free Software Foundation, Inc.,
28 dnl 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
30 dnl ----------------------------------------------------------------------------
31 dnl ####ECOSHOSTGPLCOPYRIGHTEND####
32 dnl ====================================================================
33 dnl#####DESCRIPTIONBEGIN####
40 dnl####DESCRIPTIONEND####
41 dnl ====================================================================
43 dnl Generic initialization
44 AC_INIT(../acsupport/config.guess)
45 AC_CONFIG_AUX_DIR(../acsupport)
47 AM_INIT_AUTOMAKE(eCos,2.0,0)
49 ECOS_CHECK_BUILD_ne_SRC
51 dnl Nothing actually gets built in this directory, so there is no
52 dnl point in worrying about compiler flags etc. Instead just
53 dnl recurse into appropriate subdirectories. The current directory
54 dnl tree is rather deep, so to avoid having to create lots of intermediate
55 dnl configure scripts and associated files the required build tree
56 dnl subdirectories are created here.
57 SUBDIRS="infra libcdl tools/configtool/standalone/common"
60 test -d tools || mkdir tools
61 test -d tools/configtool || mkdir tools/configtool
62 test -d tools/configtool/standalone || mkdir tools/configtool/standalone
63 test -d tools/configtool/standalone/common || mkdir tools/configtool/standalone/common
67 AC_CONFIG_SUBDIRS(${SUBDIRS})