Created
March 12, 2024 02:14
-
-
Save MikeiLL/59203c766452c8c763d04ec35b638a34 to your computer and use it in GitHub Desktop.
More Pike Install Build Modules (manually added -lgmp in both linker_options)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by configure, which was | |
generated by GNU Autoconf 2.72. Invocation command line was | |
$ /Users/mikekilmer/pike/src/modules/Gmp/configure --disable-option-checking --prefix=/usr/local 'LDFLAGS=-L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib' 'CPPFLAGS=-I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include' --cache-file=/dev/null --srcdir=/Users/mikekilmer/pike/src/modules/Gmp | |
## --------- ## | |
## Platform. ## | |
## --------- ## | |
hostname = cow1.local | |
uname -m = x86_64 | |
uname -r = 22.6.0 | |
uname -s = Darwin | |
uname -v = Darwin Kernel Version 22.6.0: Mon Feb 19 19:48:53 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_X86_64 | |
/usr/bin/uname -p = i386 | |
/bin/uname -X = unknown | |
/bin/arch = unknown | |
/usr/bin/arch -k = unknown | |
/usr/convex/getsysinfo = unknown | |
/usr/bin/hostinfo = Mach kernel version: | |
Darwin Kernel Version 22.6.0: Mon Feb 19 19:48:53 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_X86_64 | |
Kernel configured for up to 8 processors. | |
4 processors are physically available. | |
8 processors are logically available. | |
Processor type: x86_64h (Intel x86-64h Haswell) | |
Processors active: 0 1 2 3 4 5 6 7 | |
Primary memory available: 32.00 gigabytes | |
Default processor set: 783 tasks, 3756 threads, 8 processors | |
Load average: 2.95, Mach factor: 5.05 | |
/bin/machine = unknown | |
/usr/bin/oslevel = unknown | |
/bin/universe = unknown | |
PATH: /Users/mikekilmer/.nvm/versions/node/v12.22.5/bin/ | |
PATH: /usr/local/Cellar/pyenv-virtualenv/1.2.1/shims/ | |
PATH: /Users/mikekilmer/.pyenv/shims/ | |
PATH: /usr/local/bin/python/ | |
PATH: /usr/local/opt/ruby/bin/ | |
PATH: /usr/local/lib/ruby/gems/3.2.0/bin/ | |
PATH: /usr/local/opt/ruby/bin/ | |
PATH: /Users/mikekilmer/.pyenv/bin/ | |
PATH: /usr/local/opt/icu4c/sbin/ | |
PATH: /usr/local/opt/icu4c/bin/ | |
PATH: /opt/homebrew/bin/ | |
PATH: /usr/local/opt/ruby/bin/ | |
PATH: /usr/local/texlive/2016/bin/x86_64-darwin/ | |
PATH: /usr/local/opt/python/libexec/bin/ | |
PATH: /Users/mikekilmer/.npm/bin/ | |
PATH: /Users/mikekilmer/.npm-packages/bin/ | |
PATH: /Applications/VirtualBox.app/Contents/MacOS/ | |
PATH: /usr/local/bin/ | |
PATH: /usr/local/sbin/ | |
PATH: /Users/mikekilmer/bin/ | |
PATH: /usr/bin/ | |
PATH: /usr/local/lib/ | |
PATH: /usr/local/bin/ | |
PATH: /usr/local/sbin/ | |
PATH: /Users/mikekilmer/bin/ | |
PATH: /Applications/Poedit.app/Contents/MacOS/ | |
PATH: /Volumes/Oggun/Applications/flutter/bin/ | |
PATH: /Users/mikekilmer/shed/ | |
PATH: /Library/TeX/texbin/ | |
PATH: /Users/mikekilmer/.composer/vendor/bin/ | |
PATH: /Users/mikekilmer/bin/ | |
PATH: /usr/texbin/ | |
PATH: /usr/bin/ | |
PATH: /bin/ | |
PATH: /usr/sbin/ | |
PATH: /sbin/ | |
PATH: /opt/X11/bin/ | |
PATH: /Applications/Keybase.app/Contents/SharedSupport/bin/ | |
PATH: /usr/local/MacGPG2/bin/ | |
PATH: ./ | |
PATH: /usr/local/opt/postgresql@15/bin/ | |
## ----------- ## | |
## Core tests. ## | |
## ----------- ## | |
configure:2660: checking for gcc | |
configure:2693: result: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc | |
configure:3052: checking for C compiler version | |
configure:3061: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc --version >&5 | |
Apple clang version 14.0.3 (clang-1403.0.22.14.1) | |
Target: x86_64-apple-darwin22.6.0 | |
Thread model: posix | |
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | |
configure:3072: $? = 0 | |
configure:3061: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -v >&5 | |
Apple clang version 14.0.3 (clang-1403.0.22.14.1) | |
Target: x86_64-apple-darwin22.6.0 | |
Thread model: posix | |
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | |
configure:3072: $? = 0 | |
configure:3061: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -V >&5 | |
clang: error: argument to '-V' is missing (expected 1 value) | |
clang: error: no input files | |
configure:3072: $? = 1 | |
configure:3061: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -qversion >&5 | |
clang: error: unknown argument '-qversion'; did you mean '--version'? | |
clang: error: no input files | |
configure:3072: $? = 1 | |
configure:3061: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -version >&5 | |
clang: error: unknown argument '-version'; did you mean '--version'? | |
clang: error: no input files | |
configure:3072: $? = 1 | |
configure:3092: checking whether the C compiler works | |
configure:3114: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include -L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib -framework Foundation -framework System -framework CoreServices -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3 -ldl -lutil -lnetwork -lm -lpoll -framework CoreServices conftest.c >&5 | |
configure:3118: $? = 0 | |
configure:3169: result: yes | |
configure:3173: checking for C compiler default output file name | |
configure:3175: result: a.out | |
configure:3181: checking for suffix of executables | |
configure:3188: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -o conftest -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include -L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib -framework Foundation -framework System -framework CoreServices -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3 -ldl -lutil -lnetwork -lm -lpoll -framework CoreServices conftest.c >&5 | |
configure:3192: $? = 0 | |
configure:3216: result: | |
configure:3240: checking whether we are cross compiling | |
configure:3248: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -o conftest -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include -L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib -framework Foundation -framework System -framework CoreServices -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3 -ldl -lutil -lnetwork -lm -lpoll -framework CoreServices conftest.c >&5 | |
configure:3252: $? = 0 | |
configure:3259: ./conftest | |
configure:3263: $? = 0 | |
configure:3278: result: no | |
configure:3284: checking for suffix of object files | |
configure:3307: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:3311: $? = 0 | |
configure:3335: result: o | |
configure:3339: checking whether the compiler supports GNU C | |
configure:3359: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:3359: $? = 0 | |
configure:3371: result: yes | |
configure:3382: checking whether /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc accepts -g | |
configure:3403: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:3403: $? = 0 | |
configure:3450: result: yes | |
configure:3470: checking for /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc option to enable C11 features | |
configure:3485: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
conftest.c:180:3: error: "Compiler does not advertise C11 conformance" | |
# error "Compiler does not advertise C11 conformance" | |
^ | |
conftest.c:212:29: error: use of undeclared identifier 'syntax' | |
char const utf8_literal[] = u8"happens to be ASCII" "another string"; | |
^ | |
conftest.c:211:12: note: expanded from macro 'u8' | |
#define u8 syntax error! | |
^ | |
conftest.c:212:29: error: expected ';' after top level declarator | |
conftest.c:211:19: note: expanded from macro 'u8' | |
#define u8 syntax error! | |
^ | |
conftest.c:216:19: warning: redefinition of typedef 'long_ptr' is a C11 feature [-Wtypedef-redefinition] | |
typedef long int *long_ptr; | |
^ | |
conftest.c:215:15: note: previous definition is here | |
typedef long *long_ptr; | |
^ | |
conftest.c:217:18: warning: redefinition of typedef 'long_ptr' is a C11 feature [-Wtypedef-redefinition] | |
typedef long_ptr long_ptr; | |
^ | |
conftest.c:216:19: note: previous definition is here | |
typedef long int *long_ptr; | |
^ | |
2 warnings and 3 errors generated. | |
configure:3485: $? = 1 | |
configure: failed program was: | |
| /* confdefs.h */ | |
| #define PACKAGE_NAME "" | |
| #define PACKAGE_TARNAME "" | |
| #define PACKAGE_VERSION "" | |
| #define PACKAGE_STRING "" | |
| #define PACKAGE_BUGREPORT "" | |
| #define PACKAGE_URL "" | |
| /* end confdefs.h. */ | |
| | |
| /* Does the compiler advertise C89 conformance? | |
| Do not test the value of __STDC__, because some compilers set it to 0 | |
| while being otherwise adequately conformant. */ | |
| #if !defined __STDC__ | |
| # error "Compiler does not advertise C89 conformance" | |
| #endif | |
| | |
| #include <stddef.h> | |
| #include <stdarg.h> | |
| struct stat; | |
| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | |
| struct buf { int x; }; | |
| struct buf * (*rcsopen) (struct buf *, struct stat *, int); | |
| static char *e (char **p, int i) | |
| { | |
| return p[i]; | |
| } | |
| static char *f (char * (*g) (char **, int), char **p, ...) | |
| { | |
| char *s; | |
| va_list v; | |
| va_start (v,p); | |
| s = g (p, va_arg (v,int)); | |
| va_end (v); | |
| return s; | |
| } | |
| | |
| /* C89 style stringification. */ | |
| #define noexpand_stringify(a) #a | |
| const char *stringified = noexpand_stringify(arbitrary+token=sequence); | |
| | |
| /* C89 style token pasting. Exercises some of the corner cases that | |
| e.g. old MSVC gets wrong, but not very hard. */ | |
| #define noexpand_concat(a,b) a##b | |
| #define expand_concat(a,b) noexpand_concat(a,b) | |
| extern int vA; | |
| extern int vbee; | |
| #define aye A | |
| #define bee B | |
| int *pvA = &expand_concat(v,aye); | |
| int *pvbee = &noexpand_concat(v,bee); | |
| | |
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
| function prototypes and stuff, but not \xHH hex character constants. | |
| These do not provoke an error unfortunately, instead are silently treated | |
| as an "x". The following induces an error, until -std is added to get | |
| proper ANSI mode. Curiously \x00 != x always comes out true, for an | |
| array size at least. It is necessary to write \x00 == 0 to get something | |
| that is true only with -std. */ | |
| int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
| | |
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
| inside strings and character constants. */ | |
| #define FOO(x) 'x' | |
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
| | |
| int test (int i, double x); | |
| struct s1 {int (*f) (int a);}; | |
| struct s2 {int (*f) (double a);}; | |
| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | |
| int, int); | |
| | |
| /* Does the compiler advertise C99 conformance? */ | |
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | |
| # error "Compiler does not advertise C99 conformance" | |
| #endif | |
| | |
| // See if C++-style comments work. | |
| | |
| #include <stdbool.h> | |
| extern int puts (const char *); | |
| extern int printf (const char *, ...); | |
| extern int dprintf (int, const char *, ...); | |
| extern void *malloc (size_t); | |
| extern void free (void *); | |
| | |
| // Check varargs macros. These examples are taken from C99 6.10.3.5. | |
| // dprintf is used instead of fprintf to avoid needing to declare | |
| // FILE and stderr. | |
| #define debug(...) dprintf (2, __VA_ARGS__) | |
| #define showlist(...) puts (#__VA_ARGS__) | |
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | |
| static void | |
| test_varargs_macros (void) | |
| { | |
| int x = 1234; | |
| int y = 5678; | |
| debug ("Flag"); | |
| debug ("X = %d\n", x); | |
| showlist (The first, second, and third items.); | |
| report (x>y, "x is %d but y is %d", x, y); | |
| } | |
| | |
| // Check long long types. | |
| #define BIG64 18446744073709551615ull | |
| #define BIG32 4294967295ul | |
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | |
| #if !BIG_OK | |
| #error "your preprocessor is broken" | |
| #endif | |
| #if BIG_OK | |
| #else | |
| #error "your preprocessor is broken" | |
| #endif | |
| static long long int bignum = -9223372036854775807LL; | |
| static unsigned long long int ubignum = BIG64; | |
| | |
| struct incomplete_array | |
| { | |
| int datasize; | |
| double data[]; | |
| }; | |
| | |
| struct named_init { | |
| int number; | |
| const wchar_t *name; | |
| double average; | |
| }; | |
| | |
| typedef const char *ccp; | |
| | |
| static inline int | |
| test_restrict (ccp restrict text) | |
| { | |
| // Iterate through items via the restricted pointer. | |
| // Also check for declarations in for loops. | |
| for (unsigned int i = 0; *(text+i) != '\0'; ++i) | |
| continue; | |
| return 0; | |
| } | |
| | |
| // Check varargs and va_copy. | |
| static bool | |
| test_varargs (const char *format, ...) | |
| { | |
| va_list args; | |
| va_start (args, format); | |
| va_list args_copy; | |
| va_copy (args_copy, args); | |
| | |
| const char *str = ""; | |
| int number = 0; | |
| float fnumber = 0; | |
| | |
| while (*format) | |
| { | |
| switch (*format++) | |
| { | |
| case 's': // string | |
| str = va_arg (args_copy, const char *); | |
| break; | |
| case 'd': // int | |
| number = va_arg (args_copy, int); | |
| break; | |
| case 'f': // float | |
| fnumber = va_arg (args_copy, double); | |
| break; | |
| default: | |
| break; | |
| } | |
| } | |
| va_end (args_copy); | |
| va_end (args); | |
| | |
| return *str && number && fnumber; | |
| } | |
| | |
| | |
| /* Does the compiler advertise C11 conformance? */ | |
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L | |
| # error "Compiler does not advertise C11 conformance" | |
| #endif | |
| | |
| // Check _Alignas. | |
| char _Alignas (double) aligned_as_double; | |
| char _Alignas (0) no_special_alignment; | |
| extern char aligned_as_int; | |
| char _Alignas (0) _Alignas (int) aligned_as_int; | |
| | |
| // Check _Alignof. | |
| enum | |
| { | |
| int_alignment = _Alignof (int), | |
| int_array_alignment = _Alignof (int[100]), | |
| char_alignment = _Alignof (char) | |
| }; | |
| _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); | |
| | |
| // Check _Noreturn. | |
| int _Noreturn does_not_return (void) { for (;;) continue; } | |
| | |
| // Check _Static_assert. | |
| struct test_static_assert | |
| { | |
| int x; | |
| _Static_assert (sizeof (int) <= sizeof (long int), | |
| "_Static_assert does not work in struct"); | |
| long int y; | |
| }; | |
| | |
| // Check UTF-8 literals. | |
| #define u8 syntax error! | |
| char const utf8_literal[] = u8"happens to be ASCII" "another string"; | |
| | |
| // Check duplicate typedefs. | |
| typedef long *long_ptr; | |
| typedef long int *long_ptr; | |
| typedef long_ptr long_ptr; | |
| | |
| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. | |
| struct anonymous | |
| { | |
| union { | |
| struct { int i; int j; }; | |
| struct { int k; long int l; } w; | |
| }; | |
| int m; | |
| } v1; | |
| | |
| | |
| int | |
| main (int argc, char **argv) | |
| { | |
| int ok = 0; | |
| | |
| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | |
| | |
| | |
| // Check bool. | |
| _Bool success = false; | |
| success |= (argc != 0); | |
| | |
| // Check restrict. | |
| if (test_restrict ("String literal") == 0) | |
| success = true; | |
| char *restrict newvar = "Another string"; | |
| | |
| // Check varargs. | |
| success &= test_varargs ("s, d' f .", "string", 65, 34.234); | |
| test_varargs_macros (); | |
| | |
| // Check flexible array members. | |
| struct incomplete_array *ia = | |
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | |
| ia->datasize = 10; | |
| for (int i = 0; i < ia->datasize; ++i) | |
| ia->data[i] = i * 1.234; | |
| // Work around memory leak warnings. | |
| free (ia); | |
| | |
| // Check named initializers. | |
| struct named_init ni = { | |
| .number = 34, | |
| .name = L"Test wide string", | |
| .average = 543.34343, | |
| }; | |
| | |
| ni.number = 58; | |
| | |
| int dynamic_array[ni.number]; | |
| dynamic_array[0] = argv[0][0]; | |
| dynamic_array[ni.number - 1] = 543; | |
| | |
| // work around unused variable warnings | |
| ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | |
| || dynamic_array[ni.number - 1] != 543); | |
| | |
| | |
| _Static_assert ((offsetof (struct anonymous, i) | |
| == offsetof (struct anonymous, w.k)), | |
| "Anonymous union alignment botch"); | |
| v1.i = 2; | |
| v1.w.k = 5; | |
| ok |= v1.i != 5; | |
| | |
| return ok; | |
| } | |
| | |
configure:3485: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -std=gnu11 -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
conftest.c:180:3: error: "Compiler does not advertise C11 conformance" | |
# error "Compiler does not advertise C11 conformance" | |
^ | |
conftest.c:212:29: error: use of undeclared identifier 'syntax' | |
char const utf8_literal[] = u8"happens to be ASCII" "another string"; | |
^ | |
conftest.c:211:12: note: expanded from macro 'u8' | |
#define u8 syntax error! | |
^ | |
conftest.c:212:29: error: expected ';' after top level declarator | |
conftest.c:211:19: note: expanded from macro 'u8' | |
#define u8 syntax error! | |
^ | |
conftest.c:216:19: warning: redefinition of typedef 'long_ptr' is a C11 feature [-Wtypedef-redefinition] | |
typedef long int *long_ptr; | |
^ | |
conftest.c:215:15: note: previous definition is here | |
typedef long *long_ptr; | |
^ | |
conftest.c:217:18: warning: redefinition of typedef 'long_ptr' is a C11 feature [-Wtypedef-redefinition] | |
typedef long_ptr long_ptr; | |
^ | |
conftest.c:216:19: note: previous definition is here | |
typedef long int *long_ptr; | |
^ | |
2 warnings and 3 errors generated. | |
configure:3485: $? = 1 | |
configure: failed program was: | |
| /* confdefs.h */ | |
| #define PACKAGE_NAME "" | |
| #define PACKAGE_TARNAME "" | |
| #define PACKAGE_VERSION "" | |
| #define PACKAGE_STRING "" | |
| #define PACKAGE_BUGREPORT "" | |
| #define PACKAGE_URL "" | |
| /* end confdefs.h. */ | |
| | |
| /* Does the compiler advertise C89 conformance? | |
| Do not test the value of __STDC__, because some compilers set it to 0 | |
| while being otherwise adequately conformant. */ | |
| #if !defined __STDC__ | |
| # error "Compiler does not advertise C89 conformance" | |
| #endif | |
| | |
| #include <stddef.h> | |
| #include <stdarg.h> | |
| struct stat; | |
| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | |
| struct buf { int x; }; | |
| struct buf * (*rcsopen) (struct buf *, struct stat *, int); | |
| static char *e (char **p, int i) | |
| { | |
| return p[i]; | |
| } | |
| static char *f (char * (*g) (char **, int), char **p, ...) | |
| { | |
| char *s; | |
| va_list v; | |
| va_start (v,p); | |
| s = g (p, va_arg (v,int)); | |
| va_end (v); | |
| return s; | |
| } | |
| | |
| /* C89 style stringification. */ | |
| #define noexpand_stringify(a) #a | |
| const char *stringified = noexpand_stringify(arbitrary+token=sequence); | |
| | |
| /* C89 style token pasting. Exercises some of the corner cases that | |
| e.g. old MSVC gets wrong, but not very hard. */ | |
| #define noexpand_concat(a,b) a##b | |
| #define expand_concat(a,b) noexpand_concat(a,b) | |
| extern int vA; | |
| extern int vbee; | |
| #define aye A | |
| #define bee B | |
| int *pvA = &expand_concat(v,aye); | |
| int *pvbee = &noexpand_concat(v,bee); | |
| | |
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
| function prototypes and stuff, but not \xHH hex character constants. | |
| These do not provoke an error unfortunately, instead are silently treated | |
| as an "x". The following induces an error, until -std is added to get | |
| proper ANSI mode. Curiously \x00 != x always comes out true, for an | |
| array size at least. It is necessary to write \x00 == 0 to get something | |
| that is true only with -std. */ | |
| int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
| | |
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
| inside strings and character constants. */ | |
| #define FOO(x) 'x' | |
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
| | |
| int test (int i, double x); | |
| struct s1 {int (*f) (int a);}; | |
| struct s2 {int (*f) (double a);}; | |
| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | |
| int, int); | |
| | |
| /* Does the compiler advertise C99 conformance? */ | |
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | |
| # error "Compiler does not advertise C99 conformance" | |
| #endif | |
| | |
| // See if C++-style comments work. | |
| | |
| #include <stdbool.h> | |
| extern int puts (const char *); | |
| extern int printf (const char *, ...); | |
| extern int dprintf (int, const char *, ...); | |
| extern void *malloc (size_t); | |
| extern void free (void *); | |
| | |
| // Check varargs macros. These examples are taken from C99 6.10.3.5. | |
| // dprintf is used instead of fprintf to avoid needing to declare | |
| // FILE and stderr. | |
| #define debug(...) dprintf (2, __VA_ARGS__) | |
| #define showlist(...) puts (#__VA_ARGS__) | |
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | |
| static void | |
| test_varargs_macros (void) | |
| { | |
| int x = 1234; | |
| int y = 5678; | |
| debug ("Flag"); | |
| debug ("X = %d\n", x); | |
| showlist (The first, second, and third items.); | |
| report (x>y, "x is %d but y is %d", x, y); | |
| } | |
| | |
| // Check long long types. | |
| #define BIG64 18446744073709551615ull | |
| #define BIG32 4294967295ul | |
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | |
| #if !BIG_OK | |
| #error "your preprocessor is broken" | |
| #endif | |
| #if BIG_OK | |
| #else | |
| #error "your preprocessor is broken" | |
| #endif | |
| static long long int bignum = -9223372036854775807LL; | |
| static unsigned long long int ubignum = BIG64; | |
| | |
| struct incomplete_array | |
| { | |
| int datasize; | |
| double data[]; | |
| }; | |
| | |
| struct named_init { | |
| int number; | |
| const wchar_t *name; | |
| double average; | |
| }; | |
| | |
| typedef const char *ccp; | |
| | |
| static inline int | |
| test_restrict (ccp restrict text) | |
| { | |
| // Iterate through items via the restricted pointer. | |
| // Also check for declarations in for loops. | |
| for (unsigned int i = 0; *(text+i) != '\0'; ++i) | |
| continue; | |
| return 0; | |
| } | |
| | |
| // Check varargs and va_copy. | |
| static bool | |
| test_varargs (const char *format, ...) | |
| { | |
| va_list args; | |
| va_start (args, format); | |
| va_list args_copy; | |
| va_copy (args_copy, args); | |
| | |
| const char *str = ""; | |
| int number = 0; | |
| float fnumber = 0; | |
| | |
| while (*format) | |
| { | |
| switch (*format++) | |
| { | |
| case 's': // string | |
| str = va_arg (args_copy, const char *); | |
| break; | |
| case 'd': // int | |
| number = va_arg (args_copy, int); | |
| break; | |
| case 'f': // float | |
| fnumber = va_arg (args_copy, double); | |
| break; | |
| default: | |
| break; | |
| } | |
| } | |
| va_end (args_copy); | |
| va_end (args); | |
| | |
| return *str && number && fnumber; | |
| } | |
| | |
| | |
| /* Does the compiler advertise C11 conformance? */ | |
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L | |
| # error "Compiler does not advertise C11 conformance" | |
| #endif | |
| | |
| // Check _Alignas. | |
| char _Alignas (double) aligned_as_double; | |
| char _Alignas (0) no_special_alignment; | |
| extern char aligned_as_int; | |
| char _Alignas (0) _Alignas (int) aligned_as_int; | |
| | |
| // Check _Alignof. | |
| enum | |
| { | |
| int_alignment = _Alignof (int), | |
| int_array_alignment = _Alignof (int[100]), | |
| char_alignment = _Alignof (char) | |
| }; | |
| _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); | |
| | |
| // Check _Noreturn. | |
| int _Noreturn does_not_return (void) { for (;;) continue; } | |
| | |
| // Check _Static_assert. | |
| struct test_static_assert | |
| { | |
| int x; | |
| _Static_assert (sizeof (int) <= sizeof (long int), | |
| "_Static_assert does not work in struct"); | |
| long int y; | |
| }; | |
| | |
| // Check UTF-8 literals. | |
| #define u8 syntax error! | |
| char const utf8_literal[] = u8"happens to be ASCII" "another string"; | |
| | |
| // Check duplicate typedefs. | |
| typedef long *long_ptr; | |
| typedef long int *long_ptr; | |
| typedef long_ptr long_ptr; | |
| | |
| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. | |
| struct anonymous | |
| { | |
| union { | |
| struct { int i; int j; }; | |
| struct { int k; long int l; } w; | |
| }; | |
| int m; | |
| } v1; | |
| | |
| | |
| int | |
| main (int argc, char **argv) | |
| { | |
| int ok = 0; | |
| | |
| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | |
| | |
| | |
| // Check bool. | |
| _Bool success = false; | |
| success |= (argc != 0); | |
| | |
| // Check restrict. | |
| if (test_restrict ("String literal") == 0) | |
| success = true; | |
| char *restrict newvar = "Another string"; | |
| | |
| // Check varargs. | |
| success &= test_varargs ("s, d' f .", "string", 65, 34.234); | |
| test_varargs_macros (); | |
| | |
| // Check flexible array members. | |
| struct incomplete_array *ia = | |
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | |
| ia->datasize = 10; | |
| for (int i = 0; i < ia->datasize; ++i) | |
| ia->data[i] = i * 1.234; | |
| // Work around memory leak warnings. | |
| free (ia); | |
| | |
| // Check named initializers. | |
| struct named_init ni = { | |
| .number = 34, | |
| .name = L"Test wide string", | |
| .average = 543.34343, | |
| }; | |
| | |
| ni.number = 58; | |
| | |
| int dynamic_array[ni.number]; | |
| dynamic_array[0] = argv[0][0]; | |
| dynamic_array[ni.number - 1] = 543; | |
| | |
| // work around unused variable warnings | |
| ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | |
| || dynamic_array[ni.number - 1] != 543); | |
| | |
| | |
| _Static_assert ((offsetof (struct anonymous, i) | |
| == offsetof (struct anonymous, w.k)), | |
| "Anonymous union alignment botch"); | |
| v1.i = 2; | |
| v1.w.k = 5; | |
| ok |= v1.i != 5; | |
| | |
| return ok; | |
| } | |
| | |
configure:3499: result: unsupported | |
configure:3519: checking for /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc option to enable C99 features | |
configure:3534: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:3534: $? = 0 | |
configure:3553: result: none needed | |
configure:3666: checking if we are using ICC (Intel C Compiler) | |
configure:3710: result: no | |
configure:3721: checking how to run the C preprocessor | |
configure:3792: result: gcc -E | |
configure:3806: gcc -E -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c | |
configure:3806: $? = 0 | |
configure:3822: gcc -E -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c | |
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found | |
#include <ac_nonexistent.h> | |
^~~~~~~~~~~~~~~~~~ | |
1 error generated. | |
configure:3822: $? = 1 | |
configure: failed program was: | |
| /* confdefs.h */ | |
| #define PACKAGE_NAME "" | |
| #define PACKAGE_TARNAME "" | |
| #define PACKAGE_VERSION "" | |
| #define PACKAGE_STRING "" | |
| #define PACKAGE_BUGREPORT "" | |
| #define PACKAGE_URL "" | |
| /* end confdefs.h. */ | |
| #include <ac_nonexistent.h> | |
configure:3863: checking for grep that handles long lines and -e | |
configure:3929: result: /usr/bin/grep | |
configure:3934: checking for egrep | |
configure:4004: result: /usr/bin/grep -E | |
configure:4017: checking for stdio.h | |
configure:4017: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:4017: $? = 0 | |
configure:4017: result: yes | |
configure:4017: checking for stdlib.h | |
configure:4017: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:4017: $? = 0 | |
configure:4017: result: yes | |
configure:4017: checking for string.h | |
configure:4017: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:4017: $? = 0 | |
configure:4017: result: yes | |
configure:4017: checking for inttypes.h | |
configure:4017: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:4017: $? = 0 | |
configure:4017: result: yes | |
configure:4017: checking for stdint.h | |
configure:4017: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:4017: $? = 0 | |
configure:4017: result: yes | |
configure:4017: checking for strings.h | |
configure:4017: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:4017: $? = 0 | |
configure:4017: result: yes | |
configure:4017: checking for sys/stat.h | |
configure:4017: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:4017: $? = 0 | |
configure:4017: result: yes | |
configure:4017: checking for sys/types.h | |
configure:4017: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:4017: $? = 0 | |
configure:4017: result: yes | |
configure:4017: checking for unistd.h | |
configure:4017: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:4017: $? = 0 | |
configure:4017: result: yes | |
configure:4017: checking for wchar.h | |
configure:4017: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:4017: $? = 0 | |
configure:4017: result: yes | |
configure:4017: checking for minix/config.h | |
configure:4017: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
conftest.c:47:10: fatal error: 'minix/config.h' file not found | |
#include <minix/config.h> | |
^~~~~~~~~~~~~~~~ | |
1 error generated. | |
configure:4017: $? = 1 | |
configure: failed program was: | |
| /* confdefs.h */ | |
| #define PACKAGE_NAME "" | |
| #define PACKAGE_TARNAME "" | |
| #define PACKAGE_VERSION "" | |
| #define PACKAGE_STRING "" | |
| #define PACKAGE_BUGREPORT "" | |
| #define PACKAGE_URL "" | |
| #define HAVE_STDIO_H 1 | |
| #define HAVE_STDLIB_H 1 | |
| #define HAVE_STRING_H 1 | |
| #define HAVE_INTTYPES_H 1 | |
| #define HAVE_STDINT_H 1 | |
| #define HAVE_STRINGS_H 1 | |
| #define HAVE_SYS_STAT_H 1 | |
| #define HAVE_SYS_TYPES_H 1 | |
| #define HAVE_UNISTD_H 1 | |
| #define HAVE_WCHAR_H 1 | |
| /* end confdefs.h. */ | |
| #include <stddef.h> | |
| #ifdef HAVE_STDIO_H | |
| # include <stdio.h> | |
| #endif | |
| #ifdef HAVE_STDLIB_H | |
| # include <stdlib.h> | |
| #endif | |
| #ifdef HAVE_STRING_H | |
| # include <string.h> | |
| #endif | |
| #ifdef HAVE_INTTYPES_H | |
| # include <inttypes.h> | |
| #endif | |
| #ifdef HAVE_STDINT_H | |
| # include <stdint.h> | |
| #endif | |
| #ifdef HAVE_STRINGS_H | |
| # include <strings.h> | |
| #endif | |
| #ifdef HAVE_SYS_TYPES_H | |
| # include <sys/types.h> | |
| #endif | |
| #ifdef HAVE_SYS_STAT_H | |
| # include <sys/stat.h> | |
| #endif | |
| #ifdef HAVE_UNISTD_H | |
| # include <unistd.h> | |
| #endif | |
| #include <minix/config.h> | |
configure:4017: result: no | |
configure:4048: checking whether it is safe to define __EXTENSIONS__ | |
configure:4067: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:4067: $? = 0 | |
configure:4077: result: yes | |
configure:4080: checking whether _XOPEN_SOURCE should be defined | |
configure:4102: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:4102: $? = 0 | |
configure:4131: result: no | |
configure:4198: checking for level of POSIX to support | |
configure:4217: gcc -E -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include -D_POSIX_C_SOURCE=200809L conftest.c | |
configure:4217: $? = 0 | |
configure:4228: result: 200809L | |
configure:4278: checking default compiler ABI | |
configure:4355: result: 64 | |
configure:4360: checking what the native ABI is | |
configure:4393: result: 64 | |
configure:4406: checking which ABI to use | |
configure:4432: result: attempt 64 | |
configure:6886: checking for ABI lib-suffixes | |
configure:6910: result: 64 /64 /. | |
configure:6916: checking For 64-bit ABI tool prefix | |
configure:7071: result: no | |
configure:7144: checking for libgcc file name | |
configure:7173: result: no | |
configure:7211: checking for uname | |
configure:7234: found /usr/bin/uname | |
configure:7248: result: /usr/bin/uname | |
configure:7256: checking operating system | |
configure:7310: result: Darwin | |
configure:7406: checking for pkg-config | |
configure:7429: found /usr/local/bin/pkg-config | |
configure:7442: result: /usr/local/bin/pkg-config | |
configure:7481: checking if a pkg-config based libmpfr is installed | |
configure:7562: result: no | |
configure:7571: checking for gmp.h | |
configure:7571: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:7571: $? = 0 | |
configure:7571: result: yes | |
configure:7590: checking for mpfr.h | |
configure:7590: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:7590: $? = 0 | |
configure:7590: result: yes | |
configure:7609: checking for mpf2mpfr.h | |
configure:7609: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:7609: $? = 0 | |
configure:7609: result: yes | |
configure:7627: checking for main in -lgmp | |
configure:7647: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -o conftest -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include -L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib -framework Foundation -framework System -framework CoreServices -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3 -ldl -lutil -lnetwork -lm -lpoll -framework CoreServices conftest.c -lgmp >&5 | |
configure:7647: $? = 0 | |
configure:7659: result: yes | |
configure:7669: checking for mpfr_init in -lmpfr | |
configure:7698: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -o conftest -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include -L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib -framework Foundation -framework System -framework CoreServices -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3 -ldl -lutil -lnetwork -lm -lpoll -framework CoreServices conftest.c -lmpfr -lgmp >&5 | |
configure:7698: $? = 0 | |
configure:7710: result: yes | |
configure:7733: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -o conftest -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include -L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib -framework Foundation -framework System -framework CoreServices -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3 -ldl -lutil -lnetwork -lm -lpoll -framework CoreServices conftest.c -lmpfr -lgmp >&5 | |
configure:7733: $? = 0 | |
configure:7757: checking version of gmp | |
configure:7773: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:7776: $? = 0 | |
configure:7780: result: 6.3.0 | |
configure:7854: checking size of mp_limb_t | |
configure:7860: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -o conftest -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include -L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib -framework Foundation -framework System -framework CoreServices -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3 -ldl -lutil -lnetwork -lm -lpoll -framework CoreServices conftest.c -lmpfr -lgmp >&5 | |
configure:7860: $? = 0 | |
configure:7860: ./conftest | |
configure:7860: $? = 0 | |
configure:7877: result: 8 | |
configure:7888: checking for mpz_powm_sec | |
configure:7901: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -o conftest -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include -L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib -framework Foundation -framework System -framework CoreServices -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3 -ldl -lutil -lnetwork -lm -lpoll -framework CoreServices conftest.c -lmpfr -lgmp >&5 | |
configure:7901: $? = 0 | |
configure:7906: result: yes | |
configure:7918: checking for mpn_sec_invert | |
configure:7931: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -o conftest -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include -L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib -framework Foundation -framework System -framework CoreServices -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3 -ldl -lutil -lnetwork -lm -lpoll -framework CoreServices conftest.c -lmpfr -lgmp >&5 | |
configure:7931: $? = 0 | |
configure:7936: result: yes | |
configure:7950: checking if GMP_NUMB_BITS is valid and lacks nails | |
configure:7973: /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc -c -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include conftest.c >&5 | |
configure:7973: $? = 0 | |
configure:7985: result: yes | |
configure:8074: checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE) | |
configure:8098: result: yes | |
configure:8115: checking for the Pike base directory | |
configure:8120: result: /Users/mikekilmer/pike/src | |
configure:8365: creating ./config.status | |
## ---------------------- ## | |
## Running config.status. ## | |
## ---------------------- ## | |
This file was extended by config.status, which was | |
generated by GNU Autoconf 2.72. Invocation command line was | |
CONFIG_FILES = | |
CONFIG_HEADERS = | |
CONFIG_LINKS = | |
CONFIG_COMMANDS = | |
$ ./config.status | |
on cow1.local | |
config.status:886: creating stamp-h | |
config.status:886: creating make_variables | |
config.status:886: creating Makefile | |
config.status:886: creating gmp_machine.h | |
config.status:1060: executing default commands | |
## ---------------- ## | |
## Cache variables. ## | |
## ---------------- ## | |
ac_cv_c_compiler_gnu=yes | |
ac_cv_header_gmp_h=yes | |
ac_cv_header_inttypes_h=yes | |
ac_cv_header_minix_config_h=no | |
ac_cv_header_mpf2mpfr_h=yes | |
ac_cv_header_mpfr_h=yes | |
ac_cv_header_stdint_h=yes | |
ac_cv_header_stdio_h=yes | |
ac_cv_header_stdlib_h=yes | |
ac_cv_header_string_h=yes | |
ac_cv_header_strings_h=yes | |
ac_cv_header_sys_stat_h=yes | |
ac_cv_header_sys_types_h=yes | |
ac_cv_header_unistd_h=yes | |
ac_cv_header_wchar_h=yes | |
ac_cv_lib_gmp_main=yes | |
ac_cv_lib_mpfr_mpfr_init=yes | |
ac_cv_objext=o | |
ac_cv_path_EGREP='/usr/bin/grep -E' | |
ac_cv_path_EGREP_TRADITIONAL='/usr/bin/grep -E' | |
ac_cv_path_GREP=/usr/bin/grep | |
ac_cv_path_PKG_CONFIG=/usr/local/bin/pkg-config | |
ac_cv_path_uname_prog=/usr/bin/uname | |
ac_cv_prog_CPP='gcc -E' | |
ac_cv_prog_ac_ct_CC='/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc' | |
ac_cv_prog_cc_c11=no | |
ac_cv_prog_cc_c99= | |
ac_cv_prog_cc_g=yes | |
ac_cv_prog_cc_stdc= | |
ac_cv_prog_make__Applications_Xcode_app_Contents_Developer_usr_bin_make_set=yes | |
ac_cv_safe_to_define___extensions__=yes | |
ac_cv_should_define__xopen_source=no | |
ac_cv_sizeof_mp_limb_t=8 | |
pike_cv_abi=64 | |
pike_cv_abi_suffixes='64 /64 /.' | |
pike_cv_default_compiler_abi=64 | |
pike_cv_gmp_numb_bits_valid=yes | |
pike_cv_libgcc_filename=no | |
pike_cv_native_abi=64 | |
pike_cv_pkg_config_libmpfr=no | |
pike_cv_posix_c_source=200809L | |
pike_cv_prog_icc=no | |
pike_cv_sys_os=Darwin | |
pike_cv_wanted_abi=64 | |
## ----------------- ## | |
## Output variables. ## | |
## ----------------- ## | |
ACCONFIG_H='$(SRCDIR)/acconfig.h' | |
CC='/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc' | |
CFLAGS=' -g -Wimplicit-function-declaration -std=c99 -ggdb -m64' | |
CONFIG_HEADERS='gmp_machine.h' | |
CONFIG_HEADERS_IN=' $(SRCDIR)/gmp_machine.h.in' | |
CPP='gcc -E' | |
CPPFLAGS=' -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include' | |
CROSS='no' | |
DEFS='-DHAVE_CONFIG_H' | |
ECHO_C='\c' | |
ECHO_N='' | |
ECHO_T='' | |
EGREP='/usr/bin/grep -E' | |
EXEEXT='' | |
GREP='/usr/bin/grep' | |
LDFLAGS='-L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib -framework Foundation -framework System -framework CoreServices -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3 -ldl -lutil -lnetwork -lm -lpoll -framework CoreServices ' | |
LIBGCC='' | |
LIBOBJS='' | |
LIBS='-lmpfr -lgmp ' | |
LTLIBOBJS='' | |
MODULE_DIR='' | |
MODULE_NAME='Gmp' | |
MODULE_PATH='' | |
MODULE_PMOD_IN='' | |
MODULE_WRAPPER_PREFIX='' | |
OBJEXT='o' | |
PACKAGE_BUGREPORT='' | |
PACKAGE_NAME='' | |
PACKAGE_STRING='' | |
PACKAGE_TARNAME='' | |
PACKAGE_URL='' | |
PACKAGE_VERSION='' | |
PATH_SEPARATOR=':' | |
PKG_CONFIG='/usr/local/bin/pkg-config' | |
PKG_CONFIG_LIBDIR='' | |
PKG_CONFIG_PATH='/usr/local/opt/ruby/lib/pkgconfig /usr/local/opt/icu4c/lib/pkgconfig /usr/local/opt/openssl@1.1/lib/pkgconfigi /usr/local/opt/postgresql@15/lib/pkgconfig' | |
PMOD_TARGETS='$(SRCDIR)/mpf.c $(SRCDIR)/mpq.c' | |
RUNPIKE='DEFAULT_RUNPIKE' | |
SET_MAKE='' | |
SHELL='/bin/bash -norc' | |
ac_ct_CC='/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc' | |
bindir='${exec_prefix}/bin' | |
build_alias='' | |
datadir='${datarootdir}' | |
datarootdir='${prefix}/share' | |
docdir='${datarootdir}/doc/${PACKAGE}' | |
dvidir='${docdir}' | |
exec_prefix='${prefix}' | |
host_alias='' | |
htmldir='${docdir}' | |
includedir='${prefix}/include' | |
infodir='${datarootdir}/info' | |
libdir='${exec_prefix}/lib' | |
libexecdir='${exec_prefix}/libexec' | |
localedir='${datarootdir}/locale' | |
localstatedir='${prefix}/var' | |
make_variables_in='/Users/mikekilmer/pike/src/make_variables.in' | |
mandir='${datarootdir}/man' | |
oldincludedir='/usr/include' | |
pdfdir='${docdir}' | |
prefix='/usr/local' | |
program_transform_name='s,x,x,' | |
psdir='${docdir}' | |
runstatedir='${localstatedir}/run' | |
sbindir='${exec_prefix}/sbin' | |
sharedstatedir='${prefix}/com' | |
sysconfdir='${prefix}/etc' | |
target_alias='' | |
uname_prog='/usr/bin/uname' | |
## ------------------- ## | |
## File substitutions. ## | |
## ------------------- ## | |
dependencies='/Users/mikekilmer/pike/src/modules/Gmp/dependencies' | |
dynamic_module_makefile='/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/dynamic_module_makefile' | |
make_variables='make_variables' | |
propagated_variables='propagated_variables' | |
static_module_makefile='/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/static_module_makefile' | |
## ----------- ## | |
## confdefs.h. ## | |
## ----------- ## | |
/* confdefs.h */ | |
#define PACKAGE_NAME "" | |
#define PACKAGE_TARNAME "" | |
#define PACKAGE_VERSION "" | |
#define PACKAGE_STRING "" | |
#define PACKAGE_BUGREPORT "" | |
#define PACKAGE_URL "" | |
#define HAVE_STDIO_H 1 | |
#define HAVE_STDLIB_H 1 | |
#define HAVE_STRING_H 1 | |
#define HAVE_INTTYPES_H 1 | |
#define HAVE_STDINT_H 1 | |
#define HAVE_STRINGS_H 1 | |
#define HAVE_SYS_STAT_H 1 | |
#define HAVE_SYS_TYPES_H 1 | |
#define HAVE_UNISTD_H 1 | |
#define HAVE_WCHAR_H 1 | |
#define STDC_HEADERS 1 | |
#define _ALL_SOURCE 1 | |
#define _DARWIN_C_SOURCE 1 | |
#define _GNU_SOURCE 1 | |
#define _HPUX_ALT_XOPEN_SOCKET_API 1 | |
#define _NETBSD_SOURCE 1 | |
#define _OPENBSD_SOURCE 1 | |
#define _POSIX_PTHREAD_SEMANTICS 1 | |
#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | |
#define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | |
#define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | |
#define __STDC_WANT_IEC_60559_EXT__ 1 | |
#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | |
#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | |
#define __STDC_WANT_LIB_EXT2__ 1 | |
#define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | |
#define _TANDEM_SOURCE 1 | |
#define __EXTENSIONS__ 1 | |
#define POSIX_SOURCE 1 | |
#define _POSIX_C_SOURCE 200809L | |
#define _XOPEN_SOURCE 700 | |
#define _DARWIN_C_SOURCE 1 | |
#define _NETBSD_SOURCE 1 | |
#define __BSD_VISIBLE 1 | |
#define HAVE_GMP_H 1 | |
#define HAVE_MPFR_H 1 | |
#define HAVE_MPF2MPFR_H 1 | |
#define HAVE_LIBGMP 1 | |
#define HAVE_LIBMPFR 1 | |
#include <gmp.h> | |
#define SIZEOF_MP_LIMB_T 8 | |
#define HAVE_GMP5 1 | |
#define HAVE_GMP6 1 | |
configure: exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* gmp_machine.h. Generated from gmp_machine.h.in by configure. */ | |
/* gmp_machine.h.in. Generated from configure.in by autoheader. */ | |
/* -*- c -*- | |
|| This file is part of Pike. For copyright information see COPYRIGHT. | |
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING | |
|| for more information. | |
*/ | |
#ifndef GMP_MACHINE_H | |
#define GMP_MACHINE_H | |
/* Define to 1 if you have the <gmp.h> header file. */ | |
#define HAVE_GMP_H 1 | |
/* Define to 1 if you have the <inttypes.h> header file. */ | |
#define HAVE_INTTYPES_H 1 | |
/* Define to 1 if you have the 'gmp' library (-lgmp). */ | |
#define HAVE_LIBGMP 1 | |
/* Define to 1 if you have the 'mpfr' library (-lmpfr). */ | |
#define HAVE_LIBMPFR 1 | |
/* Define to 1 if you have the <minix/config.h> header file. */ | |
/* #undef HAVE_MINIX_CONFIG_H */ | |
/* Define to 1 if you have the <mpf2mpfr.h> header file. */ | |
#define HAVE_MPF2MPFR_H 1 | |
/* Define to 1 if you have the <mpfr.h> header file. */ | |
#define HAVE_MPFR_H 1 | |
/* Define to 1 if you have the <stdint.h> header file. */ | |
#define HAVE_STDINT_H 1 | |
/* Define to 1 if you have the <stdio.h> header file. */ | |
#define HAVE_STDIO_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 <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 <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 the <unistd.h> header file. */ | |
#define HAVE_UNISTD_H 1 | |
/* Define to 1 if you have the <wchar.h> header file. */ | |
#define HAVE_WCHAR_H 1 | |
/* Define to the address where bug reports for this package should be sent. */ | |
#define PACKAGE_BUGREPORT "" | |
/* Define to the full name of this package. */ | |
#define PACKAGE_NAME "" | |
/* Define to the full name and version of this package. */ | |
#define PACKAGE_STRING "" | |
/* Define to the one symbol short name of this package. */ | |
#define PACKAGE_TARNAME "" | |
/* Define to the home page for this package. */ | |
#define PACKAGE_URL "" | |
/* Define to the version of this package. */ | |
#define PACKAGE_VERSION "" | |
/* The size of 'mp_limb_t', as computed by sizeof. */ | |
#define SIZEOF_MP_LIMB_T 8 | |
/* Define to 1 if all of the C89 standard headers exist (not just the ones | |
required in a freestanding environment). This macro is provided for | |
backward compatibility; new code need not use it. */ | |
#define STDC_HEADERS 1 | |
#ifndef POSIX_SOURCE | |
/* We must define this *always* */ | |
# define POSIX_SOURCE 1 | |
#endif | |
#ifndef _POSIX_C_SOURCE | |
/* Version of POSIX that we want to support. | |
* Note that POSIX.1-2001 and later require C99, and the earlier | |
* require C89. | |
* undef Not POSIX. | |
* 1 POSIX.1-1990 | |
* 2 POSIX.2-1992 | |
* 199309L POSIX.1b-1993 (Real Time) | |
* 199506L POSIX.1c-1995 (POSIX Threads) | |
* 200112L POSIX.1-2001 (Austin Group Revision) | |
* 200809L POSIX.1-2008 | |
*/ | |
# define _POSIX_C_SOURCE 200809L | |
#endif | |
#ifndef _XOPEN_SOURCE | |
/* Version of XPG that we want to support. | |
* Note that this interacts with _POSIX_C_SOURCE above. | |
* undef Not XPG (X Open Group). | |
* 1 XPG 3 or 4 or 4v2 (see below). | |
* 500 XPG 5 (POSIX.1c-1995). | |
* 600 XPG 6 (POSIX.1-2001). | |
* 700 XPG 7 (POSIX.1-2008). | |
*/ | |
# define _XOPEN_SOURCE 700 | |
# if defined(_XOPEN_SOURCE) && ((_XOPEN_SOURCE + 0) < 500) | |
/* Define to 4 for XPG 4. NB: Overrides _XOPEN_SOURCE_EXTENDED below. */ | |
/* # undef _XOPEN_VERSION */ | |
/* Define to 1 (and do NOT define _XOPEN_VERSION) for XPG 4v2. */ | |
/* # undef _XOPEN_SOURCE_EXTENDED */ | |
# endif | |
#endif | |
#ifndef _DARWIN_C_SOURCE | |
#define _DARWIN_C_SOURCE 1 | |
#endif | |
#ifndef _NETBSD_SOURCE | |
#define _NETBSD_SOURCE 1 | |
#endif | |
#ifndef __BSD_VISIBLE | |
#define __BSD_VISIBLE 1 | |
#endif | |
/* Enable extensions on AIX, Interix, z/OS. */ | |
#ifndef _ALL_SOURCE | |
# define _ALL_SOURCE 1 | |
#endif | |
/* Enable general extensions on macOS. */ | |
#ifndef _DARWIN_C_SOURCE | |
# define _DARWIN_C_SOURCE 1 | |
#endif | |
/* Enable general extensions on Solaris. */ | |
#ifndef __EXTENSIONS__ | |
# define __EXTENSIONS__ 1 | |
#endif | |
/* Enable GNU extensions on systems that have them. */ | |
#ifndef _GNU_SOURCE | |
# define _GNU_SOURCE 1 | |
#endif | |
/* Enable X/Open compliant socket functions that do not require linking | |
with -lxnet on HP-UX 11.11. */ | |
#ifndef _HPUX_ALT_XOPEN_SOCKET_API | |
# define _HPUX_ALT_XOPEN_SOCKET_API 1 | |
#endif | |
/* Identify the host operating system as Minix. | |
This macro does not affect the system headers' behavior. | |
A future release of Autoconf may stop defining this macro. */ | |
#ifndef _MINIX | |
/* # undef _MINIX */ | |
#endif | |
/* Enable general extensions on NetBSD. | |
Enable NetBSD compatibility extensions on Minix. */ | |
#ifndef _NETBSD_SOURCE | |
# define _NETBSD_SOURCE 1 | |
#endif | |
/* Enable OpenBSD compatibility extensions on NetBSD. | |
Oddly enough, this does nothing on OpenBSD. */ | |
#ifndef _OPENBSD_SOURCE | |
# define _OPENBSD_SOURCE 1 | |
#endif | |
/* Define to 1 if needed for POSIX-compatible behavior. */ | |
#ifndef _POSIX_SOURCE | |
/* # undef _POSIX_SOURCE */ | |
#endif | |
/* Define to 2 if needed for POSIX-compatible behavior. */ | |
#ifndef _POSIX_1_SOURCE | |
/* # undef _POSIX_1_SOURCE */ | |
#endif | |
/* Enable POSIX-compatible threading on Solaris. */ | |
#ifndef _POSIX_PTHREAD_SEMANTICS | |
# define _POSIX_PTHREAD_SEMANTICS 1 | |
#endif | |
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ | |
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ | |
# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | |
#endif | |
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ | |
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ | |
# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | |
#endif | |
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ | |
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ | |
# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | |
#endif | |
/* Enable extensions specified by C23 Annex F. */ | |
#ifndef __STDC_WANT_IEC_60559_EXT__ | |
# define __STDC_WANT_IEC_60559_EXT__ 1 | |
#endif | |
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ | |
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ | |
# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | |
#endif | |
/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ | |
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ | |
# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | |
#endif | |
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ | |
#ifndef __STDC_WANT_LIB_EXT2__ | |
# define __STDC_WANT_LIB_EXT2__ 1 | |
#endif | |
/* Enable extensions specified by ISO/IEC 24747:2009. */ | |
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ | |
# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | |
#endif | |
/* Enable extensions on HP NonStop. */ | |
#ifndef _TANDEM_SOURCE | |
# define _TANDEM_SOURCE 1 | |
#endif | |
/* Enable X/Open extensions. Define to 500 only if necessary | |
to make mbstate_t available. */ | |
#ifndef _XOPEN_SOURCE | |
# define _XOPEN_SOURCE 700 | |
#endif | |
/* Define if GMP_LIMB_BITS lies. */ | |
/* #undef PIKE_GMP_LIMB_BITS_INVALID */ | |
/* Define to the actual number of numb bits if known. */ | |
/* #undef PIKE_GMP_NUMB_BITS */ | |
/* Define if GMP 5.0 functions are supported. */ | |
#define HAVE_GMP5 1 | |
/* Define if GMP 6.0 functions are supported. */ | |
#define HAVE_GMP6 1 | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/Gmp/module.a -lgmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- Makefile -*- | |
# | |
# Start of make_variables.in | |
# | |
# Note: This template is actually used only for make_variables in the | |
# subdirectories; the one created in the build base dir is just an | |
# unwanted by-product. | |
# There's magic to propagate variables to subdir configure scripts and | |
# to retain those variables when a subdir is reconfigured | |
# individually: | |
# | |
# Lines beginning with "#propagated_variables:" list such variables. | |
# They are available both as make variables and in the configure | |
# script environment. The PIKE_RETAIN_VARIABLES macro (called through | |
# AC_MODULE_INIT) reads them from the propagated_variables file if it | |
# exists, and assigns them in the environment only if they don't have | |
# any value already. | |
# | |
# Note: The easiest way to force full repropagation is to rerun the | |
# core configure script (e.g. through "make force_configure" in the | |
# top directory). | |
CC=/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc | |
CXX=/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink g++ -std=gnu++11 | |
CPP=gcc -E | |
MOD_LDSHARED=gcc -g -O3 -pipe -Wimplicit-function-declaration -std=c99 -ggdb -m64 -mrdrnd -bundle -bind_at_load -undefined dynamic_lookup -nostartfiles | |
AR=/usr/bin/ar | |
INSTALL=/usr/local/bin/ginstall -c | |
BASE_CFLAGS= -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 | |
BASE_CPPFLAGS= -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include | |
CCSHARED=-fPIC | |
BASE_LDFLAGS=-L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib -framework Foundation -framework System -framework CoreServices -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3 -ldl -lutil -lnetwork -lm -lpoll -framework CoreServices | |
BASE_CXXFLAGS=-g -O2 -O3 -pipe -mrdrnd | |
OPTIMIZE= -mrdrnd -O3 -pipe | |
WARN= -W -Wall -Wno-unused -Wcomment -Wformat -Wformat-security -Wmultichar -Wunused-function -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts -Wno-long-long -Wno-unknown-attributes | |
PROFIL= | |
LDSHARED_MODULE_REQS= | |
TMP_BUILDDIR=/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64 | |
TMP_BINDIR=/Users/mikekilmer/pike/bin | |
PIKE_SRC_DIR=/Users/mikekilmer/pike/src | |
BUILD_BASE=/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64 | |
BUILD_PIKE=pike | |
POST_MODULE_BUILD_TYPE=dynamic | |
MT_FIX_MODULE_SO=@: | |
PKG_CONFIG_PATH=/usr/local/opt/ruby/lib/pkgconfig /usr/local/opt/icu4c/lib/pkgconfig /usr/local/opt/openssl@1.1/lib/pkgconfigi /usr/local/opt/postgresql@15/lib/pkgconfig | |
#propagated_variables: CC CXX CPP MOD_LDSHARED AR INSTALL | |
#propagated_variables: BASE_CFLAGS BASE_CPPFLAGS CCSHARED BASE_LDFLAGS | |
#propagated_variables: BASE_CXXFLAGS | |
#propagated_variables: OPTIMIZE WARN PROFIL | |
#propagated_variables: LDSHARED_MODULE_REQS | |
#propagated_variables: TMP_BUILDDIR TMP_BINDIR PIKE_SRC_DIR BUILD_BASE | |
#propagated_variables: BUILD_PIKE POST_MODULE_BUILD_TYPE | |
#propagated_variables: MT_FIX_MODULE_SO PKG_CONFIG_PATH | |
prefix=/usr/local | |
exec_prefix=$(prefix)/bin | |
TMP_LIBDIR=$(TMP_BUILDDIR)/lib | |
SRCDIR=/Users/mikekilmer/pike/src/modules/Gmp | |
ACCONFIG_H=$(SRCDIR)/acconfig.h | |
CONFIG_HEADERS_IN= $(SRCDIR)/gmp_machine.h.in | |
CONFIG_HEADERS=gmp_machine.h | |
DEFAULT_RUNPIKE=$(TMP_BUILDDIR)/$(BUILD_PIKE) -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS) | |
FINAL_PIKE=$(TMP_BUILDDIR)/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS) | |
USE_PIKE=pike $(PIKEOPTS) | |
RUNPIKE=$(DEFAULT_RUNPIKE) | |
DEFINES= -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include -DHAVE_CONFIG_H | |
OTHERFLAGS=$(OSFLAGS) $(OPTIMIZE) $(WARN) $(PROFIL) | |
NOOPTFLAGS=$(OSFLAGS) $(WARN) $(PROFIL) | |
PMOD_TARGETS=$(SRCDIR)/mpf.c $(SRCDIR)/mpq.c | |
make_variables_in=/Users/mikekilmer/pike/src/make_variables.in | |
MODULE_PMOD_IN= | |
MODULE_WRAPPER_PREFIX= | |
MODNAME=Gmp | |
MODPATH= | |
MODDIR= | |
LIBGCC= | |
# End of make_variables.in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC=/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink gcc | |
CXX=/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/smartlink g++ -std=gnu++11 | |
CPP=gcc -E | |
MOD_LDSHARED=gcc -g -O3 -pipe -Wimplicit-function-declaration -std=c99 -ggdb -m64 -mrdrnd -bundle -bind_at_load -undefined dynamic_lookup -nostartfiles | |
AR=/usr/bin/ar | |
INSTALL=/usr/local/bin/ginstall -c | |
BASE_CFLAGS= -g -Wimplicit-function-declaration -std=c99 -ggdb -m64 | |
BASE_CPPFLAGS= -I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include | |
CCSHARED=-fPIC | |
BASE_LDFLAGS=-L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib -framework Foundation -framework System -framework CoreServices -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3 -ldl -lutil -lnetwork -lm -lpoll -framework CoreServices | |
BASE_CXXFLAGS=-g -O2 -O3 -pipe -mrdrnd | |
OPTIMIZE= -mrdrnd -O3 -pipe | |
WARN= -W -Wall -Wno-unused -Wcomment -Wformat -Wformat-security -Wmultichar -Wunused-function -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts -Wno-long-long -Wno-unknown-attributes | |
PROFIL= | |
LDSHARED_MODULE_REQS= | |
TMP_BUILDDIR=/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64 | |
TMP_BINDIR=/Users/mikekilmer/pike/bin | |
PIKE_SRC_DIR=/Users/mikekilmer/pike/src | |
BUILD_BASE=/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64 | |
BUILD_PIKE=pike | |
POST_MODULE_BUILD_TYPE=dynamic | |
MT_FIX_MODULE_SO=@: | |
PKG_CONFIG_PATH=/usr/local/opt/ruby/lib/pkgconfig /usr/local/opt/icu4c/lib/pkgconfig /usr/local/opt/openssl@1.1/lib/pkgconfigi /usr/local/opt/postgresql@15/lib/pkgconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/Gmp/module.a -lgmp | |
-L/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/lib/. -R/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/lib/. -L/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/lib/ -R/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/lib/ -L/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/lib//server -R/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/lib//server | |
/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/_Debug/module.a | |
modules/_Image_TIFF/dummy.o | |
/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/_Stdio/module.a | |
/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/_math/module.a | |
/Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/system/module.a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment