source: rtems/testsuites/libtests/configure.ac @ 0161b93d

5
Last change on this file since 0161b93d was 0161b93d, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 3, 2020 at 6:23:53 PM

imfs: Replace devfs with an IMFS specialization

Add a simplified path evaluation function IMFS_eval_path_devfs() for a
device only IMFS configuration.

The code size can be further reduced by the application if it disables
the support for legacy IO drivers via:

#define CONFIGURE_IMFS_DISABLE_MKNOD
#define CONFIGURE_IMFS_DISABLE_MKNOD_DEVICE

Obsolete CONFIGURE_MAXIMUM_DEVICES. Remove BSP_MAXIMUM_DEVICES.

Update #3894.
Update #3898.

  • Property mode set to 100644
File size: 6.4 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],[https://devel.rtems.org/newticket])
5AC_CONFIG_SRCDIR([cpuuse])
6AC_CONFIG_HEADER([config.h])
7RTEMS_TOP([../..],[..])
8RTEMS_SOURCE_TOP
9RTEMS_BUILD_TOP
10
11RTEMS_CANONICAL_TARGET_CPU
12
13AM_INIT_AUTOMAKE([no-define foreign subdir-objects 1.12.2])
14AM_MAINTAINER_MODE
15
16RTEMS_ENABLE_CXX
17
18RTEMS_ENV_RTEMSBSP
19
20RTEMS_PROJECT_ROOT
21
22RTEMS_PROG_CC_FOR_TARGET
23
24RTEMS_PROG_CXX_FOR_TARGET
25
26RTEMS_CANONICALIZE_TOOLS
27
28RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
29RTEMS_CHECK_CXX(RTEMS_BSP)
30RTEMS_CHECK_CPUOPTS([RTEMS_NETWORKING])
31RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
32
33AC_PROG_LN_S
34AC_PATH_PROG([PAX],[pax],no)
35AC_PATH_PROG([GZIP],[gzip],no)
36AC_PATH_PROG([XZ],[xz],no)
37
38AS_IF([test "x$PAX" = "xno"],[
39        AC_MSG_ERROR([pax is missing.])
40])
41
42AM_CONDITIONAL(TARTESTS,test "$as_ln_s" = "ln -s" && test -n "$PAX" && test -n "$GZIP")
43AM_CONDITIONAL(TARTEST_XZ,test -n "$XZ")
44
45AM_CONDITIONAL(HAS_CXX,test "$rtems_cv_HAS_CPLUSPLUS" = "yes")
46AM_CONDITIONAL([HAS_COMPLEX],[test "$ac_cv_header_complex_h" = yes])
47AM_CONDITIONAL(NETTESTS,test "$rtems_cv_RTEMS_NETWORKING" = "yes")
48AM_CONDITIONAL(HAS_POSIX,test x"${rtems_cv_RTEMS_POSIX_API}" = x"yes")
49
50# Must match the list in cpukit.
51AC_MSG_CHECKING([whether CPU supports libdl])
52case $RTEMS_CPU in
53  arm | i386 | m68k | mips | moxie | powerpc | riscv | sparc)
54   TEST_LIBDL=yes ;;
55  # bfin has an issue to resolve with libdl. See ticket #2252
56  bfin)
57   HAVE_LIBDL=no ;;
58  # lm32 has an issue to resolve with libdl. See ticket #2283
59  lm32)
60   HAVE_LIBDL=no ;;
61  # v850 has an issue to resolve with libdl. See ticket #2260
62  v850)
63   HAVE_LIBDL=no ;;
64  *)
65   TEST_LIBDL=no ;;
66esac
67AC_MSG_RESULT([$TEST_LIBDL])
68
69AS_IF([test x"$TEST_LIBDL" = x"yes"],[
70  AC_CHECK_PROG(RTEMS_LD_CHECK,rtems-ld,yes)
71  if test x"$RTEMS_LD_CHECK" != x"yes" ; then
72    TEST_LIBDL=no
73  fi
74  AC_CHECK_PROG(RTEMS_SYMS_CHECK,rtems-syms,yes)
75  if test x"$RTEMS_SYMS_CHECK" != x"yes" ; then
76    TEST_LIBDL=no
77  fi
78])
79
80AM_CONDITIONAL(DLTESTS,[test x"$TEST_LIBDL" = x"yes"])
81
82# Must match the list in cpukit.
83AC_MSG_CHECKING([whether CPU supports libdebugger])
84case $RTEMS_CPU in
85  arm | i386)
86   TEST_LIBDEBUGGER=yes ;;
87  *)
88   TEST_LIBDEBUGGER=no ;;
89esac
90AC_MSG_RESULT([$TEST_LIBDEBUGGER])
91AM_CONDITIONAL(DEBUGGERTESTS,[test x"$TEST_LIBDEBUGGER" = x"yes"])
92
93# BSP Test configuration
94RTEMS_TEST_CHECK([block01])
95RTEMS_TEST_CHECK([block02])
96RTEMS_TEST_CHECK([block03])
97RTEMS_TEST_CHECK([block04])
98RTEMS_TEST_CHECK([block05])
99RTEMS_TEST_CHECK([block06])
100RTEMS_TEST_CHECK([block07])
101RTEMS_TEST_CHECK([block08])
102RTEMS_TEST_CHECK([block09])
103RTEMS_TEST_CHECK([block10])
104RTEMS_TEST_CHECK([block11])
105RTEMS_TEST_CHECK([block12])
106RTEMS_TEST_CHECK([block13])
107RTEMS_TEST_CHECK([block14])
108RTEMS_TEST_CHECK([block15])
109RTEMS_TEST_CHECK([block16])
110RTEMS_TEST_CHECK([block17])
111RTEMS_TEST_CHECK([bspcmdline01])
112RTEMS_TEST_CHECK([calloc])
113RTEMS_TEST_CHECK([capture01])
114RTEMS_TEST_CHECK([clock_gettime])
115RTEMS_TEST_CHECK([close])
116RTEMS_TEST_CHECK([complex])
117RTEMS_TEST_CHECK([cpuuse])
118RTEMS_TEST_CHECK([crypt01])
119RTEMS_TEST_CHECK([debugger01])
120RTEMS_TEST_CHECK([defaultconfig01])
121RTEMS_TEST_CHECK([devfs01])
122RTEMS_TEST_CHECK([devfs04])
123RTEMS_TEST_CHECK([deviceio01])
124RTEMS_TEST_CHECK([devnullfatal01])
125RTEMS_TEST_CHECK([dl01])
126RTEMS_TEST_CHECK([dl02])
127RTEMS_TEST_CHECK([dl03])
128RTEMS_TEST_CHECK([dl04])
129RTEMS_TEST_CHECK([dl05])
130RTEMS_TEST_CHECK([dl06])
131RTEMS_TEST_CHECK([dl07])
132RTEMS_TEST_CHECK([dl08])
133RTEMS_TEST_CHECK([dl09])
134RTEMS_TEST_CHECK([dl10])
135RTEMS_TEST_CHECK([dumpbuf01])
136RTEMS_TEST_CHECK([dup2])
137RTEMS_TEST_CHECK([exit01])
138RTEMS_TEST_CHECK([exit02])
139RTEMS_TEST_CHECK([fcntl])
140RTEMS_TEST_CHECK([flashdisk01])
141RTEMS_TEST_CHECK([flockfile])
142RTEMS_TEST_CHECK([fork])
143RTEMS_TEST_CHECK([free])
144RTEMS_TEST_CHECK([fstat])
145RTEMS_TEST_CHECK([ftp01])
146RTEMS_TEST_CHECK([ftrylockfile])
147RTEMS_TEST_CHECK([funlockfile])
148RTEMS_TEST_CHECK([getentropy01])
149RTEMS_TEST_CHECK([getlogin])
150RTEMS_TEST_CHECK([getpwnam])
151RTEMS_TEST_CHECK([getpwuid])
152RTEMS_TEST_CHECK([gettimeofday])
153RTEMS_TEST_CHECK([getuid])
154RTEMS_TEST_CHECK([gxx01])
155RTEMS_TEST_CHECK([heapwalk])
156RTEMS_TEST_CHECK([htonl])
157RTEMS_TEST_CHECK([i2c01])
158RTEMS_TEST_CHECK([iconv])
159RTEMS_TEST_CHECK([iconv_close])
160RTEMS_TEST_CHECK([iconv_open])
161RTEMS_TEST_CHECK([kill])
162RTEMS_TEST_CHECK([libfdt01])
163RTEMS_TEST_CHECK([longjmp])
164RTEMS_TEST_CHECK([lseek])
165RTEMS_TEST_CHECK([lstat])
166RTEMS_TEST_CHECK([malloc])
167RTEMS_TEST_CHECK([malloc02])
168RTEMS_TEST_CHECK([malloc03])
169RTEMS_TEST_CHECK([malloc04])
170RTEMS_TEST_CHECK([malloctest])
171RTEMS_TEST_CHECK([math])
172RTEMS_TEST_CHECK([mathf])
173RTEMS_TEST_CHECK([mathl])
174RTEMS_TEST_CHECK([md501])
175RTEMS_TEST_CHECK([mghttpd01])
176RTEMS_TEST_CHECK([monitor])
177RTEMS_TEST_CHECK([monitor02])
178RTEMS_TEST_CHECK([mouse01])
179RTEMS_TEST_CHECK([nanosleep])
180RTEMS_TEST_CHECK([networking01])
181RTEMS_TEST_CHECK([newlib01])
182RTEMS_TEST_CHECK([open])
183RTEMS_TEST_CHECK([pipe])
184RTEMS_TEST_CHECK([posix_memalign])
185RTEMS_TEST_CHECK([putenvtest])
186RTEMS_TEST_CHECK([pwdgrp01])
187RTEMS_TEST_CHECK([pwdgrp02])
188RTEMS_TEST_CHECK([rbheap01])
189RTEMS_TEST_CHECK([read])
190RTEMS_TEST_CHECK([readv])
191RTEMS_TEST_CHECK([realloc])
192RTEMS_TEST_CHECK([record01])
193RTEMS_TEST_CHECK([record02])
194RTEMS_TEST_CHECK([rtmonuse])
195RTEMS_TEST_CHECK([setjmp])
196RTEMS_TEST_CHECK([sha])
197RTEMS_TEST_CHECK([shell01])
198RTEMS_TEST_CHECK([sigaddset])
199RTEMS_TEST_CHECK([sigdelset])
200RTEMS_TEST_CHECK([sigemptyset])
201RTEMS_TEST_CHECK([sigfillset])
202RTEMS_TEST_CHECK([sigismember])
203RTEMS_TEST_CHECK([sigprocmask])
204RTEMS_TEST_CHECK([sparsedisk01])
205RTEMS_TEST_CHECK([spi01])
206RTEMS_TEST_CHECK([stackchk])
207RTEMS_TEST_CHECK([stackchk01])
208RTEMS_TEST_CHECK([stat])
209RTEMS_TEST_CHECK([stringto01])
210RTEMS_TEST_CHECK([syscall01])
211RTEMS_TEST_CHECK([tar01])
212RTEMS_TEST_CHECK([tar02])
213RTEMS_TEST_CHECK([tar03])
214RTEMS_TEST_CHECK([telnetd01])
215RTEMS_TEST_CHECK([termios])
216RTEMS_TEST_CHECK([termios01])
217RTEMS_TEST_CHECK([termios02])
218RTEMS_TEST_CHECK([termios03])
219RTEMS_TEST_CHECK([termios04])
220RTEMS_TEST_CHECK([termios05])
221RTEMS_TEST_CHECK([termios06])
222RTEMS_TEST_CHECK([termios07])
223RTEMS_TEST_CHECK([termios08])
224RTEMS_TEST_CHECK([termios09])
225RTEMS_TEST_CHECK([termios10])
226RTEMS_TEST_CHECK([termios11])
227RTEMS_TEST_CHECK([top])
228RTEMS_TEST_CHECK([ttest01])
229RTEMS_TEST_CHECK([tztest])
230RTEMS_TEST_CHECK([uid01])
231RTEMS_TEST_CHECK([unlink])
232RTEMS_TEST_CHECK([utf8proc01])
233RTEMS_TEST_CHECK([vfork])
234RTEMS_TEST_CHECK([wait])
235RTEMS_TEST_CHECK([waitpid])
236RTEMS_TEST_CHECK([write])
237RTEMS_TEST_CHECK([writev])
238
239AC_CONFIG_FILES([Makefile])
240AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.