source: rtems/cpukit/libmisc/configure.ac @ 22b689b

4.104.114.84.95
Last change on this file since 22b689b was 22b689b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/14/02 at 12:13:26

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

  • capture/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • serdbg/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • serdbg/serdbgio.c: Add #include <unistd.h>.
  • shell/Makefile.am: Add RTEMS_LIBSHELL conditional.
  • wrapup/Makefile.am: Add RTEMS_LIBSHELL conditional.
  • configure.ac: Check for stdio assignments. Add RTEMS_LIBSHELL conditional.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.52)
6AC_INIT([rtems-c-src-libmisc],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
7AC_CONFIG_SRCDIR([dumpbuf])
8RTEMS_TOP(../../..)
9AC_CONFIG_AUX_DIR(../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12
13AM_INIT_AUTOMAKE([no-define foreign 1.6])
14AM_MAINTAINER_MODE
15
16RTEMS_ENABLE_BARE
17
18RTEMS_ENV_RTEMSBSP
19RTEMS_CHECK_CPU
20RTEMS_CANONICAL_HOST
21
22RTEMS_PROJECT_ROOT
23
24RTEMS_PROG_CC_FOR_TARGET
25RTEMS_CANONICALIZE_TOOLS
26
27RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
28RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
29
30AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
31
32# shell/* wants to assign file descriptors to stdio file descriptors.
33AC_MSG_CHECKING([for assignable stdio])
34AC_COMPILE_IFELSE(
35  [AC_LANG_PROGRAM(
36    [#include <stdio.h>],
37    [stdin = fopen("/tmp", "r")])],
38  [HAVE_ASSIGNABLE_STDIO=yes],
39  [HAVE_ASSIGNABLE_STDIO=no])
40AC_MSG_RESULT([$HAVE_ASSIGNABLE_STDIO])
41
42AM_CONDITIONAL([RTEMS_LIBSHELL],[test x"$HAVE_ASSIGNABLE_STDIO" = x"yes"])
43
44# Explicitly list all Makefiles here
45AC_CONFIG_FILES([Makefile
46cpuuse/Makefile
47shell/Makefile
48devnull/Makefile
49dummy/Makefile
50dumpbuf/Makefile
51monitor/Makefile
52rtmonuse/Makefile
53serdbg/Makefile
54stackchk/Makefile
55capture/Makefile
56untar/Makefile
57mw-fb/Makefile
58wrapup/Makefile
59])
60AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.