summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mvme162/tools/configure.in
blob: f96edd3650854c7976e832d66aa6b0f655ab5352 (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
dnl Process this file with autoconf to produce a configure script.
dnl
dnl  $Id$

AC_INIT(sload.c)
RTEMS_TOP(../../../../../../..)
AC_CONFIG_AUX_DIR(../../../../../../..)

RTEMS_CANONICAL_TARGET_CPU

AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-mvme162-tools,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
AC_EXEEXT

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_OUTPUT( 
Makefile)