Commit Graph

16 Commits

Author SHA1 Message Date
Maxim Biro
e16cf49b21
fix broken and unmaintained autotools build 2018-04-18 00:13:15 +02:00
Sergey 'Jin' Bostandzhyan
3f24f04876 Setup autotools to read .so version info from a separate file
We want to use the same libtool style .so versions in both build systems,
ideally both systems should read the version information from the same
configuration file.

This commit introduces an so.version configuration file and sets up
the autotools to use it.

The version numbers in so.version define the ABI compatibility and should be
updated prior to each release.

implements #323
2017-01-18 11:20:07 +01:00
irungentoo
361d6cc078
Fixed make dist. 2015-06-24 21:03:16 -04:00
urras
e1a419aafc
Fix make dist, broken in 422e744 2015-05-23 14:51:11 -04:00
Jin^eLD
379522c93e Add spec file for rpm generation
The spec file gets processed by configure, the version will be filled
in automatically.

To generate an rpm make sure to install rpm-build, then "configure" as you
would usually do, run "make dist", then process the generated tarball
with rpmbuild:

rpmbuild -tb tox-0.0.0.tar.gz

Tested on Fedora 22.
2015-03-04 00:35:25 +01:00
Jin^eLD
b0ffef23a6 Add README.md to the dist tarball 2015-03-03 23:11:10 +01:00
Carlos E. Garcia
49e160450c whitespace fix & proper use of "i.e.," 2014-04-09 18:49:15 -04:00
Sergey Shatunov
e8b6e4a4d3 Main buildscripts for android 2014-02-26 17:24:30 +08:00
mannol
4888d916d0 pkg-config and av 2014-02-23 23:13:38 +01:00
mannol
5bc2560904 tox A/V: integration of A/V code into tox
Also-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
2013-10-13 16:40:15 +02:00
jin-eld
7d29bd23b9 Forward compatibility with automake 1.14
This update makes sure that the build still works with automake prior to
1.12 and at the same time does not give any warnings or errors with
automake 1.14
2013-09-01 20:39:02 +03:00
irungentoo
e57695f8f5 Fixed build. 2013-08-31 12:08:54 -04:00
jin-eld
f792b1be1f 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.
2013-08-26 23:29:47 +03:00
jin-eld
9bec6f0183 This fixes out of tree builds
Should be references from top_builddir
2013-08-24 16:20:48 +03:00
jin-eld
1ec70337cf Remove cmake build system 2013-08-24 03:36:43 +03:00
jin-eld
50c8a820e5 Implemented autotools based build scripts
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
2013-08-24 03:25:07 +03:00