1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-20 01:16:36 +02:00

Added autotools based build scripts

Limitations:

currently the tox core library does not ship proper public headers,
so we'll have to tell the configure script where the headers are (i.e.
directory in the ProjectTox-Core source tree.

Since these headers are not really public, they include sodium.h, so
right now the toxic configure script will check for sodium.h as well.

We also need to look for the libsodium library for linking vs Tox core.
This commit is contained in:
Sergey 'Jin' Bostandzhyan
2013-08-23 01:18:53 +03:00
parent 95312642f4
commit c157837f97
21 changed files with 1610 additions and 19 deletions

View File

@ -9,10 +9,10 @@
#include <time.h>
#include <limits.h>
#include "../../core/Messenger.h"
#include "../../core/network.h"
#include "Messenger.h"
#include "network.h"
#include "windows.h"
#include "toxic_windows.h"
#include "friendlist.h"
#include "chat.h"

View File

@ -1,7 +1,7 @@
#include "dhtstatus.h"
#include "string.h"
#include "../../core/network.h"
#include "../../core/DHT.h"
#include "network.h"
#include "DHT.h"
typedef uint8_t ipbuf[3 * 4 + 3 + 1];
static int num_selected = 0;

View File

@ -1,7 +1,7 @@
#ifndef _dhtstatus_h
#define _dhtstatus_h
#include "windows.h"
#include "toxic_windows.h"
ToxWindow new_dhtstatus();

View File

@ -6,10 +6,9 @@
#include <stdint.h>
#include <ctype.h>
#include "../../core/Messenger.h"
#include "../../core/network.h"
#include "Messenger.h"
#include "network.h"
#include "windows.h"
#include "friendlist.h"

View File

@ -1,7 +1,7 @@
#ifndef FRIENDLIST_H_53I41IM
#define FRIENDLIST_H_53I41IM
#include "windows.h"
#include "toxic_windows.h"
#include "chat.h"
ToxWindow new_friendlist();

View File

@ -19,11 +19,11 @@
#include <sys/types.h>
#endif
#include "../../core/Messenger.h"
#include "../../core/network.h"
#include "Messenger.h"
#include "network.h"
#include "configdir.h"
#include "windows.h"
#include "toxic_windows.h"
#include "prompt.h"
#include "friendlist.h"

View File

@ -6,10 +6,9 @@
#include <string.h>
#include <ctype.h>
#include "../../core/Messenger.h"
#include "../../core/network.h"
#include "Messenger.h"
#include "network.h"
#include "windows.h"
#include "prompt.h"
extern char *DATA_FILE;

View File

@ -1,7 +1,7 @@
#ifndef PROMPT_H_UZYGWFFL
#define PROMPT_H_UZYGWFFL
#include "windows.h"
#include "toxic_windows.h"
ToxWindow new_prompt();
int add_req(uint8_t *public_key);

View File

@ -10,7 +10,7 @@
#include <stdbool.h>
#include <wctype.h>
#include <wchar.h>
#include "../../core/Messenger.h"
#include "Messenger.h"
#define MAX_WINDOWS_NUM 32
#define MAX_FRIENDS_NUM 100
#define MAX_STR_SIZE 256

View File

@ -1,7 +1,7 @@
#include "friendlist.h"
#include "prompt.h"
#include "dhtstatus.h"
#include "windows.h"
#include "toxic_windows.h"
extern char *DATA_FILE;
extern int store_data(Messenger *m, char *path);