source: rtems/cpukit/configure.ac @ e161767e

5
Last change on this file since e161767e was e161767e, checked in by Sebastian Huber <sebastian.huber@…>, on Oct 18, 2018 at 12:33:58 PM

Remove ttyname()

This function is provided by Newlib since 2000.

Update #3409.

  • Property mode set to 100644
File size: 15.4 KB
Line 
1## Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-cpukit],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
5AC_CONFIG_SRCDIR([score])
6RTEMS_TOP([..],[])
7RTEMS_SOURCE_TOP
8RTEMS_BUILD_TOP
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE([no-define nostdinc subdir-objects foreign 1.12.2])
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_MULTIPROCESSING
16RTEMS_ENABLE_POSIX
17RTEMS_ENABLE_RTEMS_DEBUG
18RTEMS_ENABLE_NETWORKING
19RTEMS_ENABLE_PARAVIRT
20RTEMS_ENABLE_PROFILING
21RTEMS_ENABLE_DRVMGR
22
23RTEMS_ENV_RTEMSCPU
24RTEMS_CHECK_RTEMS_DEBUG
25
26AC_DEFUN([RTEMS_TOOL_CHAIN_ERROR],AC_MSG_ERROR([please update your tool chain via the RSB <https://docs.rtems.org/branches/master/rsb/quick-start.html>]))
27
28# Is this a supported CPU?
29AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
30if test -d "$srcdir/score/cpu/$RTEMS_CPU"; then
31  AC_MSG_RESULT(yes)
32else
33  AC_MSG_ERROR(no)
34fi
35
36RTEMS_PROG_CC_FOR_TARGET
37AM_PROG_CC_C_O
38RTEMS_CANONICALIZE_TOOLS
39RTEMS_PROG_CCAS
40AC_PROG_RANLIB
41
42AC_MSG_CHECKING([for a need to avoid a long argument list])
43
44hack_to_avoid_long_arg_list=no
45case "${build_os}" in
46  *cygwin*|*mingw*|*msys*)
47     hack_to_avoid_long_arg_list=yes
48     ;;
49   *)
50     ;;
51esac
52
53AC_MSG_RESULT([${hack_to_avoid_long_arg_list}])
54AM_CONDITIONAL([HACK_TO_AVOID_LONG_ARG_LIST], [test "${hack_to_avoid_long_arg_list}" = yes])
55
56RTEMS_CHECK_NEWLIB
57
58# BSD-isms, used throughout the sources
59# Not really used by this configure script
60# FIXME: They should be eliminated if possible.
61AC_CHECK_FUNCS([strcasecmp snprintf])
62AC_CHECK_FUNCS([strdup strndup strncasecmp])
63AC_CHECK_FUNCS([bcopy bcmp])
64AC_CHECK_FUNCS([isascii fileno])
65
66# <FIXME>
67#   Check for functions supplied by newlib >= 1.17.0
68# Newlib's posix/ directory
69AC_CHECK_FUNCS([creat \
70  opendir closedir readdir rewinddir scandir seekdir \
71  sleep \
72  telldir \
73  usleep],,
74  [RTEMS_TOOL_CHAIN_ERROR])
75AC_CHECK_FUNCS([execl execlp execle execv execvp execve])
76AC_CHECK_FUNCS([regcomp regexec regerror regfree])
77
78# Mandated by POSIX, decls not present in some versions of newlib
79AC_CHECK_DECLS([flockfile],[AC_CHECK_FUNCS([flockfile])],,[#include <stdio.h>])
80AC_CHECK_DECLS([funlockfile],[AC_CHECK_FUNCS([funlockfile])],,[#include <stdio.h>])
81AC_CHECK_DECLS([ftrylockfile],[AC_CHECK_FUNCS([ftrylockfile])],,[#include <stdio.h>])
82
83# Newlib proprietary
84AC_CHECK_MEMBER([struct _Thread_queue_Queue._name],[],[RTEMS_TOOL_CHAIN_ERROR],[#include <sys/lock.h>])
85
86# Mandated by POSIX, older newlibs bogusly provided CLOCK_PROCESS_CPUTIME+CLOCK_THREAD_CPUTIME
87AC_CHECK_DECL([CLOCK_PROCESS_CPUTIME_ID],[],[RTEMS_TOOL_CHAIN_ERROR],[#include <time.h>])
88AC_CHECK_DECL([CLOCK_THREAD_CPUTIME_ID],[],[RTEMS_TOOL_CHAIN_ERROR],[#include <time.h>])
89
90# Mandated by POSIX, decls not present in some versions of newlib,
91# some versions stubbed in newlib's rtems crt0
92RTEMS_CHECK_FUNC([seteuid],[#include <unistd.h>])
93RTEMS_CHECK_FUNC([geteuid],[#include <unistd.h>])
94RTEMS_CHECK_FUNC([setegid],[#include <unistd.h>])
95RTEMS_CHECK_FUNC([getegid],[#include <unistd.h>])
96RTEMS_CHECK_FUNC([setuid],[#include <unistd.h>])
97RTEMS_CHECK_FUNC([getuid],[#include <unistd.h>])
98RTEMS_CHECK_FUNC([setgid],[#include <unistd.h>])
99RTEMS_CHECK_FUNC([getgid],[#include <unistd.h>])
100RTEMS_CHECK_FUNC([setsid],[#include <unistd.h>])
101RTEMS_CHECK_FUNC([getsid],[#include <unistd.h>])
102RTEMS_CHECK_FUNC([setpgid],[#include <unistd.h>])
103RTEMS_CHECK_FUNC([getpgid],[#include <unistd.h>])
104RTEMS_CHECK_FUNC([setpgrp],[#include <unistd.h>])
105RTEMS_CHECK_FUNC([getpgrp],[#include <unistd.h>])
106
107# pthread-functions not declared in some versions of newlib.
108RTEMS_CHECK_FUNC([pthread_attr_getguardsize],[#include <pthread.h>])
109RTEMS_CHECK_FUNC([pthread_attr_setguardsize],[#include <pthread.h>])
110RTEMS_CHECK_FUNC([pthread_attr_setstack],[#include <pthread.h>])
111RTEMS_CHECK_FUNC([pthread_attr_getstack],[#include <pthread.h>])
112
113# These are SMP related and were added to newlib by RTEMS.
114RTEMS_CHECK_FUNC([pthread_attr_setaffinity_np],[
115  #define _GNU_SOURCE
116  #include <pthread.h>])
117RTEMS_CHECK_FUNC([pthread_attr_getaffinity_np],[
118  #define _GNU_SOURCE
119  #include <pthread.h>])
120RTEMS_CHECK_FUNC([pthread_setaffinity_np],[
121  #define _GNU_SOURCE
122  #include <pthread.h>])
123RTEMS_CHECK_FUNC([pthread_getaffinity_np],[
124  #define _GNU_SOURCE
125  #include <pthread.h>])
126RTEMS_CHECK_FUNC([pthread_getattr_np],[
127  #define _GNU_SOURCE
128  #include <pthread.h>])
129
130AC_LANG_PUSH(C)
131AC_MSG_CHECKING([for mprotect(const void *, ...)])
132AC_COMPILE_IFELSE([AC_LANG_SOURCE([
133#include <sys/mman.h>
134int mprotect(const void *, size_t, int);
135])],[
136AC_MSG_RESULT([yes])
137AC_DEFINE(HAVE_MPROTECT_CONST, [], [mprotect(const void *, ...)])
138],[
139AC_MSG_RESULT([no])
140])
141AC_MSG_CHECKING([for pthread_mutex_getprioceiling(const pthread_mutex_t *, ...)])
142AC_COMPILE_IFELSE([AC_LANG_SOURCE([
143#include <pthread.h>
144int pthread_mutex_getprioceiling(const pthread_mutex_t *__restrict, int *);
145])],[
146AC_MSG_RESULT([yes])
147AC_DEFINE(HAVE_PTHREAD_MUTEX_GETCEILING_CONST, [], [pthread_mutex_getprioceiling(const pthread_mutex_t *, ...)])
148],[
149AC_MSG_RESULT([no])
150])
151AC_MSG_CHECKING([for pthread_setschedparam(..., const struct sched_param *)])
152AC_COMPILE_IFELSE([AC_LANG_SOURCE([
153#include <pthread.h>
154int pthread_setschedparam(pthread_t, int, const struct sched_param *);
155])],[
156AC_MSG_RESULT([yes])
157AC_DEFINE(HAVE_PTHREAD_SETSCHEDPARAM_CONST, [], [pthread_setschedparam(..., const struct sched_param *)])
158],[
159AC_MSG_RESULT([no])
160])
161AC_LANG_POP(C)
162
163# Mandated by POSIX, not declared in some versions of newlib.
164AC_CHECK_DECLS([getrusage],,,[#include sys/resource.h])
165
166# Newlib's unix/ directory
167AC_CHECK_FUNCS([getcwd])
168# </FIXME>
169
170# Check if the installed toolchain provides these headers
171# and error out if not.
172AC_CHECK_HEADERS([errno.h sched.h semaphore.h sys/cdefs.h sys/queue.h tar.h threads.h],,
173  [RTEMS_TOOL_CHAIN_ERROR])
174
175## error out if libc doesn't provide stdint.h
176AS_IF([test x"${ac_cv_header_stdint_h}" != xyes],
177[RTEMS_TOOL_CHAIN_ERROR])
178
179## error out if libc doesn't provide inttypes.h
180AS_IF([test x"${ac_cv_header_inttypes_h}" != xyes],
181[RTEMS_TOOL_CHAIN_ERROR])
182
183AC_HEADER_STDBOOL
184AS_IF([test x"${ac_cv_header_stdbool_h}" != xyes],
185[RTEMS_TOOL_CHAIN_ERROR])
186
187AC_CHECK_TYPES([ uint8_t,  int8_t])
188AC_CHECK_TYPES([uint16_t, int16_t])
189AC_CHECK_TYPES([uint32_t, int32_t])
190AC_CHECK_TYPES([uint64_t, int64_t])
191AC_CHECK_TYPES([uintmax_t, intmax_t])
192AC_CHECK_TYPES([uintptr_t, intptr_t])
193
194# Some toolchain sanity checks and diagnostics
195RTEMS_CHECK_GCC_SANITY
196
197# These are conditionally defined by the toolchain
198# FIXME: we should either conditionally compile those parts in
199# RTEMS depending on them, or abort - For now, simply check.
200AC_CHECK_HEADER([pthread.h],[
201  AC_CHECK_TYPES([pthread_rwlock_t])
202  AC_CHECK_TYPES([pthread_barrier_t])
203  AC_CHECK_TYPES([pthread_spinlock_t])
204  AC_CHECK_TYPES([struct _pthread_cleanup_context],[],[RTEMS_TOOL_CHAIN_ERROR],[#include <pthread.h>])
205  AC_CHECK_TYPES([struct _Priority_Node],[],[RTEMS_TOOL_CHAIN_ERROR],[#include <pthread.h>])
206])
207
208AC_CHECK_HEADER([signal.h],[
209  AC_CHECK_TYPES([sighandler_t])
210])
211
212if test x"$RTEMS_USE_NEWLIB" = xyes ; then
213  AC_CHECK_DECLS([__getreent],[],[RTEMS_TOOL_CHAIN_ERROR],[#include <sys/reent.h>])
214fi
215
216RTEMS_CHECK_MULTIPROCESSING
217RTEMS_CHECK_POSIX_API
218RTEMS_CHECK_NETWORKING
219RTEMS_CHECK_SMP
220if test "${RTEMS_HAS_SMP}" = "yes"; then
221  AC_CHECK_HEADERS([stdatomic.h],[],[RTEMS_TOOL_CHAIN_ERROR])
222fi
223
224rtems_major=`echo _RTEMS_VERSION | sed "s/\..*//"`
225rtems_minor=`echo _RTEMS_VERSION | sed "s/[[0-9]][[0-9]]*\.//;s/\..*//"`
226rtems_revision=`echo _RTEMS_VERSION | sed "s/[[0-9]][[0-9]]*\.//;s/[[0-9]][[0-9]]*\.//;s/\..*//"`
227
228_RTEMS_CPUOPT_INIT
229
230RTEMS_CPUOPT([RTEMS_DEBUG],
231  [test x"${enable_rtems_debug}" = x"yes"],
232  [1],
233  [if RTEMS_DEBUG is enabled])
234
235RTEMS_CPUOPT([RTEMS_MULTIPROCESSING],
236  [test x"$enable_multiprocessing" = xyes],
237  [1],
238  [if multiprocessing is enabled])
239
240RTEMS_CPUOPT([RTEMS_NEWLIB],
241  [test x"$RTEMS_USE_NEWLIB" = xyes],
242  [1],
243  [if using newlib])
244
245RTEMS_CPUOPT([RTEMS_POSIX_API],
246  [test x"$rtems_cv_HAS_POSIX_API" = xyes],
247  [1],
248  [if posix api is supported])
249
250RTEMS_CPUOPT([RTEMS_SMP],
251  [test x"$RTEMS_HAS_SMP" = xyes],
252  [1],
253  [if SMP is enabled])
254
255RTEMS_CPUOPT([RTEMS_PARAVIRT],
256  [test x"$RTEMS_HAS_PARAVIRT" = xyes],
257  [1],
258  [PARAVIRT is enabled])
259
260RTEMS_CPUOPT([RTEMS_PROFILING],
261  [test x"$RTEMS_HAS_PROFILING" = xyes],
262  [1],
263  [if profiling is enabled])
264
265RTEMS_CPUOPT([RTEMS_NETWORKING],
266  [test x"$rtems_cv_HAS_NETWORKING" = xyes],
267  [1],
268  [if networking is enabled])
269
270RTEMS_CPUOPT([RTEMS_DRVMGR_STARTUP],
271  [test x"$enable_drvmgr" = xyes],
272  [1],
273  [if driver manager api is supported])
274
275RTEMS_CPUOPT([RTEMS_VERSION],
276  [true],
277  ["]_RTEMS_VERSION["],
278  [RTEMS version string])
279
280## Header file differences that need to be known in .h after install
281
282## Deactivate ada bindings
283RTEMS_CPUOPT([__RTEMS_ADA__],
284  [test x"${enable_ada}" = x"yes"],
285  [1],
286  [Define to 1 if ada/gnat bindings are built-in])
287
288# These are used to provide <rtems/inttypes.h
289AC_CHECK_SIZEOF([mode_t])
290AC_CHECK_SIZEOF([off_t])
291AC_CHECK_SIZEOF([time_t])
292AC_CHECK_SIZEOF([size_t])
293AC_CHECK_SIZEOF([blksize_t])
294AC_CHECK_SIZEOF([blkcnt_t])
295
296## Provide sizeof(mode_t) information via cpuopts.h
297RTEMS_CPUOPT([__RTEMS_SIZEOF_MODE_T__],
298  [true],
299  [${ac_cv_sizeof_mode_t}],
300  [sizeof(mode_t)])
301
302## Provide sizeof(off_t) information via cpuopts.h
303RTEMS_CPUOPT([__RTEMS_SIZEOF_OFF_T__],
304  [true],
305  [${ac_cv_sizeof_off_t}],
306  [sizeof(off_t)])
307
308## Provide sizeof(time_t) information via cpuopts.h
309RTEMS_CPUOPT([__RTEMS_SIZEOF_TIME_T__],
310  [true],
311  [${ac_cv_sizeof_time_t}],
312  [sizeof(time_t)])
313
314## Provide sizeof(blksize_t) information via cpuopts.h
315RTEMS_CPUOPT([__RTEMS_SIZEOF_BLKSIZE_T__],
316  [true],
317  [${ac_cv_sizeof_blksize_t}],
318  [sizeof(blksize_t)])
319
320## Provide sizeof(blkcnt_t) information via cpuopts.h
321RTEMS_CPUOPT([__RTEMS_SIZEOF_BLKCNT_T__],
322  [true],
323  [${ac_cv_sizeof_blkcnt_t}],
324  [sizeof(blkcnt_t)])
325
326## Then we propagate a private copy of the value into cpuopts.h
327## so it is always available to the RTEMS header files.
328
329RTEMS_CPUOPT([__RTEMS_MAJOR__],
330  [true],
331  [$rtems_major],
332  [major version portion of an RTEMS release])
333
334RTEMS_CPUOPT([__RTEMS_MINOR__],
335  [true],
336  [$rtems_minor],
337  [minor version portion of an RTEMS release])
338
339RTEMS_CPUOPT([__RTEMS_REVISION__],
340  [true],
341  [$rtems_revision],
342  [revision version portion of an RTEMS release])
343
344_RTEMS_CPUOPT_FINI
345
346AC_ENABLE_MULTILIB([Makefile],[..])
347
348# libmisc/shell/* wants to assign file descriptors to stdio file descriptors.
349AC_MSG_CHECKING([for assignable stdio])
350AC_COMPILE_IFELSE(
351  [AC_LANG_PROGRAM(
352    [#include <stdio.h>],
353    [stdin = fopen("/tmp", "r")])],
354  [HAVE_ASSIGNABLE_STDIO=yes],
355  [HAVE_ASSIGNABLE_STDIO=no])
356AC_MSG_RESULT([$HAVE_ASSIGNABLE_STDIO])
357
358# libmisc/serdbg exploits weak symbols
359RTEMS_CHECK_GCC_WEAK
360
361# FIXME: These checks are only in here to provide
362# configuration-time diagnostics and are not really used.
363AC_CHECK_DECLS([_POSIX_LOGIN_NAME_MAX],,,[#include <limits.h>])
364AC_CHECK_DECLS([CHAR_BIT],,,[#include <limits.h>])
365
366# FIXME: Mandatory in SUSv4, optional in SUSv3.
367#   Not implemented in GCC/newlib, so far.
368AC_CHECK_DECLS([WORD_BIT],,,[#include <limits.h>])
369AC_CHECK_DECLS([LONG_BIT],,,[#include <limits.h>])
370
371## BSD-ism, excluded from POSIX, but available on most platforms
372AC_CHECK_DECLS([sbrk],,,[#include <unistd.h>])
373AC_CHECK_DECLS([rcmd],,,[#include <unistd.h>])
374
375## Check if libc provides decl of utime
376## FIXME: utime has been deprecated in SUSv4.
377##        and is likely to be removed in future versions.
378## FIXME (BUG in newlib): SUSv4 saids including <utime.h> should be sufficient.
379AC_CHECK_DECLS([utime],,,[#include <sys/types.h>
380#include <utime.h>])
381## Check if libc provides decl of utimes
382AC_CHECK_DECLS([utimes],,,[#include <sys/time.h>])
383
384# Ensure that Newlib does not provide things now in <machine/_timecounter.h>
385AC_CHECK_DECLS([_Timecounter_Time_second],[RTEMS_TOOL_CHAIN_ERROR],,[#include <sys/time.h>])
386
387# ... far too many conditionals ...
388AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes")
389
390AM_CONDITIONAL(HAS_MP,test x"$enable_multiprocessing" = x"yes" )
391AM_CONDITIONAL(HAS_SMP,[test "$RTEMS_HAS_SMP" = "yes"])
392
393AM_CONDITIONAL(HAS_PTHREADS,test x"$rtems_cv_HAS_POSIX_API" = x"yes")
394AM_CONDITIONAL(LIBNETWORKING,test x"$rtems_cv_HAS_NETWORKING" = x"yes")
395
396AM_CONDITIONAL([LIBSHELL],[test x"$HAVE_ASSIGNABLE_STDIO" = x"yes"])
397AM_CONDITIONAL([LIBSERDBG],[test x"$rtems_cv_cc_attribute_weak" = x"yes"])
398AM_CONDITIONAL([LIBGNAT],[test x"$rtems_cv_HAS_POSIX_API" = x"yes" \
399&& test x"$enable_ada" = x"yes"])
400
401AM_CONDITIONAL([LIBUTF8PROC],[test $ac_cv_sizeof_size_t -gt 2])
402
403AM_CONDITIONAL([LIBDOSFS],[dnl
404test x"$ac_cv_type_uint8_t" = xyes \
405&& test x"$ac_cv_type_uint16_t" = xyes])
406
407AC_CONFIG_HEADER(config.h)
408
409## These are needed by the NFS Client
410AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen)
411AM_CONDITIONAL([RPCTOOLS],[test "$RPCGEN" = rpcgen \
412&& test -n "$AWK" \
413&& test "$enable_rpcgen" = yes])
414
415# Filter dynamic loading to only build for architectures that have
416# reloc backends
417AC_MSG_CHECKING([whether CPU supports libdl])
418case $RTEMS_CPU in
419  arm | i386 | m68k | mips | moxie | powerpc | sparc)
420   HAVE_LIBDL=yes ;;
421  # bfin has an issue to resolve with libdl. See ticket #2252
422  bfin)
423   HAVE_LIBDL=no ;;
424  # lm32 has an issue to resolve with libdl. See ticket #2283
425  lm32)
426   HAVE_LIBDL=no ;;
427  # v850 has an issue to resolve with libdl. See ticket #2260
428  v850)
429   HAVE_LIBDL=no ;;
430  *)
431   HAVE_LIBDL=no ;;
432esac
433AM_CONDITIONAL(LIBDL,[test x"$HAVE_LIBDL" = x"yes"])
434AC_MSG_RESULT([$HAVE_LIBDL])
435
436# Filter debugger to only build for architectures that have a target backend
437AC_MSG_CHECKING([whether CPU supports libdebugger])
438case $RTEMS_CPU in
439  arm | i386)
440   HAVE_LIBDEBUGGER=yes ;;
441  *)
442   HAVE_LIBDEBUGGER=no ;;
443esac
444AM_CONDITIONAL(LIBDEBUGGER,[test x"$HAVE_LIBDEBUGGER" = x"yes"])
445AC_MSG_RESULT([$HAVE_LIBDEBUGGER])
446
447AC_MSG_CHECKING([whether CPU supports SHA])
448case $RTEMS_CPU in
449  m32c)
450   HAVE_SHA=no ;;
451  *)
452   HAVE_SHA=yes ;;
453esac
454AM_CONDITIONAL(SHA,[test x"$HAVE_SHA" = x"yes"])
455AC_MSG_RESULT([$HAVE_SHA])
456
457# Filter libpci to only build for architectures that have support for it
458AC_MSG_CHECKING([whether CPU supports libpci])
459case $RTEMS_CPU in
460  sparc)
461   HAVE_LIBPCI=yes ;;
462  *)
463   HAVE_LIBPCI=no ;;
464esac
465AM_CONDITIONAL(LIBPCI,[test x"$HAVE_LIBPCI" = x"yes"])
466AC_MSG_RESULT([$HAVE_LIBPCI])
467
468# Filter libdrvmgr to only build for architectures that have support for it
469AC_MSG_CHECKING([whether CPU supports libdrvmgr])
470case $RTEMS_CPU in
471  sparc)
472   HAVE_LIBDRVMGR=yes ;;
473  *)
474   HAVE_LIBDRVMGR=no ;;
475esac
476AM_CONDITIONAL(LIBDRVMGR,[test x"$HAVE_LIBDRVMGR" = x"yes"])
477AC_MSG_RESULT([$HAVE_LIBDRVMGR])
478
479AM_CONDITIONAL([CPU_ARM],[test $RTEMS_CPU = "arm"])
480AM_CONDITIONAL([CPU_BFIN],[test $RTEMS_CPU = "bfin"])
481AM_CONDITIONAL([CPU_EPIPHANY],[test $RTEMS_CPU = "epiphany"])
482AM_CONDITIONAL([CPU_I386],[test $RTEMS_CPU = "i386"])
483AM_CONDITIONAL([CPU_LM32],[test $RTEMS_CPU = "lm32"])
484AM_CONDITIONAL([CPU_M32C],[test $RTEMS_CPU = "m32c"])
485AM_CONDITIONAL([CPU_M68K],[test $RTEMS_CPU = "m68k"])
486AM_CONDITIONAL([CPU_MIPS],[test $RTEMS_CPU = "mips"])
487AM_CONDITIONAL([CPU_MOXIE],[test $RTEMS_CPU = "moxie"])
488AM_CONDITIONAL([CPU_NIOS2],[test $RTEMS_CPU = "nios2"])
489AM_CONDITIONAL([CPU_NO_CPU],[test $RTEMS_CPU = "no_cpu"])
490AM_CONDITIONAL([CPU_OR1K],[test $RTEMS_CPU = "or1k"])
491AM_CONDITIONAL([CPU_POWERPC],[test $RTEMS_CPU = "powerpc"])
492AM_CONDITIONAL([CPU_RISCV],[test $RTEMS_CPU = "riscv"])
493AM_CONDITIONAL([CPU_SH],[test $RTEMS_CPU = "sh"])
494AM_CONDITIONAL([CPU_SPARC64],[test $RTEMS_CPU = "sparc64"])
495AM_CONDITIONAL([CPU_SPARC],[test $RTEMS_CPU = "sparc"])
496AM_CONDITIONAL([CPU_V850],[test $RTEMS_CPU = "v850"])
497AM_CONDITIONAL([CPU_X86_64],[test $RTEMS_CPU = "x86_64"])
498
499RTEMS_AMPOLISH3
500
501# Explicitly list all Makefiles here
502AC_CONFIG_FILES([
503Doxyfile
504Makefile])
505
506AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.