Module Name:    src
Committed By:   plunky
Date:           Thu Feb 11 14:22:30 UTC 2010

Modified Files:
        src/external/bsd/pcc: Makefile.inc
Added Files:
        src/external/bsd/pcc/include: config.h
Removed Files:
        src/external/bsd/pcc: config.h

Log Message:
keep generated config.h file in a subdir
(avoids potential inclusion errors)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/pcc/Makefile.inc
cvs rdiff -u -r1.7 -r0 src/external/bsd/pcc/config.h
cvs rdiff -u -r0 -r1.1 src/external/bsd/pcc/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/pcc/Makefile.inc
diff -u src/external/bsd/pcc/Makefile.inc:1.8 src/external/bsd/pcc/Makefile.inc:1.9
--- src/external/bsd/pcc/Makefile.inc:1.8	Thu Feb 11 14:18:45 2010
+++ src/external/bsd/pcc/Makefile.inc	Thu Feb 11 14:22:30 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.8 2010/02/11 14:18:45 plunky Exp $
+#	$NetBSD: Makefile.inc,v 1.9 2010/02/11 14:22:30 plunky Exp $
 
 PCC_DIR:=${.PARSEDIR}
 PCC_DIST=${PCC_DIR}/dist/pcc
@@ -28,7 +28,7 @@
 CPPFLAGS+=	-DINCLUDEDIR=\"${includedir}/\"
 CPPFLAGS+=	-Dos_${TARGOS}
 CPPFLAGS+=	-Dmach_${TARGMACH}
-CPPFLAGS+=	-I${PCC_DIR}
+CPPFLAGS+=	-I${PCC_DIR}/include
 
 .include <bsd.endian.mk>
 

Added files:

Index: src/external/bsd/pcc/include/config.h
diff -u /dev/null src/external/bsd/pcc/include/config.h:1.1
--- /dev/null	Thu Feb 11 14:22:30 2010
+++ src/external/bsd/pcc/include/config.h	Thu Feb 11 14:22:30 2010
@@ -0,0 +1,191 @@
+/* config.h.  Generated by configure.  */
+/* config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* Using a.out ABI */
+/* #undef AOUTABI */
+
+/* Define path to alternate assembler */
+/* #undef ASSEMBLER */
+
+/* Using Classic 68k ABI */
+/* #undef CLASSIC68K */
+
+/* Using COFF ABI */
+/* #undef COFFABI */
+
+/* Define path to alternate preprocessor */
+/* #undef COMPILER */
+
+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
+   systems. This function is required for `alloca.c' support on those systems.
+   */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define to 1 if using `alloca.c'. */
+/* #undef C_ALLOCA */
+
+/* Using ECOFF ABI */
+/* #undef ECOFFABI */
+
+/* Using ELF ABI */
+#define ELFABI 
+
+/* Define to 1 if you have `alloca', as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
+   */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define to 1 if you have the `basename' function. */
+#define HAVE_BASENAME 1
+
+/* Define to 1 if printf supports C99 size specifiers */
+#define HAVE_C99_FORMAT 1
+
+/* Define to 1 if your compiler supports C99 variadic macros */
+#define HAVE_CPP_VARARG_MACRO_GCC 1
+
+/* Define to 1 if you have the `ffs' function. */
+#define HAVE_FFS 1
+
+/* Define to 1 if you have the `getopt' function. */
+#define HAVE_GETOPT 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <libgen.h> header file. */
+#define HAVE_LIBGEN_H 1
+
+/* Define to 1 if you have the <malloc.h> header file. */
+/* #undef HAVE_MALLOC_H */
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the `mkstemp' function. */
+#define HAVE_MKSTEMP 1
+
+/* Define to 1 if you have the `snprintf' function. */
+#define HAVE_SNPRINTF 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the `strlcat' function. */
+#define HAVE_STRLCAT 1
+
+/* Define to 1 if you have the `strlcpy' function. */
+#define HAVE_STRLCPY 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
+#define HAVE_SYS_WAIT_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to 1 if you have the `vsnprintf' function. */
+#define HAVE_VSNPRINTF 1
+
+/* Define if host is BIG endian */
+/* #define HOST_BIG_ENDIAN */
+
+/* Define if host is LITTLE endian */
+/* #undef HOST_LITTLE_ENDIAN */
+
+/* lex is flex */
+#define ISFLEX 1
+
+/* Define alternate standard lib directory */
+/* #undef LIBDIR */
+
+/* Define path to alternate linker */
+/* #undefine LINKER */
+
+/* Using Mach-O ABI */
+/* #undef MACHOABI */
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "<pcc-l...@ludd.ltu.se>"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "pcc"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "pcc 0.9.9 [20090902]"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "pcc"
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "0.9.9"
+
+/* Major version no */
+#define PCC_MAJOR 0
+
+/* Minor version no */
+#define PCC_MINOR 9
+
+/* Minor minor version no */
+#define PCC_MINORMINOR 9
+
+/* Using PE/COFF ABI */
+/* #undef PECOFFABI */
+
+/* Define path to alternate preprocessor */
+/* #undef PREPROCESSOR */
+
+/* If using the C implementation of alloca, define if you know the
+   direction of stack growth for your system; otherwise it will be
+   automatically deduced at run-time.
+	STACK_DIRECTION > 0 => grows toward higher addresses
+	STACK_DIRECTION < 0 => grows toward lower addresses
+	STACK_DIRECTION = 0 => direction of growth unknown */
+/* #undef STACK_DIRECTION */
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define alternate standard include directory */
+/* #undef STDINC */
+
+/* Define if target defaults to BIG endian */
+/* #undef TARGET_BIG_ENDIAN */
+
+/* Define if target defaults to LITTLE endian */
+/* #define TARGET_LITTLE_ENDIAN 1 */
+
+/* Target OS */
+#define TARGOS netbsd
+
+/* Enable thread-local storage (TLS). */
+/* #undef TLS */
+
+/* Version string */
+/* #define VERSSTR "pcc 0.9.9 for i386-pc-netbsdelf, g...@sparky Wed Aug 13 22:19:18 EST 2008" */
+
+/* Size of wide character type */
+#define WCHAR_SIZE 4
+
+/* Type to use for wide characters */
+#define WCHAR_TYPE UNSIGNED
+
+/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
+   `char[]'. */
+#define YYTEXT_POINTER 1

Reply via email to