summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-10-07 19:26:28 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-10-07 19:26:28 +0000
commit0dc4d98e32d44c190b48b389a669f43de972b1ad (patch)
treea91f38948fa5b99c32438baf408fd054e8e17070 /usr.bin
parent042762629ae171662af5c1caeee0b2d3797e2230 (diff)
get rid of the configure remains
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/pcc/config.h154
-rw-r--r--usr.bin/pcc/cpp/cpp.c6
-rw-r--r--usr.bin/pcc/mip/regs.c5
3 files changed, 4 insertions, 161 deletions
diff --git a/usr.bin/pcc/config.h b/usr.bin/pcc/config.h
index 099f2ca902d..11eb06e5e4f 100644
--- a/usr.bin/pcc/config.h
+++ b/usr.bin/pcc/config.h
@@ -1,158 +1,8 @@
-/* $OpenBSD: config.h,v 1.3 2007/09/15 21:49:33 ray Exp $ */
+/* $OpenBSD: config.h,v 1.4 2007/10/07 19:26:26 otto Exp $ */
-/* config.h. Generated from config.h.in by configure. */
-/* config.h.in. Generated from configure.ac by autoheader. */
-
-/* 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 */
-
-/* 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 don't have `vprintf' but do have `_doprnt.' */
-/* #undef HAVE_DOPRNT */
-
-/* Define to 1 if you have the <fcntl.h> header file. */
-/* #undef HAVE_FCNTL_H */
-
-/* Define to 1 if you have the `fork' function. */
-/* #undef HAVE_FORK */
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
- to 0 otherwise. */
-/* #undef HAVE_MALLOC */
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `memset' function. */
-/* #undef HAVE_MEMSET */
-
-/* Define to 1 if stdbool.h conforms to C99. */
-/* #undef HAVE_STDBOOL_H */
-
-/* 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 `strchr' function. */
-/* #undef HAVE_STRCHR */
-
-/* Define to 1 if you have the `strdup' function. */
-/* #undef HAVE_STRDUP */
-
-/* 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 `strrchr' function. */
-/* #undef HAVE_STRRCHR */
-
-/* Define to 1 if you have the `strtol' function. */
-/* #undef HAVE_STRTOL */
-
-/* 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. */
-/* #undef HAVE_SYS_WAIT_H */
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the `vfork' function. */
-/* #undef HAVE_VFORK */
-
-/* Define to 1 if you have the <vfork.h> header file. */
-/* #undef HAVE_VFORK_H */
-
-/* Define to 1 if you have the `vprintf' function. */
-/* #undef HAVE_VPRINTF */
-
-/* Define to 1 if `fork' works. */
-/* #undef HAVE_WORKING_FORK */
-
-/* Define to 1 if `vfork' works. */
-/* #undef HAVE_WORKING_VFORK */
-
-/* Define to 1 if the system has the type `_Bool'. */
-/* #undef HAVE__BOOL */
-
-/* Name of package */
-/* #undef PACKAGE */
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
-
-/* 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.8"
-
-/* 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.8"
-
-/* Define as the return type of signal handlers (`int' or `void'). */
-/* #undef RETSIGTYPE */
-
-/* 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
-
-/* Version number of package */
#define PCC_MAJOR 0
#define PCC_MINOR 9
#define PCC_MINORMINOR 8
-#define VERSSTR "pcc 0.9.8 for i386-unknown-openbsd4.2, otto@pepper.intra.drijf.net Sat Sep 15 21:15:44 CEST 2007"
+#define VERSSTR "pcc 0.9.8"
-/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
- `char[]'. */
#define YYTEXT_POINTER 1
-
-/* Define to rpl_malloc if the replacement function should be used. */
-/* #undef malloc */
-
-/* Define to `int' if <sys/types.h> does not define. */
-/* #undef pid_t */
-
-/* Define as `fork' if `vfork' does not work. */
-/* #undef vfork */
-
-/* target operating system */
-#define TARGOS openbsd
-
-/* mkstemp() */
-#define HAVE_MKSTEMP 1
-
-/* which lex is used */
-#define ISFLEX 1
diff --git a/usr.bin/pcc/cpp/cpp.c b/usr.bin/pcc/cpp/cpp.c
index 92fdc6cdd23..74005f0b045 100644
--- a/usr.bin/pcc/cpp/cpp.c
+++ b/usr.bin/pcc/cpp/cpp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpp.c,v 1.1 2007/10/07 17:58:51 otto Exp $ */
+/* $OpenBSD: cpp.c,v 1.2 2007/10/07 19:26:27 otto Exp $ */
/*
* Copyright (c) 2004 Anders Magnusson (ragge@ludd.luth.se).
@@ -80,10 +80,6 @@
#include <unistd.h>
#include <ctype.h>
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-
#include "cpp.h"
#include "y.tab.h"
diff --git a/usr.bin/pcc/mip/regs.c b/usr.bin/pcc/mip/regs.c
index 2caf9c66d23..f846ae722b4 100644
--- a/usr.bin/pcc/mip/regs.c
+++ b/usr.bin/pcc/mip/regs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: regs.c,v 1.8 2007/10/03 08:15:29 otto Exp $ */
+/* $OpenBSD: regs.c,v 1.9 2007/10/07 19:26:27 otto Exp $ */
/*
* Copyright (c) 2005 Anders Magnusson (ragge@ludd.luth.se).
* All rights reserved.
@@ -31,9 +31,6 @@
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
#define MAXLOOP 20 /* Max number of allocation loops XXX 3 should be enough */