Guus Sliepen
5c5548fc71
Better integration of libevent in build system.
...
Since event.h is not part of tinc, we include it in have.h were all other
system header files are included. We also ensure -levent comes before -lgdi32
when compiling with MinGW, apparently it doesn't work when the order is
reversed.
2009-11-07 14:35:48 +01:00
Guus Sliepen
f1fec466e2
Add a better autoconf check for libevent.
2009-09-16 23:43:19 +02:00
Guus Sliepen
0322c0883b
Remove the test for linux/if_tun.h.
...
It has been available for years on any decent Linux distribution.
Although linux/if_tun.h is now required to compile tinc,
you can still run it on systems which only support Ethertap.
2006-12-16 16:40:09 +00:00
Guus Sliepen
5219ee25a2
Use standard autoconf macros instead of our own.
2006-12-16 16:26:57 +00:00
Guus Sliepen
031e09f865
Remove unnecessary stuff from configure.in.
2006-12-15 20:43:39 +00:00
Guus Sliepen
47d916ec5e
Search for lzo/lzo1x.h, lzo2/lzo1x.h and lzo1x.h.
2006-11-29 17:18:39 +00:00
Guus Sliepen
bdb3c24cea
Support and autodetect LZO version 2.0 and later.
2006-11-11 20:06:14 +00:00
Guus Sliepen
0912260755
Enable OpenSSL ENGINE, so crypto hardware gets used. Thanks to Andreas van Cranenburgh.
2005-11-16 10:45:11 +00:00
Guus Sliepen
4350704d65
Remove CVS related cruft.
2004-03-15 17:54:19 +00:00
Guus Sliepen
fcd836c609
Remove autogen.sh, the autoreconf program does exactly that.
...
Update everything for the latest autoconf and automake versions.
2004-01-10 23:21:36 +00:00
Guus Sliepen
e898b930dc
Use CPPFLAGS, LDFLAGS and LIBS as appropiate.
2003-10-06 16:05:30 +00:00
Guus Sliepen
da3078c63a
Check if the compiler knows about the __malloc__ attribute.
2003-07-31 11:17:39 +00:00
Guus Sliepen
4370b98bb1
Update configure scripts.
2003-07-29 11:50:39 +00:00
Guus Sliepen
81f5713ab7
- simplify configure.in
...
- drop support for OpenSSL < 0.9.7
- add some missing definitions/includes
2003-07-06 17:15:25 +00:00
Guus Sliepen
4b0e5a03fe
Fix warning and add missing checks for LZO library.
2003-06-07 13:18:32 +00:00
Guus Sliepen
1783a3aaa9
Various fixes for autoconf and OpenSSL 0.9.7 and a missing header.
2003-01-17 00:43:58 +00:00
Guus Sliepen
912e7e968f
Gettext 1.11.5 compatibility.
2002-08-24 12:11:40 +00:00
Guus Sliepen
8988b127e1
Autoconf cleanup. Works for both 2.13 and 2.53, although running autoconf
...
2.53 still gives some errors.
2002-06-11 11:03:17 +00:00
Guus Sliepen
3d8a373bb3
Make configure --help output look nicer.
2002-03-27 19:43:50 +00:00
Guus Sliepen
d9a62c6354
Added support for packet compression, thanks to Mark Glines.
...
Add "Compression = <level>" to the host config files, where level can be
0 (off), or any integer between 1 (fast) and 9 (best).
2002-02-11 15:59:18 +00:00
Guus Sliepen
f0aa9641e8
Merging of the entire pre5 branch.
2002-02-10 21:57:54 +00:00
Guus Sliepen
b3074590b1
Correct inclusion of standard if_tun.h header file.
2001-07-15 14:21:12 +00:00
Guus Sliepen
1e2bdc2b6d
- Always use <openssl/include.h> instead of just <include.h>
...
- Check if RAND_pseudo_bytes() exists, otherwise just use RAND_bytes()
2001-07-04 08:41:36 +00:00
Guus Sliepen
9391efe4e8
Check for dlopen in standard libraries first (needed for DEC OSF).
2001-06-29 14:15:46 +00:00
Ivo Timmermans
3503ba9950
Small fix to make it compile again
2001-06-26 22:00:57 +00:00
Guus Sliepen
7fc068fe54
Reinstated search for if_tun.h in kernel source tree, because apparently
...
/usr/include/linux does not always have the same contents as the include
files from the currently running kernel.
2001-06-21 18:28:52 +00:00
Guus Sliepen
b1e97ece9c
Check for and add -ldl.
2001-06-21 16:37:05 +00:00
Guus Sliepen
c5c02a0861
Changed drastically because it didn't work correctly:
...
- Don't cache the --with-openssl-* option arguments
- Only search for openssl/*.h, the openssl include files include other
files only from an openssl/ directory too
- Set CPPFLAGS before AC_CHECK_HEADERS
2001-06-07 07:51:04 +00:00
Ivo Timmermans
11f8465dd9
tinc_TUNTAP now substitutes the values outside the AC_CACHE_CHECK
...
block. configure should now correctly set HAVE_TUNTAP.
2001-02-18 02:13:26 +00:00
Guus Sliepen
ef0fc4f687
Added .cvsignore files to get rid of warnings and prevent autogenerated
...
files from being added accidentaly.
2001-02-11 11:44:32 +00:00
Guus Sliepen
e1707f7739
- Don't even think about using sscanf with %as anymore
...
- Allow keys to be inside the config files or in a seperate file
- Small fixes
2000-12-22 21:34:24 +00:00
Ivo Timmermans
9175d20483
Added a check for a scanf that knows about %as.
2000-11-29 01:37:50 +00:00
Ivo Timmermans
3ff76eb10a
Save RSA public and private keys to a separate file, instead of
...
wanting to copy them into a configuration file.
2000-11-28 23:12:57 +00:00
Ivo Timmermans
ef88db6312
Alter CFLAGS, somehow INCLUDES doesn't propagate properly. Still
...
doesn't work exactly like it should, but getting there.
2000-11-24 14:12:31 +00:00
Ivo Timmermans
6fb4a5b6be
Also check for sha.h.
2000-11-15 01:02:30 +00:00
Ivo Timmermans
8eb60d0ccd
Also check for rand.h and err.h. If any of these files does not
...
exist, try the next alternative path.
2000-11-15 00:57:26 +00:00
Ivo Timmermans
c5c8e99afd
Get rid of the annoying empty line
2000-11-14 23:18:19 +00:00
Ivo Timmermans
c467ee02d3
Oops, small error.
2000-11-14 23:02:08 +00:00
Ivo Timmermans
9ddb37cee0
Better checks for OpenSSL. I think it can now detect almost all conceivable installations.
2000-11-14 22:57:19 +00:00
Ivo Timmermans
5344832be1
Add a check for openssl that accepts explicit file locations.
2000-11-13 22:01:27 +00:00
Ivo Timmermans
ba6b8005eb
Skip the check for Linux kernel sources
2000-10-28 19:34:53 +00:00
Ivo Timmermans
782171fd2c
Really #include the if_tun.h files now
2000-10-15 20:21:27 +00:00
Ivo Timmermans
8a54c51238
Linearized checks for if_tun.h
2000-10-15 20:13:55 +00:00
Ivo Timmermans
3b455b8f31
Add checks for the presence of the universal tun/tap device driver.
2000-10-15 17:26:31 +00:00
Ivo Timmermans
94921d6e57
Generate this Makefile.am from Makefile.am.in.
2000-04-25 10:22:26 +00:00
Ivo Timmermans
ce98ee1ed4
Remove test for GNOME.
2000-04-25 01:26:35 +00:00
Ivo Timmermans
f010158995
The shell script autogen.sh can create all these removed files, but be
...
sure to have autoconf, automake, libtool and more installed.
2000-04-25 00:50:48 +00:00
Ivo Timmermans
1243156a5e
Initial revision
2000-03-26 00:33:07 +00:00