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

5
Last change on this file since ef9517b7 was ef9517b7, checked in by Sebastian Huber <sebastian.huber@…>, on May 6, 2020 at 5:33:47 AM

libtests/tar0[12]: Add tar archive

Do not generate the test tar archive on the host computer since not all
file systems support symbolic links.

Close #3968.

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