source: rtems/cpukit/libcsupport/configure.ac @ 9d721178

4.104.114.84.95
Last change on this file since 9d721178 was 9d721178, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 19, 2002 at 10:37:21 PM

2002-11-19 Ralf Corsepius <corsepiu@…>

  • configure.ac: Cosmetical fixes.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.52)
6AC_INIT([rtems-cpukit-lib],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
7AC_CONFIG_SRCDIR([src])
8RTEMS_TOP(../..)
9AC_CONFIG_AUX_DIR(../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.6])
13AM_MAINTAINER_MODE
14
15RTEMS_ENV_RTEMSCPU
16
17RTEMS_CHECK_CPU
18RTEMS_CANONICAL_HOST
19
20RTEMS_PROG_CC_FOR_TARGET
21RTEMS_CANONICALIZE_TOOLS
22AC_PROG_RANLIB
23
24RTEMS_CHECK_NEWLIB
25RTEMS_CHECK_MULTIPROCESSING
26
27AM_CONDITIONAL(UNIX,test x"$RTEMS_CPU" = x"unix")
28AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes")
29
30AS_IF([test x"$RTEMS_USE_NEWLIB" != x"yes"],[
31## Provide sys/cdefs.h only if the host doesn't.
32  AC_CHECK_HEADERS([sys/cdefs.h],[NEED_SYS_CDEFS_H=no],[NEED_SYS_CDEFS_H=yes])
33# FIXME: These checks are only in here to provide
34# configuration-time diagnostics and are not really used.
35  AC_CHECK_HEADERS([stdint.h inttypes.h])
36],[
37## Using newlib, we provide sys/cdefs.h
38  NEED_SYS_CDEFS_H=yes
39])
40
41# FIXME: These checks are only in here to provide
42# configuration-time diagnostics and are not really used.
43AC_CHECK_DECLS([_POSIX_LOGIN_NAME_MAX],,,[#include <limits.h>])
44AC_CHECK_DECLS([CHAR_BIT],,,[#include <limits.h>])
45
46AM_CONDITIONAL([NEED_SYS_CDEFS_H],[test x"$NEED_SYS_CDEFS_H" = x"yes"])
47
48AM_CONFIG_HEADER([src/config.h])
49
50# Explicitly list all Makefiles here
51AC_CONFIG_FILES([Makefile])
52AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.