diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-01-16 22:53:30 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-01-16 22:53:30 +0000 |
commit | 64b1f8105264bdc4a38a618ff9c24050f7b537bf (patch) | |
tree | 5a216abcce2780a51a6cd619fee2326a4bbf0e56 /c/src/exec/configure.ac | |
parent | 2002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-64b1f8105264bdc4a38a618ff9c24050f7b537bf.tar.bz2 |
2002-01-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Apply @subdirs. Remove POSIX_SUBDIRS. Remove
ITRON_SUBDIRS.
* configure.ac: Rework enable_unixlib handling.
Add RTEMS_MULTILIBS to cpuopts.h.
* include/Makefile.am: Add rtems/fs.h, rtems/userenv.h.
Add $(PROJECT_INCLUDE)/rtems. Remove libio_.h.
Diffstat (limited to 'c/src/exec/configure.ac')
-rw-r--r-- | c/src/exec/configure.ac | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/c/src/exec/configure.ac b/c/src/exec/configure.ac index 24aae1e70e..3d565980fe 100644 --- a/c/src/exec/configure.ac +++ b/c/src/exec/configure.ac @@ -66,13 +66,13 @@ RTEMS_DEFINE_MULTIPROCESSING # HACK: We should use a feature-based configuration. AS_IF([test x"${RTEMS_CPU}" = x"unix"],[ - AC_DEFINE_UNQUOTED(RTEMS_UNIX,1,[to indicate RTEMS unix]) + AC_DEFINE_UNQUOTED([RTEMS_UNIX],[1],[to indicate RTEMS unix]) # HACK: silently accept --enable-unixlib - test "${enable_unixlib}+set" != set || enable_unixlib="yes" + test -n "${enable_unixlib}" || enable_unixlib="yes" ]) AS_IF([test x"${enable_unixlib}" = x"yes"], - [AC_DEFINE_UNQUOTED(RTEMS_UNIXLIB,[1], + [AC_DEFINE_UNQUOTED([RTEMS_UNIXLIB],[1], [to indicate RTEMS using RTEMS's unixlib])] ) @@ -80,6 +80,13 @@ AM_CONFIG_HEADER(score/include/rtems/score/cpuopts-tmp.h) AC_ENABLE_MULTILIB([Makefile],[..]) +## HACK: Add a define to cpuopts.h to indicate using multilibs +## Can be applied to produce compiler errors if using +## multilib-incompatible settings somewhere else (eg. bspopts.h). +AS_IF([test x"${enable_multilib}" = x"yes"],[ + AC_DEFINE_UNQUOTED([RTEMS_MULTILIBS],[1],[using multilib'ed RTEMS]) +]) + # Explicitly list all Makefiles here AC_CONFIG_FILES([Makefile include/Makefile |