source: rtems/testsuites/libtests/configure.ac @ e870941

4.115
Last change on this file since e870941 was e870941, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 4, 2014 at 8:38:27 AM

libmisc: More useful default configuration

The dummy.c was a de-facto default configuration. Rename it to
default-configuration.c. Use unlimited objects and the stack checker.
This makes it easier for new RTEMS users which will likely use this file
if they just work with the usual main() function as the application
entry point. Provide proper arguments for main() using the BSP command
line. Add spare user extensions and drivers.

Do not initialize the network by default. Delete bspinit.c.

  • Property mode set to 100644
File size: 3.1 KB
Line 
1## Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-c-src-tests-libtests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
5AC_CONFIG_SRCDIR([cpuuse])
6AC_CONFIG_HEADER([config.h])
7RTEMS_TOP([../..],[..])
8
9RTEMS_CANONICAL_TARGET_CPU
10
11AM_INIT_AUTOMAKE([no-define foreign 1.12.2])
12AM_MAINTAINER_MODE
13
14RTEMS_ENABLE_CXX
15
16RTEMS_ENV_RTEMSBSP
17RTEMS_CHECK_RTEMS_TEST_NO_PAUSE
18
19RTEMS_PROJECT_ROOT
20
21RTEMS_PROG_CC_FOR_TARGET
22
23RTEMS_PROG_CXX_FOR_TARGET
24
25RTEMS_CANONICALIZE_TOOLS
26
27RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
28RTEMS_CHECK_CXX(RTEMS_BSP)
29RTEMS_CHECK_CPUOPTS([RTEMS_NETWORKING])
30RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
31
32AC_PROG_LN_S
33AC_PATH_PROG([PAX],[pax])
34
35AC_CHECK_HEADERS([complex.h])
36
37AM_CONDITIONAL(TARTESTS,test "$as_ln_s" = "ln -s" && test -n "$PAX")
38
39AM_CONDITIONAL(HAS_CXX,test "$rtems_cv_HAS_CPLUSPLUS" = "yes")
40AM_CONDITIONAL([HAS_COMPLEX],[test "$ac_cv_header_complex_h" = yes])
41AM_CONDITIONAL(NETTESTS,test "$rtems_cv_RTEMS_NETWORKING" = "yes")
42AM_CONDITIONAL(HAS_POSIX,test x"${rtems_cv_RTEMS_POSIX_API}" = x"yes")
43
44# Must match the list in cpukit.
45AC_MSG_CHECKING([whether CPU supports libdl])
46case $RTEMS_CPU in
47  arm | bfin | h8300 | i386 | lm32 | m32r | m68k | mips | \
48  moxie | powerpc | sparc | v850)
49   TEST_LIBDL=yes ;;
50  *)
51   TEST_LIBDL=no ;;
52esac
53AC_MSG_RESULT([$TEST_LIBDL])
54
55AS_IF([test x"$TEST_LIBDL" = x"yes"],[
56  AC_CHECK_PROG(RTEMS_LD_CHECK,rtems-ld,yes)
57  if test x"$RTEMS_LD_CHECK" != x"yes" ; then
58    TEST_LIBDL=no
59  fi
60  AC_CHECK_PROG(RTEMS_SYMS_CHECK,rtems-syms,yes)
61  if test x"$RTEMS_SYMS_CHECK" != x"yes" ; then
62    TEST_LIBDL=no
63  fi
64])
65
66AM_CONDITIONAL(DLTESTS,[test x"$TEST_LIBDL" = x"yes"])
67
68# Explicitly list all Makefiles here
69AC_CONFIG_FILES([Makefile
70defaultconfig01/Makefile
71pwdgrp02/Makefile
72shell01/Makefile
73pwdgrp01/Makefile
74crypt01/Makefile
75sha/Makefile
76i2c01/Makefile
77newlib01/Makefile
78block17/Makefile
79exit02/Makefile
80exit01/Makefile
81utf8proc01/Makefile
82md501/Makefile
83sparsedisk01/Makefile
84block16/Makefile
85mghttpd01/Makefile
86block15/Makefile
87block14/Makefile
88block13/Makefile
89rbheap01/Makefile
90syscall01/Makefile
91flashdisk01/Makefile
92block01/Makefile
93block02/Makefile
94block03/Makefile
95block04/Makefile
96block05/Makefile
97block06/Makefile
98block07/Makefile
99block08/Makefile
100block09/Makefile
101block10/Makefile
102block11/Makefile
103block12/Makefile
104bspcmdline01/Makefile
105cpuuse/Makefile
106devfs01/Makefile
107devfs02/Makefile
108devfs03/Makefile
109devfs04/Makefile
110deviceio01/Makefile
111devnullfatal01/Makefile
112dl01/Makefile
113dl02/Makefile
114dumpbuf01/Makefile
115ftp01/Makefile
116gxx01/Makefile
117heapwalk/Makefile
118malloctest/Makefile
119malloc02/Makefile
120malloc03/Makefile
121malloc04/Makefile
122monitor/Makefile
123monitor02/Makefile
124mouse01/Makefile
125uid01/Makefile
126putenvtest/Makefile
127rtems++/Makefile
128rtmonuse/Makefile
129stackchk/Makefile
130stackchk01/Makefile
131stringto01/Makefile
132tar01/Makefile
133tar02/Makefile
134tar03/Makefile
135termios/Makefile
136termios01/Makefile
137termios02/Makefile
138termios03/Makefile
139termios04/Makefile
140termios05/Makefile
141termios06/Makefile
142termios07/Makefile
143termios08/Makefile
144top/Makefile
145tztest/Makefile
146capture01/Makefile
147POSIX/Makefile
148math/Makefile
149mathf/Makefile
150mathl/Makefile
151complex/Makefile
152])
153AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.