summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mvme162/tools/configure.ac
blob: 8fb70a238fb795bacb5496089747f8e73a256fc2 (plain) (blame)
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
## Process this file with autoconf to produce a configure script.
## 
## $Id$

AC_PREREQ(2.60)
AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme162-tools],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
AC_CONFIG_SRCDIR([sload.c])
RTEMS_TOP(../../../../../../..)

RTEMS_CANONICAL_TARGET_CPU

AM_INIT_AUTOMAKE([no-define foreign 1.10])
AM_MAINTAINER_MODE

AC_PROG_CC

## FIXME: The checks below are probably incorrect and will not work for
## those actually having sys/vme.h
## Please report any errors related to it, otherwise we will not be able
## to fix building/configuring sload
AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h sys/vme.h)
AC_FUNC_MMAP

AM_CONDITIONAL(SLOAD_BUILDABLE, 
test "$ac_cv_header_sys_vme_h" = "yes" \
-a  "$ac_cv_header_unistd_h" = "yes" \
-a "$ac_cv_header_stdc" = "yes" )

RTEMS_PROJECT_ROOT
RTEMS_TOOLPATHS

# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile])
AC_OUTPUT