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