Commit graph

50 commits

Author SHA1 Message Date
Guus Sliepen
5ad43673ac Add -I m4 back to ACLOCAL_AMFLAGS.
In commit b7b5d51, AC_CONFIG_MACRO_DIRS([m4]) was added to configure.ac,
which is the current proper way of including the m4 directory. However,
old versions of autoconf ignore it and need the -I m4 statement in
Makefile.am. Both the old and new way of indicating that the m4/
directory should be included can coexist.
2015-09-24 17:10:25 +02:00
Guus Sliepen
b7b5d51613 Use AC_CONFIG_MACRO_DIRS([m4]). 2015-07-12 13:05:51 +02:00
Etienne Dechamps
13f9bc1ff1 Add support for out-of-tree ("VPATH") builds.
This fixes some issues with the build system when building out of tree.

With this commit, it is now possible to do the following:

    $ cd /tmp/build
    $ /path/to/tinc/configure
    $ make
2015-05-09 16:41:48 +01:00
Etienne Dechamps
462e9892ae Remove explicit distribution rules for m4 scripts.
It turns out Automake is smart enough to include these files in the
distribution by itself.
2015-05-09 16:17:39 +01:00
Etienne Dechamps
b109e8b164 Use git describe to populate autoconf's VERSION.
This uses the output of "git describe" directly in configure.ac to
determine the version number to use, instead of hardcoding it.

With this change, current version information is completely removed
from the codebase itself, and is always fetched on-the-fly from git as
the single source of truth.

In order to ensure make dist always uses the current version number in
the contents of the packaged configure script as well as the package
name, a dependency is added to the dist target such that autoconf is
always run before dist to regenerate the version number. If this wasn't
the case, make dist would use the version number from when autoconf was
originally run, not the version number that make dist is running from.
That said, errors from that rule are ignored so that people can still
run make dist without a working autoconf.

