Skip to content

Commit d8b6121

Browse files
hcho3jakirkham
andauthored
[backport] Allow external configuration of endianness in R package build (dmlc#10642) (dmlc#10645)
* Allow external configuration of endianness in R package build (dmlc#10642) * Allow users to set endianness in R build * Run `autoreconf -vi` * Don't use :BOOL suffix * Use AC_CONFIG_HEADERS --------- Co-authored-by: Hyunsu Cho <[email protected]> Co-authored-by: Philip Hyunsu Cho <[email protected]> * Re-run roxygen2 --------- Co-authored-by: jakirkham <[email protected]>
1 parent 5fdb39d commit d8b6121

File tree

4 files changed

+588
-60
lines changed

4 files changed

+588
-60
lines changed

R-package/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ Imports:
6666
data.table (>= 1.9.6),
6767
jsonlite (>= 1.0)
6868
Roxygen: list(markdown = TRUE)
69-
RoxygenNote: 7.3.1
69+
RoxygenNote: 7.3.2
7070
Encoding: UTF-8
7171
SystemRequirements: GNU make, C++17

R-package/config.h.in

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/* config.h.in. Generated from configure.ac by autoheader. */
2+
3+
/* Define if building universal (internal helper macro) */
4+
#undef AC_APPLE_UNIVERSAL_BUILD
5+
6+
/* Define to 1 if you have the <inttypes.h> header file. */
7+
#undef HAVE_INTTYPES_H
8+
9+
/* Define to 1 if you have the <stdint.h> header file. */
10+
#undef HAVE_STDINT_H
11+
12+
/* Define to 1 if you have the <stdio.h> header file. */
13+
#undef HAVE_STDIO_H
14+
15+
/* Define to 1 if you have the <stdlib.h> header file. */
16+
#undef HAVE_STDLIB_H
17+
18+
/* Define to 1 if you have the <strings.h> header file. */
19+
#undef HAVE_STRINGS_H
20+
21+
/* Define to 1 if you have the <string.h> header file. */
22+
#undef HAVE_STRING_H
23+
24+
/* Define to 1 if you have the <sys/stat.h> header file. */
25+
#undef HAVE_SYS_STAT_H
26+
27+
/* Define to 1 if you have the <sys/types.h> header file. */
28+
#undef HAVE_SYS_TYPES_H
29+
30+
/* Define to 1 if you have the <unistd.h> header file. */
31+
#undef HAVE_UNISTD_H
32+
33+
/* Define to the address where bug reports for this package should be sent. */
34+
#undef PACKAGE_BUGREPORT
35+
36+
/* Define to the full name of this package. */
37+
#undef PACKAGE_NAME
38+
39+
/* Define to the full name and version of this package. */
40+
#undef PACKAGE_STRING
41+
42+
/* Define to the one symbol short name of this package. */
43+
#undef PACKAGE_TARNAME
44+
45+
/* Define to the home page for this package. */
46+
#undef PACKAGE_URL
47+
48+
/* Define to the version of this package. */
49+
#undef PACKAGE_VERSION
50+
51+
/* Define to 1 if all of the C90 standard headers exist (not just the ones
52+
required in a freestanding environment). This macro is provided for
53+
backward compatibility; new code need not use it. */
54+
#undef STDC_HEADERS
55+
56+
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
57+
significant byte first (like Motorola and SPARC, unlike Intel). */
58+
#if defined AC_APPLE_UNIVERSAL_BUILD
59+
# if defined __BIG_ENDIAN__
60+
# define WORDS_BIGENDIAN 1
61+
# endif
62+
#else
63+
# ifndef WORDS_BIGENDIAN
64+
# undef WORDS_BIGENDIAN
65+
# endif
66+
#endif

0 commit comments

Comments
 (0)