[66387986] | 1 | ## Process this file with autoconf to produce a configure script. |
---|
[eb299afc] | 2 | |
---|
[0f77281] | 3 | AC_PREREQ([2.69]) |
---|
[fcb0cd46] | 4 | AC_INIT([rtems-cpukit],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |
---|
[66387986] | 5 | AC_CONFIG_SRCDIR([score]) |
---|
[2f4c86f] | 6 | RTEMS_TOP([..],[]) |
---|
[eb299afc] | 7 | |
---|
| 8 | RTEMS_CANONICAL_TARGET_CPU |
---|
| 9 | |
---|
[bb2b825] | 10 | AM_INIT_AUTOMAKE([no-define nostdinc subdir-objects foreign 1.12.2]) |
---|
[eb299afc] | 11 | AM_MAINTAINER_MODE |
---|
[04e6f7bf] | 12 | |
---|
| 13 | RTEMS_ENABLE_MULTILIB |
---|
[eb299afc] | 14 | RTEMS_ENABLE_MULTIPROCESSING |
---|
| 15 | RTEMS_ENABLE_POSIX |
---|
[39607984] | 16 | RTEMS_ENABLE_RTEMS_DEBUG |
---|
[3e39b47] | 17 | RTEMS_ENABLE_NETWORKING |
---|
[6ffaeb28] | 18 | RTEMS_ENABLE_PARAVIRT |
---|
[eb299afc] | 19 | |
---|
[04e6f7bf] | 20 | RTEMS_ENV_RTEMSCPU |
---|
[39607984] | 21 | RTEMS_CHECK_RTEMS_DEBUG |
---|
[eb299afc] | 22 | |
---|
[5b2e199] | 23 | # Is this a supported CPU? |
---|
| 24 | AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported]) |
---|
| 25 | if test -d "$srcdir/score/cpu/$RTEMS_CPU"; then |
---|
| 26 | AC_MSG_RESULT(yes) |
---|
| 27 | else |
---|
| 28 | AC_MSG_ERROR(no) |
---|
| 29 | fi |
---|
| 30 | |
---|
[955c499d] | 31 | RTEMS_PROG_CC_FOR_TARGET |
---|
[10ae124c] | 32 | RTEMS_PROG_CCAS |
---|
[eb299afc] | 33 | RTEMS_CANONICALIZE_TOOLS |
---|
[e7d110ba] | 34 | AM_PROG_CC_C_O |
---|
[e73e576] | 35 | AC_PROG_RANLIB |
---|
[eb299afc] | 36 | |
---|
| 37 | RTEMS_CHECK_NEWLIB |
---|
| 38 | |
---|
[b422de6c] | 39 | # BSD-isms, used throughout the sources |
---|
| 40 | # Not really used by this configure script |
---|
| 41 | # FIXME: They should be eliminated if possible. |
---|
[85956f9] | 42 | AC_CHECK_FUNCS([strsep strcasecmp snprintf]) |
---|
[31903f07] | 43 | AC_CHECK_FUNCS([strdup strndup strncasecmp]) |
---|
[b422de6c] | 44 | AC_CHECK_FUNCS([bcopy bcmp]) |
---|
| 45 | AC_CHECK_FUNCS([isascii fileno]) |
---|
[f31a078] | 46 | |
---|
[e83a477] | 47 | # <FIXME> |
---|
| 48 | # Check for functions supplied by newlib >= 1.17.0 |
---|
| 49 | # Newlib's posix/ directory |
---|
[f154804] | 50 | AC_CHECK_FUNCS([readdir_r isatty]) |
---|
[0111c50] | 51 | AC_CHECK_FUNCS([creat \ |
---|
[f154804] | 52 | opendir closedir readdir rewinddir scandir seekdir \ |
---|
| 53 | sleep \ |
---|
| 54 | telldir \ |
---|
| 55 | usleep],, |
---|
[bbc1a10] | 56 | [rtems_missing_func="$ac_func";break]) |
---|
| 57 | AS_IF([test -n "$rtems_missing_func"], |
---|
| 58 | AC_MSG_ERROR([Missing function $rtems_missing_func in libc])]) |
---|
[d020f6f] | 59 | AC_CHECK_FUNCS([__assert]) |
---|
[e83a477] | 60 | AC_CHECK_FUNCS([execl execlp execle execv execvp execve]) |
---|
| 61 | AC_CHECK_FUNCS([regcomp regexec regerror regfree]) |
---|
[8682da39] | 62 | |
---|
| 63 | # Mandated by POSIX, decls not present in some versions of newlib |
---|
[2c0450cb] | 64 | AC_CHECK_DECLS([flockfile],[AC_CHECK_FUNCS([flockfile])],,[#include <stdio.h>]) |
---|
| 65 | AC_CHECK_DECLS([funlockfile],[AC_CHECK_FUNCS([funlockfile])],,[#include <stdio.h>]) |
---|
| 66 | AC_CHECK_DECLS([ftrylockfile],[AC_CHECK_FUNCS([ftrylockfile])],,[#include <stdio.h>]) |
---|
[f4cc6c5] | 67 | |
---|
[b317c391] | 68 | # Newlib proprietary |
---|
| 69 | AC_CHECK_HEADERS([envlock.h]) |
---|
| 70 | AC_CHECK_DECLS([__env_lock],,,[#include <envlock.h>]) |
---|
| 71 | AC_CHECK_DECLS([__env_unlock],,,[#include <envlock.h>]) |
---|
| 72 | |
---|
[7383b644] | 73 | # Mandated by POSIX, older newlibs bogusly provided CLOCK_PROCESS_CPUTIME+CLOCK_THREAD_CPUTIME |
---|
| 74 | AC_CHECK_DECL([CLOCK_PROCESS_CPUTIME_ID],[],[AC_MSG_ERROR([missing define CLOCK_PROCESS_CPUTIME_ID])],[#include <time.h>]) |
---|
| 75 | AC_CHECK_DECL([CLOCK_THREAD_CPUTIME_ID],[],[AC_MSG_ERROR([missing define CLOCK_THREAD_CPUTIME_ID])],[#include <time.h>]) |
---|
| 76 | |
---|
[2f797d0] | 77 | # Mandated by POSIX, decls not present in some versions of newlib, |
---|
| 78 | # some versions stubbed in newlib's rtems crt0 |
---|
| 79 | RTEMS_CHECK_FUNC([seteuid],[#include <unistd.h>]) |
---|
| 80 | RTEMS_CHECK_FUNC([geteuid],[#include <unistd.h>]) |
---|
| 81 | RTEMS_CHECK_FUNC([setegid],[#include <unistd.h>]) |
---|
| 82 | RTEMS_CHECK_FUNC([getegid],[#include <unistd.h>]) |
---|
| 83 | RTEMS_CHECK_FUNC([setuid],[#include <unistd.h>]) |
---|
| 84 | RTEMS_CHECK_FUNC([getuid],[#include <unistd.h>]) |
---|
| 85 | RTEMS_CHECK_FUNC([setgid],[#include <unistd.h>]) |
---|
| 86 | RTEMS_CHECK_FUNC([getgid],[#include <unistd.h>]) |
---|
| 87 | RTEMS_CHECK_FUNC([setsid],[#include <unistd.h>]) |
---|
| 88 | RTEMS_CHECK_FUNC([getsid],[#include <unistd.h>]) |
---|
| 89 | RTEMS_CHECK_FUNC([setpgid],[#include <unistd.h>]) |
---|
| 90 | RTEMS_CHECK_FUNC([getpgid],[#include <unistd.h>]) |
---|
| 91 | RTEMS_CHECK_FUNC([setpgrp],[#include <unistd.h>]) |
---|
| 92 | RTEMS_CHECK_FUNC([getpgrp],[#include <unistd.h>]) |
---|
[8682da39] | 93 | |
---|
[199296db] | 94 | # pthread-functions not declared in some versions of newlib. |
---|
[e76a477] | 95 | RTEMS_CHECK_FUNC([pthread_attr_getguardsize],[#include <pthread.h>]) |
---|
| 96 | RTEMS_CHECK_FUNC([pthread_attr_setguardsize],[#include <pthread.h>]) |
---|
| 97 | RTEMS_CHECK_FUNC([pthread_attr_setstack],[#include <pthread.h>]) |
---|
| 98 | RTEMS_CHECK_FUNC([pthread_attr_getstack],[#include <pthread.h>]) |
---|
[199296db] | 99 | |
---|
[6649644] | 100 | # Mandated by POSIX, not declared in some versions of newlib. |
---|
| 101 | AC_CHECK_DECLS([getrusage],,,[#include sys/resource.h]) |
---|
| 102 | |
---|
[f4cc6c5] | 103 | # Newlib's unix/ directory |
---|
| 104 | AC_CHECK_FUNCS([ttyname getcwd]) |
---|
[e83a477] | 105 | # </FIXME> |
---|
[f4cc6c5] | 106 | |
---|
[36d9f42f] | 107 | # Check if the installed toolchain provides these headers |
---|
| 108 | # and error out if not. |
---|
| 109 | AC_CHECK_HEADERS([tar.h errno.h sched.h sys/cdefs.h sys/queue.h],, |
---|
| 110 | [rtems_missing_header="$ac_header";break]) |
---|
| 111 | AS_IF([test -n "$rtems_missing_header"], |
---|
| 112 | AC_MSG_ERROR([Missing required header $rtems_missing_header])]) |
---|
[bffdb82] | 113 | |
---|
[85c429b] | 114 | ## error out if libc doesn't provide stdint.h |
---|
[52a634e9] | 115 | AS_IF([test x"${ac_cv_header_stdint_h}" != xyes], |
---|
| 116 | [AC_MSG_ERROR([Required header stdint.h not found])]) |
---|
[d62a2e0] | 117 | |
---|
[85c429b] | 118 | ## error out if libc doesn't provide inttypes.h |
---|
[d62a2e0] | 119 | AS_IF([test x"${ac_cv_header_inttypes_h}" != xyes], |
---|
| 120 | [AC_MSG_ERROR([Required header inttypes.h not found])]) |
---|
[ec75ddc] | 121 | |
---|
[17ed18c0] | 122 | AC_HEADER_STDBOOL |
---|
[19b9991] | 123 | AS_IF([test x"${ac_cv_header_stdbool_h}" != xyes], |
---|
| 124 | [AC_MSG_ERROR([No sufficient stdbool.h found])]) |
---|
[17ed18c0] | 125 | |
---|
[bfe2fd3] | 126 | AC_CHECK_TYPES([ uint8_t, int8_t]) |
---|
| 127 | AC_CHECK_TYPES([uint16_t, int16_t]) |
---|
| 128 | AC_CHECK_TYPES([uint32_t, int32_t]) |
---|
[7b6d1b5] | 129 | AC_CHECK_TYPES([uint64_t, int64_t]) |
---|
[9a673dba] | 130 | AC_CHECK_TYPES([uintmax_t, intmax_t]) |
---|
| 131 | AC_CHECK_TYPES([uintptr_t, intptr_t]) |
---|
| 132 | |
---|
[72e975e] | 133 | # Some toolchain sanity checks and diagnostics |
---|
| 134 | RTEMS_CHECK_GCC_SANITY |
---|
[161016b] | 135 | |
---|
[9a673dba] | 136 | # These are conditionally defined by the toolchain |
---|
| 137 | # FIXME: we should either conditionally compile those parts in |
---|
| 138 | # RTEMS depending on them, or abort - For now, simply check. |
---|
| 139 | AC_CHECK_HEADER([pthread.h],[ |
---|
| 140 | AC_CHECK_TYPES([pthread_rwlock_t]) |
---|
| 141 | AC_CHECK_TYPES([pthread_barrier_t]) |
---|
| 142 | AC_CHECK_TYPES([pthread_spinlock_t]) |
---|
| 143 | ]) |
---|
[bfe2fd3] | 144 | |
---|
[57e278d] | 145 | AC_CHECK_HEADER([signal.h],[ |
---|
| 146 | AC_CHECK_TYPES([sighandler_t]) |
---|
| 147 | ]) |
---|
| 148 | |
---|
[c43981b] | 149 | RTEMS_CHECK_MULTIPROCESSING |
---|
[8d4b5cf] | 150 | RTEMS_CHECK_POSIX_API |
---|
| 151 | RTEMS_CHECK_NETWORKING |
---|
[06dcaf0] | 152 | RTEMS_CHECK_SMP |
---|
[2e7f5798] | 153 | RTEMS_CHECK_ATOMIC |
---|
[91fadb3] | 154 | |
---|
[ea35fdc6] | 155 | rtems_major=`echo _RTEMS_VERSION | sed "s/\..*//"` |
---|
| 156 | rtems_minor=`echo _RTEMS_VERSION | sed "s/[[0-9]][[0-9]]*\.//;s/\..*//"` |
---|
| 157 | rtems_revision=`echo _RTEMS_VERSION | sed "s/[[0-9]][[0-9]]*\.//;s/[[0-9]][[0-9]]*\.//;s/\..*//"` |
---|
| 158 | |
---|
[b4dca71] | 159 | _RTEMS_CPUOPT_INIT |
---|
[3da33bf8] | 160 | |
---|
[926e856a] | 161 | RTEMS_CPUOPT([RTEMS_DEBUG], |
---|
| 162 | [test x"${enable_rtems_debug}" = x"yes"], |
---|
| 163 | [1], |
---|
| 164 | [if RTEMS_DEBUG is enabled]) |
---|
| 165 | |
---|
[3da33bf8] | 166 | RTEMS_CPUOPT([RTEMS_MULTIPROCESSING], |
---|
[28caa1d] | 167 | [test x"$enable_multiprocessing" = xyes], |
---|
[3da33bf8] | 168 | [1], |
---|
| 169 | [if multiprocessing is enabled]) |
---|
| 170 | |
---|
| 171 | RTEMS_CPUOPT([RTEMS_NEWLIB], |
---|
[28caa1d] | 172 | [test x"$RTEMS_USE_NEWLIB" = xyes], |
---|
[3da33bf8] | 173 | [1], |
---|
| 174 | [if using newlib]) |
---|
| 175 | |
---|
| 176 | RTEMS_CPUOPT([RTEMS_POSIX_API], |
---|
[28caa1d] | 177 | [test x"$rtems_cv_HAS_POSIX_API" = xyes], |
---|
[3da33bf8] | 178 | [1], |
---|
| 179 | [if posix api is supported]) |
---|
| 180 | |
---|
[06dcaf0] | 181 | RTEMS_CPUOPT([RTEMS_SMP], |
---|
| 182 | [test x"$RTEMS_HAS_SMP" = xyes], |
---|
| 183 | [1], |
---|
| 184 | [if SMP is enabled]) |
---|
| 185 | |
---|
[6ffaeb28] | 186 | RTEMS_CPUOPT([RTEMS_PARAVIRT], |
---|
| 187 | [test x"$RTEMS_HAS_PARAVIRT" = xyes], |
---|
| 188 | [1], |
---|
| 189 | [PARAVIRT is enabled]) |
---|
| 190 | |
---|
[28caa1d] | 191 | RTEMS_CPUOPT([RTEMS_NETWORKING], |
---|
| 192 | [test x"$rtems_cv_HAS_NETWORKING" = xyes], |
---|
| 193 | [1], |
---|
| 194 | [if networking is enabled]) |
---|
| 195 | |
---|
[2e7f5798] | 196 | RTEMS_CPUOPT([RTEMS_ATOMIC], |
---|
| 197 | [test x"$rtems_cv_ATOMIC" = xyes], |
---|
| 198 | [1], |
---|
| 199 | [if cpu supports atomic operations]) |
---|
| 200 | |
---|
[3da33bf8] | 201 | RTEMS_CPUOPT([RTEMS_VERSION], |
---|
| 202 | [true], |
---|
[1bcbe41] | 203 | ["]_RTEMS_VERSION["], |
---|
[3da33bf8] | 204 | [RTEMS version string]) |
---|
| 205 | |
---|
[c6f7e060] | 206 | RTEMS_CPUOPT([__RTEMS_USE_TICKS_FOR_STATISTICS__], |
---|
| 207 | [test x"${USE_TICKS_FOR_STATISTICS}" = x"1"], |
---|
| 208 | [1], |
---|
| 209 | [disable nanosecond granularity for statistics]) |
---|
| 210 | |
---|
[e2ba62d1] | 211 | ## This improves both the size and coverage analysis. |
---|
[5603b5a6] | 212 | RTEMS_CPUOPT([__RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH__], |
---|
| 213 | [test x"${RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH}" = x"1"], |
---|
| 214 | [1], |
---|
[b4dca71] | 215 | [disable inlining _Thread_Enable_dispatch]) |
---|
[5603b5a6] | 216 | |
---|
[e2ba62d1] | 217 | ## This improves both the size and coverage analysis. |
---|
| 218 | RTEMS_CPUOPT([__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__], |
---|
| 219 | [test x"${RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE}" = x"1"], |
---|
| 220 | [1], |
---|
[b4dca71] | 221 | [disable inlining _Thread_Enable_dispatch]) |
---|
[e2ba62d1] | 222 | |
---|
[3a08272] | 223 | ## This improves both the size and coverage analysis. |
---|
| 224 | RTEMS_CPUOPT([__RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY__], |
---|
| 225 | [test x"${RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY}" = x"1"], |
---|
| 226 | [1], |
---|
| 227 | [disable inlining _Thread_queue_Enqueue_priority]) |
---|
| 228 | |
---|
[e2ba62d1] | 229 | ## This gives the same behavior as 4.8 and older |
---|
[66a9239a] | 230 | RTEMS_CPUOPT([__RTEMS_STRICT_ORDER_MUTEX__], |
---|
[a5de1ef] | 231 | [test x"${ENABLE_STRICT_ORDER_MUTEX}" = x"1"], |
---|
[fd84982] | 232 | [1], |
---|
[b4dca71] | 233 | [disable strict order mutex]) |
---|
[fd84982] | 234 | |
---|
[7f5a245d] | 235 | ## Deactivate ada bindings |
---|
| 236 | RTEMS_CPUOPT([__RTEMS_ADA__], |
---|
| 237 | [test x"${enable_ada}" = x"yes"], |
---|
| 238 | [1], |
---|
| 239 | [Define to 1 if ada/gnat bindings are built-in]) |
---|
| 240 | |
---|
[263ab4b] | 241 | ## Then we propagate a private copy of the value into cpuopts.h |
---|
| 242 | ## so it is always available to the RTEMS header files. |
---|
| 243 | |
---|
[ea35fdc6] | 244 | RTEMS_CPUOPT([__RTEMS_MAJOR__], |
---|
| 245 | [true], |
---|
| 246 | [$rtems_major], |
---|
| 247 | [major version portion of an RTEMS release]) |
---|
| 248 | |
---|
| 249 | RTEMS_CPUOPT([__RTEMS_MINOR__], |
---|
| 250 | [true], |
---|
| 251 | [$rtems_minor], |
---|
| 252 | [minor version portion of an RTEMS release]) |
---|
| 253 | |
---|
| 254 | RTEMS_CPUOPT([__RTEMS_REVISION__], |
---|
| 255 | [true], |
---|
| 256 | [$rtems_revision], |
---|
| 257 | [revision version portion of an RTEMS release]) |
---|
| 258 | |
---|
[b4dca71] | 259 | _RTEMS_CPUOPT_FINI |
---|
[3da33bf8] | 260 | |
---|
[8217c40] | 261 | AC_ENABLE_MULTILIB([Makefile],[..]) |
---|
| 262 | |
---|
[e30210ea] | 263 | # libmisc/shell/* wants to assign file descriptors to stdio file descriptors. |
---|
| 264 | AC_MSG_CHECKING([for assignable stdio]) |
---|
| 265 | AC_COMPILE_IFELSE( |
---|
| 266 | [AC_LANG_PROGRAM( |
---|
| 267 | [#include <stdio.h>], |
---|
| 268 | [stdin = fopen("/tmp", "r")])], |
---|
| 269 | [HAVE_ASSIGNABLE_STDIO=yes], |
---|
| 270 | [HAVE_ASSIGNABLE_STDIO=no]) |
---|
| 271 | AC_MSG_RESULT([$HAVE_ASSIGNABLE_STDIO]) |
---|
| 272 | |
---|
| 273 | # libmisc/serdbg exploits weak symbols |
---|
[d71ab7fd] | 274 | RTEMS_CHECK_GCC_WEAK |
---|
[f7952533] | 275 | |
---|
[07da959] | 276 | # FIXME: These checks are only in here to provide |
---|
| 277 | # configuration-time diagnostics and are not really used. |
---|
| 278 | AC_CHECK_DECLS([_POSIX_LOGIN_NAME_MAX],,,[#include <limits.h>]) |
---|
| 279 | AC_CHECK_DECLS([CHAR_BIT],,,[#include <limits.h>]) |
---|
[21d9736] | 280 | |
---|
| 281 | # FIXME: We should get rid of this. |
---|
| 282 | # So far, only used in libfs/src/nfsclient/src/dirutils.c |
---|
| 283 | AC_CHECK_SIZEOF([mode_t]) |
---|
| 284 | AC_CHECK_SIZEOF([off_t]) |
---|
| 285 | |
---|
[ad9eaf26] | 286 | # FIXME: We should get rid of this. It's a cludge. |
---|
| 287 | AC_CHECK_SIZEOF([time_t]) |
---|
| 288 | |
---|
[91404de] | 289 | AC_CHECK_SIZEOF([size_t]) |
---|
| 290 | |
---|
[da0475f] | 291 | # FIXME: Mandatory in SUSv4, optional in SUSv3. |
---|
| 292 | # Not implemented in GCC/newlib, so far. |
---|
| 293 | AC_CHECK_DECLS([WORD_BIT],,,[#include <limits.h>]) |
---|
| 294 | AC_CHECK_DECLS([LONG_BIT],,,[#include <limits.h>]) |
---|
[07da959] | 295 | |
---|
| 296 | ## BSD-ism, excluded from POSIX, but available on most platforms |
---|
| 297 | AC_CHECK_DECLS([sbrk],,,[#include <unistd.h>]) |
---|
[396b80e] | 298 | AC_CHECK_DECLS([rcmd],,,[#include <unistd.h>]) |
---|
[07da959] | 299 | |
---|
| 300 | ## Check if libc provides BSD's strlcpy/strlcat |
---|
| 301 | AC_CHECK_FUNCS(strlcpy strlcat) |
---|
| 302 | |
---|
[74bfa2e4] | 303 | ## Check if libc provides decl of utime |
---|
| 304 | ## FIXME: utime has been deprecated in SUSv4. |
---|
| 305 | ## and is likely to be removed in future versions. |
---|
| 306 | ## FIXME (BUG in newlib): SUSv4 saids including <utime.h> should be sufficient. |
---|
| 307 | AC_CHECK_DECLS([utime],,,[#include <sys/types.h> |
---|
| 308 | #include <utime.h>]) |
---|
| 309 | ## Check if libc provides decl of utimes |
---|
| 310 | AC_CHECK_DECLS([utimes],,,[#include <sys/time.h>]) |
---|
| 311 | |
---|
[07da959] | 312 | # ... far too many conditionals ... |
---|
[f9f51d0] | 313 | AM_CONDITIONAL(LIBRPC,[test x"$rtems_cv_HAS_NETWORKING" = x"yes"]) |
---|
[07da959] | 314 | AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes") |
---|
[b422de6c] | 315 | |
---|
[1bcbe41] | 316 | AM_CONDITIONAL(HAS_MP,test x"$enable_multiprocessing" = x"yes" ) |
---|
[06dcaf0] | 317 | AM_CONDITIONAL(HAS_SMP,[test "$RTEMS_HAS_SMP" = "yes"]) |
---|
[b422de6c] | 318 | |
---|
[2d80c75] | 319 | AM_CONDITIONAL(HAS_PTHREADS,test x"$rtems_cv_HAS_POSIX_API" = x"yes") |
---|
[6e46fa73] | 320 | AM_CONDITIONAL(LIBNETWORKING,test x"$rtems_cv_HAS_NETWORKING" = x"yes") |
---|
[2e7f5798] | 321 | AM_CONDITIONAL([ATOMIC],[test x"$rtems_cv_ATOMIC" = x"yes"]) |
---|
[b422de6c] | 322 | |
---|
[720633c] | 323 | AM_CONDITIONAL([LIBSHELL],[test x"$HAVE_ASSIGNABLE_STDIO" = x"yes"]) |
---|
[e30210ea] | 324 | AM_CONDITIONAL([LIBSERDBG],[test x"$rtems_cv_cc_attribute_weak" = x"yes"]) |
---|
[5cad5bf] | 325 | AM_CONDITIONAL([LIBGNAT],[test x"$rtems_cv_HAS_POSIX_API" = x"yes" \ |
---|
| 326 | && test x"$enable_ada" = x"yes"]) |
---|
[e30210ea] | 327 | |
---|
[91404de] | 328 | AM_CONDITIONAL([LIBUTF8PROC],[test $ac_cv_sizeof_size_t -gt 2]) |
---|
| 329 | |
---|
[9f62936] | 330 | AM_CONDITIONAL([LIBDOSFS],[dnl |
---|
[720633c] | 331 | test x"$ac_cv_type_uint8_t" = xyes \ |
---|
[9f62936] | 332 | && test x"$ac_cv_type_uint16_t" = xyes]) |
---|
| 333 | |
---|
[3da33bf8] | 334 | AC_CONFIG_HEADER(config.h) |
---|
| 335 | |
---|
[58d38a0] | 336 | ## These are needed by the NFS Client |
---|
| 337 | AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen) |
---|
| 338 | AM_CONDITIONAL([RPCTOOLS],[test "$RPCGEN" = rpcgen \ |
---|
| 339 | && test -n "$AWK" \ |
---|
| 340 | && test "$enable_rpcgen" = yes]) |
---|
| 341 | |
---|
[ada8d531] | 342 | RTEMS_AMPOLISH3 |
---|
| 343 | |
---|
[70810dc] | 344 | # Explicitly list all Makefiles here |
---|
[b422de6c] | 345 | AC_CONFIG_FILES([ |
---|
[5060d4f] | 346 | Doxyfile |
---|
[b422de6c] | 347 | Makefile |
---|
[1896a650] | 348 | rtems/Makefile |
---|
| 349 | sapi/Makefile |
---|
[eb299afc] | 350 | score/Makefile |
---|
| 351 | score/cpu/Makefile |
---|
[e9d90764] | 352 | score/cpu/arm/Makefile |
---|
[b78d94d] | 353 | score/cpu/bfin/Makefile |
---|
[05f3270] | 354 | score/cpu/avr/Makefile |
---|
[e9d90764] | 355 | score/cpu/h8300/Makefile |
---|
| 356 | score/cpu/i386/Makefile |
---|
[15e44fd] | 357 | score/cpu/lm32/Makefile |
---|
[e9d90764] | 358 | score/cpu/m68k/Makefile |
---|
[0c34b176] | 359 | score/cpu/m32c/Makefile |
---|
[5365e60] | 360 | score/cpu/m32r/Makefile |
---|
[e9d90764] | 361 | score/cpu/mips/Makefile |
---|
[48fc25f] | 362 | score/cpu/moxie/Makefile |
---|
[7a28ac8] | 363 | score/cpu/nios2/Makefile |
---|
[e9d90764] | 364 | score/cpu/powerpc/Makefile |
---|
| 365 | score/cpu/sh/Makefile |
---|
| 366 | score/cpu/sparc/Makefile |
---|
[ecbbd968] | 367 | score/cpu/sparc64/Makefile |
---|
[2d7ae960] | 368 | score/cpu/v850/Makefile |
---|
[6b400fed] | 369 | score/cpu/no_cpu/Makefile |
---|
[b422de6c] | 370 | posix/Makefile |
---|
| 371 | libblock/Makefile |
---|
| 372 | libfs/Makefile |
---|
[58d38a0] | 373 | libfs/src/nfsclient/Makefile |
---|
[db27544] | 374 | libgnat/Makefile |
---|
[07da959] | 375 | libcsupport/Makefile |
---|
[b422de6c] | 376 | libnetworking/Makefile |
---|
[da0fc5d] | 377 | librpc/Makefile |
---|
[b422de6c] | 378 | libmisc/Makefile |
---|
[6339f467] | 379 | libi2c/Makefile |
---|
[a70b07b] | 380 | libmd/Makefile |
---|
[fa645f6] | 381 | zlib/Makefile |
---|
[f26145b] | 382 | ftpd/Makefile |
---|
[8280caa4] | 383 | telnetd/Makefile |
---|
[c5bb2a4e] | 384 | pppd/Makefile |
---|
[ba955609] | 385 | mghttpd/Makefile |
---|
[28caa1d] | 386 | wrapup/Makefile]) |
---|
| 387 | |
---|
| 388 | AC_CONFIG_COMMANDS([preinstall-stamp], |
---|
| 389 | [test -z "$with_multisubdir" && ${MAKE} preinstall-stamp], |
---|
| 390 | [MAKE=${MAKE} |
---|
| 391 | with_multisubdir="$with_multisubdir"]) |
---|
[92ed8c2] | 392 | |
---|
[66387986] | 393 | AC_OUTPUT |
---|