In addition, the NEWS check is dropped, as it would then become annoying
because it would force make dist users to always have a line for the
current commit in the NEWS file.
2015-05-09 12:14:31 +01:00
Guus Sliepen
05a7f0b2fb Start of a test suite. 2013-09-01 12:48:31 +02:00
Guus Sliepen
9b9230a0a7 Use conditional compilation for cryptographic functions.
This gets rid of the rest of the symbolic links. However, as a consequence, the
crypto header files have now moved to src/, and can no longer contain
library-specific declarations. Therefore, cipher_t, digest_t, ecdh_t, ecdsa_t
and rsa_t are now all opaque types, and only pointers to those types can be
used.
2013-05-01 17:17:22 +02:00
Guus Sliepen
3793cf10da Include README.android in the tarballs. 2013-03-08 14:12:48 +01:00
Guus Sliepen
47393b5de4 Add Makefile.am in gui/.
This ensures the gui source will be included in the tarball with make dist,
and will be installed with make install.
2011-06-25 00:35:58 +02:00
Guus Sliepen
8b70c5be9b Remove obsolete lib/ directory. 2010-04-30 23:18:22 +02:00
Guus Sliepen
10d609b1f0 Start of a GUI for tinc. 2009-12-16 21:18:21 +01:00
Guus Sliepen
3282375f4d Remove autogenerated files from EXTRA_DIST.
Apparently they were once necessary, but autoconf now includes them
automatically.  Some of them are not used anymore, and this caused make dist to
fail.
2009-09-29 16:25:20 +02:00
Guus Sliepen
4c85542894 Drop support for localisation.
Localised messages don't make much sense for a daemon, and there is only the
Dutch translation which costs time to maintain.
2009-09-25 00:54:07 +02:00
Guus Sliepen
f81cea3bdc Update documentation for git. 2008-12-27 11:09:43 +01:00
Guus Sliepen
dced64c5c3 Check for sys/uio.h, net/if_tun.h and net/if_tap.h 2004-11-01 17:04:28 +00:00
Guus Sliepen
27c304940a Use Subversion to create ChangeLog, better svn-clean rule. 2004-03-20 15:40:26 +00:00
Guus Sliepen
8c189c2a9b Even better svn-clean command. 2004-03-15 19:09:52 +00:00
Guus Sliepen
538595f735 Replace cvs-clean with a much better svn-clean. 2004-03-15 17:53:17 +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
912e7e968f Gettext 1.11.5 compatibility. 2002-08-24 12:11:40 +00:00
Guus Sliepen
630dd023b9 Automake forgets about depcomp, remind it. 2002-04-08 13:27:09 +00:00
Guus Sliepen
3cbe67a8de Small fixes to improve portability. 2002-03-10 15:40:27 +00:00
Guus Sliepen
f0aa9641e8 Merging of the entire pre5 branch. 2002-02-10 21:57:54 +00:00
Guus Sliepen
748dabdbe9 Update of RedHat build scripts. 2001-06-29 15:33:18 +00:00
Guus Sliepen
0d3bd912ac Also remove po/Makefile.in.in, which is generated by autogen.sh. 2001-06-29 11:09:13 +00:00
Guus Sliepen
77f635e871 ABOUT-NLS is created by autogen.sh. 2001-06-29 10:27:33 +00:00
Ivo Timmermans
353a9230bb Don't include the debian/ dir in a release 2001-06-20 21:32:40 +00:00
Guus Sliepen
92924e8482 Changed some stuff to allow correct generation of po/Makefile after a
make cvs-clean.
2001-06-05 16:13:41 +00:00
Ivo Timmermans
4e959ee405 Don't distribute autogen.sh in a release 2001-05-26 09:35:28 +00:00
Ivo Timmermans
20c2b62b18 New make target: `make release' 2001-05-26 09:34:11 +00:00
Guus Sliepen
603781831f - Updated CVS_CREATED to remove intl/ directory and some other
autogenerated files.
- Checked if all INCLUDES/LIBS/etc directives inherit the global variables.
2001-02-11 11:50:09 +00:00
Ivo Timmermans
37544990e9 Include autogen.sh (needed for the Debian package). 2000-12-22 16:59:16 +00:00
Ivo Timmermans
e985f6d3cd Include COPYING.README in the distribution. 2000-12-01 13:46:26 +00:00
Ivo Timmermans
eb36b0c1ef Use cvs2cl instead of rcs2log to generate the ChangeLog. 2000-11-24 14:00:32 +00:00
Ivo Timmermans
31aa429846 Do not attempt to retreive ChangeLog information only from the CABAL
tag, it doesn't work anyway.
2000-11-24 13:33:48 +00:00
Ivo Timmermans
84c842def7 Change wsl to Wessel's name and email address in the ChangeLog creation 2000-11-02 21:41:53 +00:00
Guus Sliepen
950fb8e916 Big and bad commit of my current tree...
- Added seperate file for connection list handling
- Updating everything to use connlist, meta and subnet files
- Removed dependency on libgmp
- Lots of other stuff...
2000-10-11 10:35:17 +00:00
Ivo Timmermans
66e535a729 Changed CVSROOT path in `make ChangeLog' 2000-08-27 11:05:47 +00:00
Ivo Timmermans
47992fe59f Added a rule to create an rpm 2000-08-21 20:35:47 +00:00
Ivo Timmermans
b200b0d812 Include system.h and ABOUT-NLS. 2000-05-29 21:36:28 +00:00
Ivo Timmermans
b9ea0633c7 Include intl/ directory in the list of subdirs. 2000-05-29 21:04:55 +00:00
Ivo Timmermans
9fd02ffcb0 Internationalization of tinc. 2000-05-29 21:01:26 +00:00
Ivo Timmermans
d3e8e8ca54 Added `deb' target. 2000-04-29 20:38:23 +00:00
Ivo Timmermans
a3ccc15ac0 Version to 1.0pre1;
Create Makefile and build in debian/.
2000-04-26 23:56:22 +00:00
Ivo Timmermans
b6bdb9079a Remove ChangeLog with a `make cvs-clean'. 2000-04-25 17:38:54 +00:00
Ivo Timmermans
ca373c6194 Don't include TODO in the dist. 2000-04-25 17:35:45 +00:00
Ivo Timmermans
8a90de94a1 Delete all the files that are created by autogen.sh on a `make cvs-clean'. 2000-04-25 15:07:21 +00:00
Ivo Timmermans
1074917912 Added cvs-clean. 2000-04-20 22:50:48 +00:00
Ivo Timmermans
57d8c30e4c Include the directory redhat in the build process. 2000-04-18 20:26:49 +00:00
Ivo Timmermans
1243156a5e Initial revision 2000-03-26 00:33:07 +00:00