2001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* configure.in: Add libc/config.h
	* libc/Makefile.am: Add INCLUDES += -I. to pickup config.h
	* libc/.cvsignore: Add config.h and stamp-h
	* libc/*.c: Add config.h support.
This commit is contained in:
Joel Sherrill
2001-01-08 18:26:44 +00:00
parent ac5c8c7a18
commit 9c49db4d6a
272 changed files with 1074 additions and 6 deletions

View File

@@ -69,6 +69,7 @@ OBJS = $(C_O_FILES)
# #
AM_CFLAGS += $(LIBC_DEFINES) AM_CFLAGS += $(LIBC_DEFINES)
INCLUDES += -I.
all-local: ${ARCH} $(TMPINSTALL_FILES) all-local: ${ARCH} $(TMPINSTALL_FILES)

View File

@@ -13,6 +13,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if !defined(RTEMS_UNIX) #if !defined(RTEMS_UNIX)

View File

@@ -5,6 +5,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
pid_t __getpid(void) pid_t __getpid(void)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>

View File

@@ -13,6 +13,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if !defined(RTEMS_UNIX) #if !defined(RTEMS_UNIX)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#include <sys/times.h> #include <sys/times.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@@ -5,6 +5,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#include <rtems/assoc.h> #include <rtems/assoc.h>

View File

@@ -5,6 +5,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#include <rtems/assoc.h> #include <rtems/assoc.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#include <rtems/libio.h> #include <rtems/libio.h>
#include <rtems/libio_.h> #include <rtems/libio_.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#include <unistd.h> #include <unistd.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#include <rtems/libio.h> #include <rtems/libio.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/libio_.h> #include <rtems/libio_.h>
int close( int close(

View File

@@ -40,13 +40,16 @@
static char sccsid[] = "@(#)closedir.c 5.9 (Berkeley) 2/23/91"; static char sccsid[] = "@(#)closedir.c 5.9 (Berkeley) 2/23/91";
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <dirent.h> #include <dirent.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <rtems/libio_.h> #include <rtems/libio_.h>
/* /*

View File

@@ -4,6 +4,10 @@
/* creat() "system call" */ /* creat() "system call" */
#if HAVE_CONFIG_H
#include "config.h"
#endif
/* This is needed by f2c and therefore the SPEC benchmarks. */ /* This is needed by f2c and therefore the SPEC benchmarks. */
#include <fcntl.h> #include <fcntl.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>

View File

@@ -5,6 +5,9 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
/* /*
* These routines provide general purpose error reporting. * These routines provide general purpose error reporting.

View File

@@ -13,6 +13,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#include <rtems/libio_.h> #include <rtems/libio_.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
#include <rtems/libio_.h> #include <rtems/libio_.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/libio_.h> #include <rtems/libio_.h>
#include <unistd.h> #include <unistd.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <errno.h> #include <errno.h>
#include <rtems/libio.h> #include <rtems/libio.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
#include <rtems/libio_.h> #include <rtems/libio_.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>

View File

@@ -36,6 +36,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
/* /*
* Added these when moved to RTEMS * Added these when moved to RTEMS
*/ */

View File

@@ -17,6 +17,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <errno.h> #include <errno.h>
#include <rtems/libio_.h> #include <rtems/libio_.h>

View File

@@ -8,6 +8,9 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>

View File

@@ -8,6 +8,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <pwd.h> #include <pwd.h>

View File

@@ -16,6 +16,10 @@
* *
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
/* We might not need, defined just in case */ /* We might not need, defined just in case */
#define __RTEMS_INSIDE__ 1 #define __RTEMS_INSIDE__ 1

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_UNIX) #if defined(RTEMS_UNIX)
#include <errno.h> #include <errno.h>

View File

@@ -14,6 +14,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/libio_.h> #include <rtems/libio_.h>
#include <unistd.h> #include <unistd.h>

View File

