aboutsummaryrefslogtreecommitdiffstats
path: root/pc
diff options
context:
space:
mode:
Diffstat (limited to 'pc')
-rw-r--r--pc/ChangeLog4
-rw-r--r--pc/config.h104
2 files changed, 61 insertions, 47 deletions
diff --git a/pc/ChangeLog b/pc/ChangeLog
index 4d4c9f19..a01e1efb 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,7 @@
+2017-08-16 Arnold D. Robbins <arnold@skeeve.com>
+
+ * config.h: Regenerated in preparation for release.
+
2017-08-01 Juan Manuel Guerrero <juan.guerrero@gmx.de>
Bring DJGPP support up to speed.
diff --git a/pc/config.h b/pc/config.h
index 7b076177..c6e4a1f0 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -80,17 +80,17 @@
#undef HAVE_ICONV
/* Define to 1 if the system has the type `intmax_t'. */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || defined(__DJGPP__)
#define HAVE_INTMAX_T 1
#endif
/* Define to 1 if you have the <inttypes.h> header file. */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || defined(__DJGPP__)
#define HAVE_INTTYPES_H 1
#endif
/* Define to 1 if you have the `isascii' function. */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || defined(__DJGPP__)
#define HAVE_ISASCII 1
#endif
@@ -128,7 +128,7 @@
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <locale.h> header file. */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || defined(__DJGPP__)
#define HAVE_LOCALE_H 1
#endif
@@ -158,12 +158,14 @@
#undef HAVE_MEMCPY_ULONG
/* Define to 1 if you have the `memmove' function. */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || defined(__DJGPP__)
#define HAVE_MEMMOVE 1
#endif
/* Define to 1 if you have the <memory.h> header file. */
-#undef HAVE_MEMORY_H
+#ifdef __DJGPP__
+#define HAVE_MEMORY_H 1
+#endif
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
@@ -197,7 +199,7 @@
#endif
/* Define to 1 if you have the `setlocale' function. */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || defined(__DJGPP__)
#define HAVE_SETLOCALE 1
#endif
@@ -208,7 +210,7 @@
#undef HAVE_SIGPROCMASK
/* Define to 1 if you have the `snprintf' function. */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || defined(__DJGPP__)
#define HAVE_SNPRINTF 1
#endif
@@ -226,7 +228,9 @@
#define HAVE_STDARG_H 1
/* Define to 1 if stdbool.h conforms to C99. */
-#undef HAVE_STDBOOL_H
+#ifdef __DJGPP__
+#define HAVE_STDBOOL_H 1
+#endif
/* Define to 1 if you have the <stddef.h> header file. */
#ifdef __GNUC__
@@ -234,23 +238,27 @@
#endif
/* Define to 1 if you have the <stdint.h> header file. */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || defined(__DJGPP__)
#define HAVE_STDINT_H 1
#endif
/* Define to 1 if you have the <stdlib.h> header file. */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || defined(__DJGPP__)
#define HAVE_STDLIB_H 1
#endif
/* Define to 1 if you have the `strcasecmp' function. */
-#undef HAVE_STRCASECMP
+#ifdef __DJGPP__
+#define HAVE_STRCASECMP 1
+#endif
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strcoll' function. */
-#undef HAVE_STRCOLL
+#ifdef __DJGPP__
+#define HAVE_STRCOLL 1
+#endif
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
@@ -285,7 +293,7 @@
#define HAVE_STRTOD 1
/* Define to 1 if you have the `strtoul' function. */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || defined(__DJGPP__)
#define HAVE_STRTOUL 1
#endif
@@ -296,7 +304,9 @@
#undef HAVE_STRUCT_PASSWD_PW_PASSWD
/* Define to 1 if `st_blksize' is a member of `struct stat'. */
-#undef HAVE_STRUCT_STAT_ST_BLKSIZE
+#if defined(__MINGW32__) || defined(__DJGPP__)
+#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
+#endif
/* Define to 1 if `tm_zone' is a member of `struct tm'. */
#undef HAVE_STRUCT_TM_TM_ZONE
@@ -305,10 +315,12 @@
#define HAVE_SYSTEM 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
-#undef HAVE_SYS_IOCTL_H
+#if defined(__MINGW32__) || defined(__DJGPP__)
+#define HAVE_SYS_IOCTL_H 1
+#endif
/* Define to 1 if you have the <sys/param.h> header file. */
-#ifndef __MINGW32__
+#if defined(__MINGW32__) || defined(__DJGPP__)
#define HAVE_SYS_PARAM_H 1
#endif
@@ -319,7 +331,7 @@
#undef HAVE_SYS_SOCKET_H
/* Define to 1 if you have the <sys/stat.h> header file. */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || defined(__DJGPP__)
#define HAVE_SYS_STAT_H 1
#endif
@@ -340,7 +352,9 @@
#undef HAVE_TERMIOS_H
/* Define to 1 if you have the `tmpfile' function. */
-#undef HAVE_TMPFILE
+#ifdef __DJGPP__
+#define HAVE_TMPFILE 1
+#endif
/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
`HAVE_STRUCT_TM_TM_ZONE' instead. */
@@ -366,9 +380,6 @@
/* Define to 1 if the system has the type `uintmax_t'. */
#if defined(__DJGPP__) || defined(__MINGW32__)
#define HAVE_UINTMAX_T 1
-#ifdef __DJGPP__
-#define uintmax_t unsigned long long
-#endif
#endif
/* Define to 1 if you have the <unistd.h> header file. */
@@ -423,7 +434,9 @@
#endif
/* Define to 1 if the system has the type `_Bool'. */
-#undef HAVE__BOOL
+#ifdef __DJGPP__
+#define HAVE__BOOL 1
+#endif
/* Define to 1 if you have the `__etoa_l' function. */
#undef HAVE___ETOA_L
@@ -444,7 +457,7 @@
#define PACKAGE_NAME "GNU Awk"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU Awk 4.1.61"
+#define PACKAGE_STRING "GNU Awk 4.1.62"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gawk"
@@ -453,10 +466,12 @@
#define PACKAGE_URL "http://www.gnu.org/software/gawk/"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "4.1.61"
+#define PACKAGE_VERSION "4.1.62"
/* Define to 1 if *printf supports %F format */
-#undef PRINTF_HAS_F_FORMAT
+#ifdef __DJGPP__
+#define PRINTF_HAS_F_FORMAT 1
+#endif
/* The size of `unsigned int', as computed by sizeof. */
#define SIZEOF_UNSIGNED_INT 4
@@ -467,6 +482,9 @@
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
+/* enable built-in intdiv0 function */
+#undef SUPPLY_INTDIV
+
/* some systems define this type here */
#undef TIME_T_IN_SYS_TYPES_H
@@ -505,7 +523,7 @@
/* Version number of package */
-#define VERSION "4.1.61"
+#define VERSION "4.1.62"
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE
@@ -562,9 +580,7 @@
/* Define to the widest signed integer type if <stdint.h> and <inttypes.h> do
not define. */
-#ifdef __DJGPP__
-#define intmax_t long long
-#endif
+#undef intmax_t
/* Define to `int' if <sys/types.h> does not define. */
#undef pid_t
@@ -572,9 +588,7 @@
/* Define to the equivalent of the C99 'restrict' keyword, or to
nothing if this is not supported. Do not define if restrict is
supported directly. */
-#ifdef __DJGPP__
-#define restrict
-#endif
+#undef restrict
/* Work around a bug in Sun C++: it does not support _Restrict or
__restrict__, even though the corresponding Sun C compiler ends up with
"#define restrict _Restrict" or "#define restrict __restrict__" in the
@@ -599,29 +613,25 @@
/* Define to the widest unsigned integer type if <stdint.h> and <inttypes.h>
do not define. */
-#ifdef __DJGPP__
-#define uintmax_t unsigned long long
-#endif
+#undef uintmax_t
#include "custom.h"
+#ifdef __DJGPP__
+/* gcc no longer includes this by default */
+# include <sys/version.h>
+
/* Library search path */
-#if defined(__DJGPP__) && (__DJGPP__ > 2 || __DJGPP_MINOR__ >= 3)
-# define DEFPATH ".;/dev/env/DJDIR/share/awk"
-#else
-# define DEFPATH ".;c:/lib/awk;c:/gnu/lib/awk"
+# if (__DJGPP__ > 2 || __DJGPP_MINOR__ >= 3)
+# define DEFPATH ".;/dev/env/DJDIR/share/awk"
+# else
+# define DEFPATH ".;c:/lib/awk;c:/gnu/lib/awk"
+# endif
#endif
#ifndef __DJGPP__
#define HAVE_POPEN_H 1
#endif
-#if defined(__DJGPP__)
-typedef unsigned int uint32_t;
-typedef int int32_t;
-#define INT32_MAX INT_MAX
-#define INT32_MIN INT_MIN
-#endif
-
#if defined(__EMX__)
#define strcasecmp stricmp
#define strncasecmp strnicmp