1 |
27 |
unneback |
dnl Process this file with autoconf to produce a configure script.
|
2 |
|
|
dnl ====================================================================
|
3 |
|
|
dnl
|
4 |
|
|
dnl configure.in
|
5 |
|
|
dnl
|
6 |
|
|
dnl configure script for eCos synthetic target watchdog
|
7 |
|
|
dnl host-side support
|
8 |
|
|
dnl
|
9 |
|
|
dnl ====================================================================
|
10 |
|
|
dnl####COPYRIGHTBEGIN####
|
11 |
|
|
dnl
|
12 |
|
|
dnl ----------------------------------------------------------------------------
|
13 |
|
|
dnl Copyright (C) 2002 Bart Veer
|
14 |
|
|
dnl
|
15 |
|
|
dnl This file is part of the eCos synthetic target support.
|
16 |
|
|
dnl
|
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.
|
21 |
|
|
dnl
|
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
|
25 |
|
|
dnl more details.
|
26 |
|
|
dnl
|
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 ----------------------------------------------------------------------------
|
31 |
|
|
dnl
|
32 |
|
|
dnl####COPYRIGHTEND####
|
33 |
|
|
dnl ====================================================================
|
34 |
|
|
dnl#####DESCRIPTIONBEGIN####
|
35 |
|
|
dnl
|
36 |
|
|
dnl Author(s): bartv
|
37 |
|
|
dnl Contact(s): bartv
|
38 |
|
|
dnl Date: 2002/09/04
|
39 |
|
|
dnl Version: 0.01
|
40 |
|
|
dnl
|
41 |
|
|
dnl####DESCRIPTIONEND####
|
42 |
|
|
dnl ====================================================================
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
AC_INIT(watchdog.tcl)
|
46 |
|
|
|
47 |
|
|
dnl Pick up the support files from the top-level acsupport directory.
|
48 |
|
|
AC_CONFIG_AUX_DIR(../../../../../../acsupport)
|
49 |
|
|
|
50 |
|
|
ECOS_CHECK_BUILD_ne_SRC
|
51 |
|
|
AC_CANONICAL_HOST
|
52 |
|
|
AM_INIT_AUTOMAKE(eCos_synthetic_target_watchdog,0.1,0)
|
53 |
|
|
AM_MAINTAINER_MODE
|
54 |
|
|
|
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.
|
61 |
|
|
case "${host}" in
|
62 |
|
|
i[[34567]]86-*-linux-gnu* ) SUPPORTED="yes";;
|
63 |
|
|
* ) SUPPORTED="no"
|
64 |
|
|
esac
|
65 |
|
|
AM_CONDITIONAL(SUPPORTED, test "${SUPPORTED}" = "yes")
|
66 |
|
|
|
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
|
70 |
|
|
ECOS_PACKAGE_DIRS
|
71 |
|
|
fi
|
72 |
|
|
|
73 |
|
|
AC_OUTPUT(Makefile:Makefile.in)
|