1 dnl Process this file with autoconf to produce a configure script.
2 dnl ====================================================================
6 dnl configure script for eCos synthetic target watchdog
9 dnl ====================================================================
10 dnl####COPYRIGHTBEGIN####
12 dnl ----------------------------------------------------------------------------
13 dnl Copyright (C) 2002 Bart Veer
15 dnl This file is part of the eCos synthetic target support.
17 dnl This program is free software; you can redistribute it and/or modify it
18 dnl under the terms of the GNU General Public License as published by the Free
19 dnl Software Foundation; either version 2 of the License, or (at your option)
20 dnl any later version.
22 dnl This program is distributed in the hope that it will be useful, but WITHOUT
23 dnl ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
24 dnl FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
27 dnl You should have received a copy of the GNU General Public License along with
28 dnl this program; if not, write to the Free Software Foundation, Inc.,
29 dnl 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
30 dnl ----------------------------------------------------------------------------
32 dnl####COPYRIGHTEND####
33 dnl ====================================================================
34 dnl#####DESCRIPTIONBEGIN####
41 dnl####DESCRIPTIONEND####
42 dnl ====================================================================
47 dnl Pick up the support files from the top-level acsupport directory.
48 AC_CONFIG_AUX_DIR(../../../../../../acsupport)
50 ECOS_CHECK_BUILD_ne_SRC
52 AM_INIT_AUTOMAKE(eCos_synthetic_target_watchdog,0.1,0)
55 dnl The current version of the synthetic target is implemented only for
56 dnl x86 Linux platforms, so a test is appropriate here. However
57 dnl it is not a good idea for the configure script to report an error:
58 dnl that would prevent any top-level configury working for other
59 dnl platforms. Instead an automake conditional is used to suppress adding
60 dnl targets to the build.
62 i[[34567]]86-*-linux-gnu* ) SUPPORTED="yes";;
65 AM_CONDITIONAL(SUPPORTED, test "${SUPPORTED}" = "yes")
67 dnl The watchdog host-side support only involves a Tcl
68 dnl script and data files, so nothing needs to be compiled
69 if test "${SUPPORTED}" = "yes" ; then
73 AC_OUTPUT(Makefile:Makefile.in)