2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* configure.ac: Remove -ansi -fasm.
	Add checks to diagnose potential system header conflicts.
	* Makefile.am: Unconditionally install sys/cdefs.h.
This commit is contained in:
Ralf Corsepius
2002-11-18 02:36:06 +00:00
parent 9eadce0a5a
commit f934a9d630
3 changed files with 17 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove -ansi -fasm.
Add checks to diagnose potential system header conflicts.
* Makefile.am: Unconditionally install sys/cdefs.h.
2002-11-07 <strauman@slac.stanford.edu>
* src/mount.c: Per PR297, correct fs_mountme failure paths.

View File

@@ -56,11 +56,11 @@ PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
include_sysdir = $(includedir)/sys
if NEWLIB
NEWLIB_H_FILES = include/sys/termios.h include/sys/cdefs.h include/sys/utsname.h
NEWLIB_H_FILES = include/sys/termios.h include/sys/utsname.h
endif
# FIXME: We should not install to include/sys unless using newlib.
include_sys_HEADERS = \
include/sys/filio.h \
include/sys/ioccom.h \
@@ -68,6 +68,7 @@ include/sys/ioctl.h \
include/sys/sockio.h \
include/sys/termios.h \
include/sys/ttycom.h \
include/sys/cdefs.h \
$(NEWLIB_H_FILES)
PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys \

View File

@@ -17,7 +17,7 @@ RTEMS_ENV_RTEMSCPU
RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST
RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
RTEMS_PROG_CC_FOR_TARGET
RTEMS_CANONICALIZE_TOOLS
AC_PROG_RANLIB
@@ -26,7 +26,13 @@ RTEMS_CHECK_MULTIPROCESSING
AM_CONDITIONAL(UNIX,test x"$RTEMS_CPU" = x"unix")
AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes")
AS_IF([test x"$RTEMS_USE_NEWLIB" != x"yes"],[
# FIXME: Currently, these checks are only in here to provide
# configuration-time diagnostics and are not really used.
AC_CHECK_HEADERS([sys/cdefs.h])
AC_CHECK_HEADERS([stdint.h inttypes.h])
AC_CHECK_DECLS([_POSIX_LOGIN_NAME_MAX],,,[#include <limits.h>])
])
AM_CONFIG_HEADER(src/config.h)
# Explicitly list all Makefiles here