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

4.115
Last change on this file since acf9a8d was acf9a8d, checked in by Sebastian Huber <sebastian.huber@…>, on 11/14/14 at 13:31:54

shell: Use crypt_r() in rtems_shell_login_check()

Use '*" to disable shell login instead of '!' according to the Linux man
page. Use getpwnam_r() instead of getpwnam(). Do not access the user
environment directly. Update the user environment only after a
successful login check.

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