@@ -9,6 +9,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/stat.h> #include <sys/stat.h>
int isatty( int isatty(

View File

@@ -13,6 +13,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/libio_.h> /* libio_.h pulls in rtems */ #include <rtems/libio_.h> /* libio_.h pulls in rtems */
#include <rtems.h> #include <rtems.h>
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */ #include <rtems/assoc.h> /* assoc.h not included by rtems.h */

View File

@@ -12,6 +12,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/libio_.h> /* libio_.h pulls in rtems */ #include <rtems/libio_.h> /* libio_.h pulls in rtems */
#include <rtems.h> #include <rtems.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#include <rtems/libio.h> #include <rtems/libio.h>
#include <errno.h> #include <errno.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h> #include <stdio.h>
#include <rtems/libio_.h> #include <rtems/libio_.h>

View File

@@ -12,6 +12,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <rtems/libcsupport.h> #include <rtems/libcsupport.h>

View File

@@ -12,6 +12,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
#include <rtems/libcsupport.h> #include <rtems/libcsupport.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>

View File

@@ -15,6 +15,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>

View File

@@ -17,6 +17,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <chain.h> #include <chain.h>

View File

@@ -13,6 +13,10 @@
* *
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>
@@ -331,7 +335,7 @@ libc_init(int reentrant)
* *
*/ */
#include <stdio.h> #include <unistd.h>
#if !defined(RTEMS_UNIX) #if !defined(RTEMS_UNIX)
void _exit(int status) void _exit(int status)

View File

@@ -12,6 +12,9 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if !defined(RTEMS_NEWLIB) && !defined(RTEMS_UNIX) #if !defined(RTEMS_NEWLIB) && !defined(RTEMS_UNIX)

View File

@@ -16,6 +16,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#include <unistd.h> #include <unistd.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/libio_.h> #include <rtems/libio_.h>
#include <unistd.h> #include <unistd.h>

View File

@@ -40,6 +40,10 @@
static char sccsid[] = "@(#)opendir.c 5.11 (Berkeley) 2/23/91"; static char sccsid[] = "@(#)opendir.c 5.11 (Berkeley) 2/23/91";
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <dirent.h> #include <dirent.h>
#include <fcntl.h> #include <fcntl.h>
#include <stdlib.h> #include <stdlib.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <sys/types.h> #include <sys/types.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <errno.h> #include <errno.h>
int pipe( int pipe(

View File

@@ -18,6 +18,9 @@
| $Id$ | $Id$
+--------------------------------------------------------------------------*/ +--------------------------------------------------------------------------*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/libio_.h> #include <rtems/libio_.h>
ssize_t read( ssize_t read(

View File

@@ -40,6 +40,10 @@
static char sccsid[] = "@(#)readdir.c 5.7 (Berkeley) 6/1/90"; static char sccsid[] = "@(#)readdir.c 5.7 (Berkeley) 6/1/90";
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <dirent.h> #include <dirent.h>
int getdents( int getdents(

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/libio_.h> #include <rtems/libio_.h>
int readlink( int readlink(

View File

@@ -10,6 +10,10 @@
* *
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <assert.h> #include <assert.h>
#include <dirent.h> #include <dirent.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>

View File

@@ -40,6 +40,10 @@
static char sccsid[] = "@(#)scandir.c 5.10 (Berkeley) 2/23/91"; static char sccsid[] = "@(#)scandir.c 5.10 (Berkeley) 2/23/91";
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
#if HAVE_CONFIG_H
#include "config.h"
#endif
/* /*
* Scan the directory dirname calling select to make a list of selected * Scan the directory dirname calling select to make a list of selected
* directory entries then sort using qsort and compare routine dcomp. * directory entries then sort using qsort and compare routine dcomp.

View File

@@ -10,6 +10,10 @@
* *
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h> #include <sys/param.h>
#include <assert.h> #include <assert.h>
#include <dirent.h> #include <dirent.h>

View File

@@ -13,6 +13,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
/* /*
* lstat() and stat() share the same implementation with a minor * lstat() and stat() share the same implementation with a minor
* difference on how links are evaluated. * difference on how links are evaluated.

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/libio_.h> #include <rtems/libio_.h>
int symlink( int symlink(

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_NEWLIB) #if defined(RTEMS_NEWLIB)

View File

@@ -10,6 +10,10 @@
* *
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/param.h> #include <sys/param.h>
#include <assert.h> #include <assert.h>
#include <dirent.h> #include <dirent.h>

View File

@@ -15,6 +15,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#include <rtems/libio.h> #include <rtems/libio.h>
#include <ctype.h> #include <ctype.h>

View File

@@ -15,6 +15,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#include <rtems.h> #include <rtems.h>
#include <rtems/libio.h> #include <rtems/libio.h>

View File

@@ -4,6 +4,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if 0 #if 0

View File

@@ -15,6 +15,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>

View File

@@ -4,6 +4,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>

View File

@@ -40,6 +40,10 @@
static char sccsid[] = "@(#)ttyname.c 5.10 (Berkeley) 5/6/91"; static char sccsid[] = "@(#)ttyname.c 5.10 (Berkeley) 5/6/91";
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@@ -11,6 +11,10 @@
* *
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if defined(RTEMS_UNIXLIB) #if defined(RTEMS_UNIXLIB)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <errno.h> #include <errno.h>
#include <rtems/libio_.h> #include <rtems/libio_.h>

View File

@@ -16,6 +16,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <chain.h> #include <chain.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#include <utime.h> #include <utime.h>
#include <errno.h> #include <errno.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/libio_.h> #include <rtems/libio_.h>

View File

@@ -1,4 +1,11 @@
2001-01-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add libc/config.h
* libc/Makefile.am: Add INCLUDES += -I. to pickup config.h
* libc/.cvsignore: Add config.h and stamp-h
* libc/*.c: Add config.h support.
2000-12-06 Joel Sherrill <joel@OARcorp.com> 2000-12-06 Joel Sherrill <joel@OARcorp.com>
* libc/mallocfreespace.c: Name of routine is * libc/mallocfreespace.c: Name of routine is

View File

@@ -32,6 +32,8 @@ AM_CONDITIONAL(UNIX,test x"$RTEMS_CPU" = x"unix")
AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes") AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes")
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
AM_CONFIG_HEADER(libc/config.h)
# Explicitly list all Makefiles here # Explicitly list all Makefiles here
AC_OUTPUT( AC_OUTPUT(
Makefile Makefile

View File

@@ -1,2 +1,6 @@
Makefile Makefile
Makefile.in Makefile.in
config.h
config.h.in
stamp-h
stamp-h.in

View File

@@ -69,6 +69,7 @@ OBJS = $(C_O_FILES)
# #
AM_CFLAGS += $(LIBC_DEFINES) AM_CFLAGS += $(LIBC_DEFINES)
INCLUDES += -I.
all-local: ${ARCH} $(TMPINSTALL_FILES) all-local: ${ARCH} $(TMPINSTALL_FILES)

View File

@@ -13,6 +13,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if !defined(RTEMS_UNIX) #if !defined(RTEMS_UNIX)

View File

@@ -5,6 +5,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
pid_t __getpid(void) pid_t __getpid(void)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h> #include <rtems.h>

View File

@@ -13,6 +13,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#if !defined(RTEMS_UNIX) #if !defined(RTEMS_UNIX)

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h> #include <rtems.h>
#include <sys/times.h> #include <sys/times.h>

View File

@@ -11,6 +11,10 @@
* $Id$ * $Id$
*/ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/stat.h> #include <sys/stat.h>

Some files were not shown because too many files have changed in this diff Show More