summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2014-05-19configure.ac: Don't check for clock_gettime on OS Xstal
We don't need it anymore. jin-eld pls do not kill
2014-05-10Fixed build by adding librt to build system.irungentoo
2014-05-03Bunch of random changesmannol
2014-04-27Yeah many callsmannol
2014-04-09whitespace fix & proper use of "i.e.,"Carlos E. Garcia
2014-04-08Add /usr/local/{include,lib} to search paths on OpenBSDDmitrij D. Czarkoff
2014-03-23Fix NaCl builds for *BSDJin^eLD
From what I see there is a difference between *BSD and Linux when linking vs. toxcore which has been bulit vs. the NaCl library: on Linux it only links if NaCl's object files (i.e. randombytes.o) is present in the linker options, however on *BSD systems this will cause a linking error, see: https://github.com/Tox/toxic/issues/31#issuecomment-38224441 This commit makes sure that we do not add the NaCl object files to our pkg-config settings on *BSD, but do add them on Linux.
2014-03-23Fix shared/static settings when building vs. NaCl libraryJin^eLD
Make sure the shared lib build is really disabled when compiling vs. NaCl: moved settings before libtool initialization fixed parameter name
2014-03-18Fix regression that disabled shared library buildsJin^eLD
My previous attempt that was supposed to disable shared library builds with nacl had a side effect which basically disabled shared libs for all configurations. Eventhough AC_DISABLE_SHARED was used inside an if clause it seemed to take over in any case. I could not find a clean way around this, so had to override internal libtool variables. Will check with the libtool people regarding a cleaner implementation.
2014-03-18Disabled shared lib when building vs. nacl libraryJin^eLD
2014-03-07Fixed several bugs and added some featuresmannol
2014-03-05Fix libtoxav link error.AZ Huang
2014-02-25Allow to optionally use randombytes_stir() instead of sodium_init()Jin^eLD
According to sonOfRa sodium_init() has some timing issues on Android. libsodium people said randombytes_stir() can be used instead: https://github.com/jedisct1/libsodium/issues/121 sodium_init() stays the default, randombytes_stir() can be enabled by passing --enable-randombytes-stir to the configure script.
2014-02-23pkg-config and avmannol
2014-02-18Ughmannol
2014-02-16Moved event to toxavmannol
2014-02-16Public header ready to gomannol
2014-02-01Added fixes to rtp and updated phonemannol
2013-10-16Do not build tox_sync on win32Jin^eLD
2013-10-13tox A/V: integration of A/V code into toxmannol
Also-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
2013-10-07Some configuration/build fixes, so building basicaly everything else than ↵BtbN
the library can be disabled
2013-09-06Allow to build vs nacl instead of libsodiumJin^eLD
By default libsodium is used. Only if --enable-nacl is specified, then nacl will be used instead of libsodium. Pass locations of nacl headers and libraries by using the following options: --with-nacl-headers=/home/me/somewhere/nacl-20110221/build/469/include/amd64/ --with-nacl-libs=/home/me/somewhere/nacl-20110221/build/469/lib/amd64/
2013-09-01Forward compatibility with automake 1.14jin-eld
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-08-29Merge branch 'master' of https://github.com/JamoBox/ProjectTox-Core into ↵irungentoo
JamoBox-master Conflicts: toxcore/LAN_discovery.h
2013-08-29Correct a lot of the grammar and spelling. Also spent a few hours fixing the ↵pete
comments so they follow a standard.
2013-08-27Make nTox work on MinGW/Win32jin-eld
2013-08-26Move extra libtool options into configurejin-eld
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.
2013-08-26Fix trailing whitespacejin-eld
2013-08-26Add /usr/local/* to search paths on FreeBSDjin-eld
Seems that on FreeBSD those directories are not in the default search paths, so we'll have to add them manually.
2013-08-26Also generate a .dll in MinGW buildsjin-eld
Previously only static a static library was produced on MinGW builds, this PR makes sure that we also build a proper .dll
2013-08-24fixed typosJamoBox
fixed a couple of typos in the output messages
2013-08-24Fix typo in configure script help textjin-eld
It's "bootstrap", not "boostrap" :P
2013-08-24Implemented autotools based build scriptsjin-eld
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