source: rtems/testsuites/libtests/configure.ac @ 195d412

5
Last change on this file since 195d412 was 195d412, checked in by Christian Mauderer <Christian.Mauderer@…>, on 05/02/16 at 12:49:33

libnetworking: Add minimal getnameinfo()

This implementation just falls back to giving a string representation of
the IP. It supports IPv4 only.

Add test for getnameinfo().

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