Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-18 04:10:38 +0300
committerMike Frysinger <vapier@gentoo.org>2022-01-20 03:59:16 +0300
commit0a67325726577e189c65e7c190f3f9e0874143a6 (patch)
tree89a129513dbd797f6086a993d36526e0d6487ff9 /newlib/newlib.hin
parentb86dc2dab4981ba92d683b866badc0b32be39120 (diff)
newlib: switch newlib.h to autoheader
Now that newlib.hin has been brought up to date and all of its defines are produced by configure, we can switch it to using autoheader without manual editing. This relies on a few pieces: * Moving the header & footer into configure.ac via AH_TOP & AH_BOTTOM. * Running a post-process step on newlib.h to delete all the defines we didn't export ourselves. Basically, anything without a _ prefix. This will leave behind some spurious comments in newlib.h related to the defines we filtered out, but should be harmless, so it's probably not worth the effort to construct a more complicated sed expression to also strip those out.
Diffstat (limited to 'newlib/newlib.hin')
-rw-r--r--newlib/newlib.hin63
1 files changed, 59 insertions, 4 deletions
diff --git a/newlib/newlib.hin b/newlib/newlib.hin
index 15543f403..69a7cb7a7 100644
--- a/newlib/newlib.hin
+++ b/newlib/newlib.hin
@@ -1,13 +1,68 @@
-/* newlib.hin. Manually edited from the output of autoheader to
- remove all PACKAGE_ macros which will collide with any user
- package using newlib header files and having its own package name,
- version, etc... */
+/* newlib.hin. Generated from configure.ac by autoheader. */
+
+/* NB: The contents are filtered before being installed. */
+
#ifndef __NEWLIB_H__
#define __NEWLIB_H__ 1
/* Newlib version */
#include <_newlib_version.h>
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#undef LT_OBJDIR
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
/* If atexit() may dynamically allocate space for cleanup functions. */
#undef _ATEXIT_DYNAMIC_ALLOC