source: rtems/testsuites/libtests/configure.ac @ 6a174c02

5
Last change on this file since 6a174c02 was 6a174c02, checked in by Alexander Krutwig <alexander.krutwig@…>, on Jul 25, 2016 at 1:34:43 PM

Add Untar_FromGzChunk_Print() + Test

  • Property mode set to 100644
File size: 3.5 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)
35
36AS_IF([test "x$PAX" = "xno"],[
37        AC_MSG_ERROR([pax is missing.])
38])
39
40AC_CHECK_HEADERS([complex.h])
41
42AM_CONDITIONAL(TARTESTS,test "$as_ln_s" = "ln -s" && test -n "$PAX" && test -n "$GZIP")
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 | 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# Explicitly list all Makefiles here
82AC_CONFIG_FILES([Makefile
83networking01/Makefile
84libfdt01/Makefile
85defaultconfig01/Makefile
86pwdgrp02/Makefile
87shell01/Makefile
88pwdgrp01/Makefile
89crypt01/Makefile
90sha/Makefile
91i2c01/Makefile
92newlib01/Makefile
93block17/Makefile
94exit02/Makefile
95exit01/Makefile
96utf8proc01/Makefile
97md501/Makefile
98sparsedisk01/Makefile
99block16/Makefile
100mghttpd01/Makefile
101block15/Makefile
102block14/Makefile
103block13/Makefile
104rbheap01/Makefile
105syscall01/Makefile
106flashdisk01/Makefile
107block01/Makefile
108block02/Makefile
109block03/Makefile
110block04/Makefile
111block05/Makefile
112block06/Makefile
113block07/Makefile
114block08/Makefile
115block09/Makefile
116block10/Makefile
117block11/Makefile
118block12/Makefile
119bspcmdline01/Makefile
120cpuuse/Makefile
121devfs01/Makefile
122devfs02/Makefile
123devfs03/Makefile
124devfs04/Makefile
125deviceio01/Makefile
126devnullfatal01/Makefile
127dl01/Makefile
128dl02/Makefile
129dumpbuf01/Makefile
130ftp01/Makefile
131gxx01/Makefile
132heapwalk/Makefile
133malloctest/Makefile
134malloc02/Makefile
135malloc03/Makefile
136malloc04/Makefile
137monitor/Makefile
138monitor02/Makefile
139mouse01/Makefile
140uid01/Makefile
141putenvtest/Makefile
142rtems++/Makefile
143rtmonuse/Makefile
144stackchk/Makefile
145stackchk01/Makefile
146stringto01/Makefile
147tar01/Makefile
148tar02/Makefile
149tar03/Makefile
150termios/Makefile
151termios01/Makefile
152termios02/Makefile
153termios03/Makefile
154termios04/Makefile
155termios05/Makefile
156termios06/Makefile
157termios07/Makefile
158termios08/Makefile
159top/Makefile
160tztest/Makefile
161capture01/Makefile
162POSIX/Makefile
163math/Makefile
164mathf/Makefile
165mathl/Makefile
166complex/Makefile
167])
168AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.