Skip to content

Instantly share code, notes, and snippets.

@xeffyr xeffyr/m4-config.h.diff Secret
Created Aug 10, 2019

Embed
What would you like to do?
On-device build configuration issues.
--- /data/data/com.termux/files/home/.termux-build/m4/build/lib/config.h 2019-08-10 16:53:10.846662010 +0300
+++ config.h 2019-08-10 17:01:28.386661654 +0300
@@ -106,7 +106,7 @@
/* Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, 0 if
fflush is known to not work, -1 if unknown. */
-#define FUNC_FFLUSH_STDIN 0
+#define FUNC_FFLUSH_STDIN (-1)
/* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */
#define FUNC_NL_LANGINFO_YESEXPR_WORKS 1
@@ -483,15 +483,15 @@
/* Define if the copysignf function is declared in <math.h> and available in
libc. */
-/* #undef HAVE_COPYSIGNF_IN_LIBC */
+#define HAVE_COPYSIGNF_IN_LIBC 1
/* Define if the copysignl function is declared in <math.h> and available in
libc. */
-/* #undef HAVE_COPYSIGNL_IN_LIBC */
+#define HAVE_COPYSIGNL_IN_LIBC 1
/* Define if the copysign function is declared in <math.h> and available in
libc. */
-/* #undef HAVE_COPYSIGN_IN_LIBC */
+#define HAVE_COPYSIGN_IN_LIBC 1
/* Define to 1 if you have the declaration of `alarm', and to 0 if you don't.
*/
@@ -503,15 +503,15 @@
/* Define to 1 if you have the declaration of `copysign', and to 0 if you
don't. */
-/* #undef HAVE_DECL_COPYSIGN */
+#define HAVE_DECL_COPYSIGN 1
/* Define to 1 if you have the declaration of `copysignf', and to 0 if you
don't. */
-/* #undef HAVE_DECL_COPYSIGNF */
+#define HAVE_DECL_COPYSIGNF 1
/* Define to 1 if you have the declaration of `copysignl', and to 0 if you
don't. */
-/* #undef HAVE_DECL_COPYSIGNL */
+#define HAVE_DECL_COPYSIGNL 1
/* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't.
*/
@@ -886,7 +886,7 @@
#define HAVE_PIPE2 1
/* Define to 1 if you have the `posix_spawn' function. */
-#define HAVE_POSIX_SPAWN 1
+/* #undef HAVE_POSIX_SPAWN */
/* Define to 1 if the system has the type `posix_spawnattr_t'. */
/* #undef HAVE_POSIX_SPAWNATTR_T */
@@ -994,7 +994,7 @@
/* Define to 1 if extending the stack slightly past the limit causes a SIGSEGV
which can be handled on an alternate stack established with sigaltstack. */
-#define HAVE_STACK_OVERFLOW_HANDLING 1
+/* #undef HAVE_STACK_OVERFLOW_HANDLING */
/* Define to 1 if the system has the type `stack_t'. */
#define HAVE_STACK_T 1
@@ -1194,17 +1194,17 @@
/* #undef HAVE___FREADAHEAD */
/* Define to 1 if you have the `__freading' function. */
-#define HAVE___FREADING 1
+/* #undef HAVE___FREADING */
/* Define to 1 if you have the `__secure_getenv' function. */
/* #undef HAVE___SECURE_GETENV */
/* Define as the bit index in the word where to find bit 0 of the exponent of
'long double'. */
-#define LDBL_EXPBIT0_BIT 16
+/* #undef LDBL_EXPBIT0_BIT */
/* Define as the word index where to find the exponent of 'long double'. */
-#define LDBL_EXPBIT0_WORD 3
+/* #undef LDBL_EXPBIT0_WORD */
/* Define as the bit index in the word where to find the sign of 'long
double'. */
@@ -1228,7 +1228,7 @@
/* Define if the mbrtowc function does not return (size_t) -2 for empty input.
*/
-#define MBRTOWC_EMPTY_INPUT_BUG 1
+/* #undef MBRTOWC_EMPTY_INPUT_BUG */
/* Define if the mbrtowc function has the NULL pwc argument bug. */
/* #undef MBRTOWC_NULL_ARG1_BUG */
@@ -1257,7 +1257,7 @@
/* Define if the vasnprintf implementation needs special code for the 'F'
directive. */
-/* #undef NEED_PRINTF_DIRECTIVE_F */
+#define NEED_PRINTF_DIRECTIVE_F 1
/* Define if the vasnprintf implementation needs special code for the 'ls'
directive. */
@@ -1281,15 +1281,15 @@
/* Define if the vasnprintf implementation needs special code for the 0 flag.
*/
-/* #undef NEED_PRINTF_FLAG_ZERO */
+#define NEED_PRINTF_FLAG_ZERO 1
/* Define if the vasnprintf implementation needs special code for infinite
'double' arguments. */
-/* #undef NEED_PRINTF_INFINITE_DOUBLE */
+#define NEED_PRINTF_INFINITE_DOUBLE 1
/* Define if the vasnprintf implementation needs special code for infinite
'long double' arguments. */
-/* #undef NEED_PRINTF_INFINITE_LONG_DOUBLE */
+#define NEED_PRINTF_INFINITE_LONG_DOUBLE 1
/* Define if the vasnprintf implementation needs special code for 'long
double' arguments. */
@@ -1347,26 +1347,26 @@
#define PTRDIFF_T_SUFFIX l
/* Define to 1 if readlink fails to recognize a trailing slash. */
-/* #undef READLINK_TRAILING_SLASH_BUG */
+#define READLINK_TRAILING_SLASH_BUG 1
/* Define if rename does not work when the destination file exists, as on
Cygwin 1.5 or Windows. */
-/* #undef RENAME_DEST_EXISTS_BUG */
+#define RENAME_DEST_EXISTS_BUG 1
/* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or
Cygwin 1.5. */
-/* #undef RENAME_HARD_LINK_BUG */
+#define RENAME_HARD_LINK_BUG 1
/* Define to 1 if a file can be renamed while open, or to 0 if not. */
-#define RENAME_OPEN_FILE_WORKS 1
+#define RENAME_OPEN_FILE_WORKS 0
/* Define if rename does not correctly handle slashes on the destination
argument, such as on Solaris 10 or NetBSD 1.6. */
-/* #undef RENAME_TRAILING_SLASH_DEST_BUG */
+#define RENAME_TRAILING_SLASH_DEST_BUG 1
/* Define if rename does not correctly handle slashes on the source argument,
such as on Solaris 9 or cygwin 1.5. */
-/* #undef RENAME_TRAILING_SLASH_SOURCE_BUG */
+#define RENAME_TRAILING_SLASH_SOURCE_BUG 1
/* Define to 1 if gnulib's dirfd() replacement is used. */
/* #undef REPLACE_DIRFD */
@@ -1607,7 +1607,7 @@
/* Define to rpl_ if the getopt replacement functions and variables should be
used. */
-/* #undef __GETOPT_PREFIX */
+#define __GETOPT_PREFIX rpl_
/* Define to 1 if the system <stdint.h> predates C++11. */
/* #undef __STDC_CONSTANT_MACROS */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.