source: rtems/testsuites/libtests/configure.ac @ 9f69ac2

5
Last change on this file since 9f69ac2 was 9f69ac2, checked in by Sebastian Huber <sebastian.huber@…>, on 02/23/17 at 09:35:16

termios: Ignore carriage return early if desired

In case carriage return characters should be ignored in the input
(IGNCR), then drop them early before they reach the raw input buffer.
This makes it easier to calculate the content size of the raw input
buffer.

  • Property mode set to 100644
File size: 3.9 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([../..],[..])
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],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
41AC_CHECK_HEADERS([complex.h])
42
43AM_CONDITIONAL(TARTESTS,test "$as_ln_s" = "ln -s" && test -n "$PAX" && test -n "$GZIP")
44AM_CONDITIONAL(TARTEST_XZ,test -n "$XZ")
45
46AM_CONDITIONAL(HAS_CXX,test "$rtems_cv_HAS_CPLUSPLUS" = "yes")
47AM_CONDITIONAL([HAS_COMPLEX],[test "$ac_cv_header_complex_h" = yes])
48AM_CONDITIONAL(NETTESTS,test "$rtems_cv_RTEMS_NETWORKING" = "yes")
49AM_CONDITIONAL(HAS_POSIX,test x"${rtems_cv_RTEMS_POSIX_API}" = x"yes")
50
51# Must match the list in cpukit.
52AC_MSG_CHECKING([whether CPU supports libdl])
53case $RTEMS_CPU in
54  arm | i386 | m68k | mips | moxie | powerpc | sparc)
55   TEST_LIBDL=yes ;;
56  # bfin has an issue to resolve with libdl. See ticket #2252
57  bfin)
58   HAVE_LIBDL=no ;;
59  # lm32 has an issue to resolve with libdl. See ticket #2283
60  lm32)
61   HAVE_LIBDL=no ;;
62  # v850 has an issue to resolve with libdl. See ticket #2260
63  v850)
64   HAVE_LIBDL=no ;;
65  *)
66   TEST_LIBDL=no ;;
67esac
68AC_MSG_RESULT([$TEST_LIBDL])
69
70AS_IF([test x"$TEST_LIBDL" = x"yes"],[
71  AC_CHECK_PROG(RTEMS_LD_CHECK,rtems-ld,yes)
72  if test x"$RTEMS_LD_CHECK" != x"yes" ; then
73    TEST_LIBDL=no
74  fi
75  AC_CHECK_PROG(RTEMS_SYMS_CHECK,rtems-syms,yes)
76  if test x"$RTEMS_SYMS_CHECK" != x"yes" ; then
77    TEST_LIBDL=no
78  fi
79])
80
81AM_CONDITIONAL(DLTESTS,[test x"$TEST_LIBDL" = x"yes"])
82
83# Must match the list in cpukit.
84AC_MSG_CHECKING([whether CPU supports libdebugger])
85case $RTEMS_CPU in
86  arm | i386)
87   TEST_LIBDEBUGGER=yes ;;
88  *)
89   TEST_LIBDEBUGGER=no ;;
90esac
91AC_MSG_RESULT([$TEST_LIBDEBUGGER])
92AM_CONDITIONAL(DEBUGGERTESTS,[test x"$TEST_LIBDEBUGGER" = x"yes"])
93
94# Explicitly list all Makefiles here
95AC_CONFIG_FILES([Makefile
96networking01/Makefile
97libfdt01/Makefile
98defaultconfig01/Makefile
99pwdgrp02/Makefile
100shell01/Makefile
101pwdgrp01/Makefile
102crypt01/Makefile
103sha/Makefile
104i2c01/Makefile
105spi01/Makefile
106newlib01/Makefile
107block17/Makefile
108exit02/Makefile
109exit01/Makefile
110utf8proc01/Makefile
111md501/Makefile
112sparsedisk01/Makefile
113block16/Makefile
114mghttpd01/Makefile
115block15/Makefile
116block14/Makefile
117block13/Makefile
118rbheap01/Makefile
119syscall01/Makefile
120flashdisk01/Makefile
121block01/Makefile
122block02/Makefile
123block03/Makefile
124block04/Makefile
125block05/Makefile
126block06/Makefile
127block07/Makefile
128block08/Makefile
129block09/Makefile
130block10/Makefile
131block11/Makefile
132block12/Makefile
133bspcmdline01/Makefile
134cpuuse/Makefile
135devfs01/Makefile
136devfs02/Makefile
137devfs03/Makefile
138devfs04/Makefile
139deviceio01/Makefile
140devnullfatal01/Makefile
141dl01/Makefile
142dl02/Makefile
143dl03/Makefile
144dl04/Makefile
145dl05/Makefile
146dumpbuf01/Makefile
147ftp01/Makefile
148gxx01/Makefile
149heapwalk/Makefile
150malloctest/Makefile
151malloc02/Makefile
152malloc03/Makefile
153malloc04/Makefile
154monitor/Makefile
155monitor02/Makefile
156mouse01/Makefile
157uid01/Makefile
158putenvtest/Makefile
159rtmonuse/Makefile
160stackchk/Makefile
161stackchk01/Makefile
162stringto01/Makefile
163tar01/Makefile
164tar02/Makefile
165tar03/Makefile
166termios/Makefile
167termios01/Makefile
168termios02/Makefile
169termios03/Makefile
170termios04/Makefile
171termios05/Makefile
172termios06/Makefile
173termios07/Makefile
174termios08/Makefile
175termios09/Makefile
176top/Makefile
177tztest/Makefile
178capture01/Makefile
179POSIX/Makefile
180math/Makefile
181mathf/Makefile
182mathl/Makefile
183complex/Makefile
184debugger01/Makefile
185])
186AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.