Age | Commit message (Collapse) | Author |
|
Tune automake options to avoid problems with newer versions
|
|
Automake >1.14 complains if makefiles are used in subdirs but
the subdir-objects option is not set.
|
|
Move libtool options to configure script in order to allow per system settings
|
|
This should allow to keep the libtool options all in one place and at
the same time define different options depending on the host.
Made sure that -no-undefined is set only on Win32. Although no side
effects on Linux and OSX have been observed so far, it's probably better
to play it safe; it does not seem to be needed/does not seem to matter on *nix,
only required for Win32.
|
|
|
|
Add /usr/local/* to search paths on FreeBSD
|
|
Seems that on FreeBSD those directories are not in the default search
paths, so we'll have to add them manually.
|
|
Also generate a .dll in MinGW builds
|
|
Previously only static a static library was produced on MinGW builds,
this PR makes sure that we also build a proper .dll
|
|
Fixed display issue with INSTALL.md
|
|
|
|
Style change
|
|
Fixed semantics of tox_array so it will be more more memory efficient.
|
|
Updated INSTALL.md to list clients, improved options
|
|
fixed typos
|
|
fixed grammar to maintain consistency of output
|
|
fixed a couple of typos in the output messages
|
|
|
|
|
|
|
|
|
|
Fix typo in configure script help text
|
|
It's "bootstrap", not "boostrap" :P
|
|
This fixes out of tree builds
|
|
Should be references from top_builddir
|
|
Updated the INSTALL.md to reflect the new build system
|
|
|
|
Let clients include <tox/tox.h>
|
|
...otherwise it's more difficult for them to find the header when
pkg-config is not available.
|
|
autotools build scripts - improved PR version 2
|
|
|
|
|
|
supported options:
--with-dependency-search=DIR will tell configure to look for various
dependencies in DIR/include and DIR/lib
Alternatively you can also specify libsodium header and libs location
with --with-libsodium-headers and --with-libsodium-libs if it is
installed elsewhere.
Ncurses and libconfig are handled via the default pkg-config way, see
./configure --help=short for detailed information.
The tox library is compiled as libtoxcore in shared and static variants,
public headers are installed to ${prefix}/include/tox
A pkg-config libtoxcore.pc configuration file is provided.
Use ./configure --help for a full list of configure options or
./configure --help=short for the options that I added.
To generate the configure script after pulling from git use:
autoreconf -i
To generate a release tarball use:
make dist
Unit tests are handled by the libcheck library integration that is provided
by autotools, use:
make check
to compile and run the tests.
Unit tests are currently optional, i.e. - if the check library is not
found on the system, then tests will be disabled. Same goes for nTox and
DHT bootstrap daemon - they will be enabled or disabled depending on the
availability of ncurses (for nTox) or libconfig (for DHT bootstrap
daemon).
The above can be also tuned by:
--enable-tests / --disable-tests
--enable-ntox / --disable-ntox
--enable-dht-bootstrap-daemon / --disable-dht-bootstrap-daemon
|
|
While doing the checks configure might generate "core" files and will
then try to remove them. Having a "core" directory generates an error
while runing the configure script.
There's no workaround but to rename the core directory.
|
|
Add pkg-config file
|
|
Generate and install a toxcore.pc file to be used with pkg-config.
|
|
New, cleaner public API added. see: core/tox.h
This does not break anything because the old API is still there.
You are however encouraged to switch to the new API.
|
|
|
|
Add entry to allow make install. Always build static and shared libraries
|
|
Always compile static and shared library, SHARED_TOXCORE is
depreciated, "make install" places files on default prefix.
|
|
|
|
|
|
|
|
Some stuff needs to be cleaned a bit though.
|
|
|
|
|
|
Removed nTox_win32
|
|
|
|
|
|
Remove toxic from core repository (moved to https://github.com/Tox/toxic)
|