Commit Graph

265 Commits

Author SHA1 Message Date
Benjamin Dauvergne 86aa6a602f configure.ac: disable java bindings 2021-02-23 21:10:11 +01:00
Benjamin Dauvergne 15b8cd7ab1 configure.ac: support php7 interpreter on CentOS 8 (#42299) 2020-08-11 15:37:54 +02:00
Benjamin Dauvergne 4bae1c8b7c Release 2.6.1 2020-04-22 15:04:46 +02:00
Tomohiro "Tomo-p" KATO 9c8c4b9937 Add PHP 7 binding (#28608)
License: MIT
2019-09-09 15:10:06 +02:00
Benjamin Dauvergne caecf46be4 Improve configure compatibility (#32425) 2019-09-06 14:43:31 +02:00
Benjamin Dauvergne 50b5cdac87 Remove -Werror from --enable-debugging (fixes #24771)
GCC 8 has better warnings and it breaks the build on platform already
using it and wanting debugging symbols.
2018-07-24 16:29:26 +02:00
Benjamin Dauvergne 62d2f4bff7 Move AC_SUBST declaration for AM_CFLAGS with alike (#24771)
Just to reorder things properly in configure.ac.
2018-07-24 12:39:19 +02:00
John Dennis 28d3705d5a Configure should search for versioned Python interpreter.
Following the guidelines in Python PEP 394 with regards to the python
command on UNIX like systems preference should be given to explicitly
versioned command interpreter as opposed to unversioned and that an
unversioned python command should (but might not) refer to
Python2. Also in some environments unversioned Python interpreters
(e.g. /usr/bin/python) do not even exist, onlyh their explicitly
versioned variants are (e.g. /usr/bin/python2 and /usr/bin/python3).

Therefore the AC_CHECK_PROGS directive in configure.ac should not rely
exclusively on an unversioned Python interpreter as it does not,
rather it should search in priority order. First for python3, then for
an unversionsed python because some distributions have already moved
the default unversioned python to python3, and then finally search for
python2. In the scenario where unversioned python is still pointing to
python2 it's equivalent to selecting the last prority option of
python2, but if unversioned python is pointing to python3 you get
instead. The net result is always preferring python3 but gracefully
falling back to python2 not matter how the environment exports it's
Python.

If AC_CHECK_PROGS for python does not check for the versioned variants
the build fails in environments that only have versioned variants with
this error:

configure: error: Python must be installed to compile lasso

License: MIT
Signed-off-by: John Dennis <jdennis@redhat.com>
2018-07-24 11:03:09 +02:00
Benjamin Dauvergne 796a5cb60c Release 2.6.0 2018-05-30 17:06:47 +02:00
Benjamin Dauvergne 3fb0d62767 java: stop setting a bytecode version target 2018-04-06 17:23:14 +02:00
John Dennis ed74f24155 enable user supplied CFLAGS
CFLAGS is initialized to the empty string in configure.ac, this
effectively turned off user supplied values for CFLAGS preventing site
specific values from being used. A further complicating factor was of
all the user supplied values documented in Automake only CFLAGS was
disabled allowing all other user supplied variables to take
effect. Some variables must be coordinated (e.g. CFLAGS with LDFLAGS),
the fact LDFLAGS was picked up from the environment but CFLAGS was
discarded caused build failures due to incompatible combination of
compiler and linker options.

The problem was first introduced in commit: 73d9c98f "Reset CFLAGS
when --enable-debugging is used". This patch simply removes hardcoding
CFLAGS to the empty string and appends the debug options
(--enable-debugging) to the existing CFLAGS.

Proper use of the variables is described in the Automake documentation
in the section "Flag Variables Ordering"
https://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html

Although the Automake documentation claims manipulating CFLAGS
directly is improper use there are many examples of this in the
existing configure.ac, this patch makes no attempt at addressing this
issue, rather it makes existing usage consistent. In the particular
case of debug flags appending to CFLAGS is probably the only valid
solution because the debug flags must appear at the end of the list of
flags in order to override earlier flags, CFLAGS always appears last
in the Makefile (see above Automake doc).

Signed-off-by: John Dennis <jdennis@redhat.com>
License: MIT
2016-06-15 22:41:00 +02:00
Benjamin Dauvergne c62ad0047e Release 2.5.1 2016-02-18 23:59:01 +01:00
Frédéric Péters e0afa0b995 perl: remove quotes from $PERL -V::ccflags: output (#9572) 2016-01-11 10:03:45 +01:00
Benjamin Dauvergne eaabf4c611 Release 2.5.0 2015-09-02 16:20:14 +02:00
Benjamin Dauvergne 262d1dae91 configure.ac: move test framework detection after pkg-config detection 2015-08-24 16:57:49 +02:00
John Dennis 9629925c1e Add LassoNode objects for ECP and PAOS
The SAMLv2 protocol defines 5 XML types which we need to map to
LassoNode objectes so thay can be serialized from XML and back into
XML.

ecp:RelayState
ecp:Request
ecp:Response
paos:Request
paso:Response

This patch addes these 5 new LassoNode's and updates the build
configuration to include them.

Signed-off-by: John Dennis <jdennis@redhat.com>
License: MIT
2015-08-24 16:05:29 +02:00
Benjamin Dauvergne eb6ed4f85a configure.ac: provide fallback for systems where libcheck is not installed with pkg-config 2015-08-24 16:05:14 +02:00
Benjamin Dauvergne 67d0a0349d configure.ac: use pkg-config for libcheck 2015-08-24 10:24:29 +02:00
Houzéfa Abbasbhay 9137e81966 Python 3: Fix print calls in configure.ac 2015-02-12 19:21:11 +01:00
Benjamin Dauvergne d95a7afcb6 Release 2.4.1 2014-08-28 16:02:06 +02:00
Simo Sorce 3d576e040a Fix java version detection
Signed-off-by: Simo Sorce <simo@redhat.com>
2014-04-15 09:59:33 +02:00
Frédéric Péters 190c7743c2 perl: get required CFLAGS from $(perl -V::ccflags:) 2014-03-31 10:55:58 +02:00
Benjamin Dauvergne 93b9b59e8f configure.ac: update LASSO_VERSION_INFO 2014-01-07 17:03:14 +01:00
Benjamin Dauvergne 83dc14c307 Revert "configure.ac: desactivate the PHP5 binding if no CLI interpreter is available"
This reverts commit a3d53764fa.
2014-01-07 01:30:55 +01:00
Benjamin Dauvergne a3d53764fa configure.ac: desactivate the PHP5 binding if no CLI interpreter is available 2014-01-06 15:43:12 +01:00
Benjamin Dauvergne c6475ef51c configure.ac: remove checks for SWIG 2014-01-06 15:42:48 +01:00
Benjamin Dauvergne c5659068fe configure.ac,fedora/lasso.spec: remove expat dependency 2013-12-19 10:14:52 +01:00
Frédéric Péters 60d6858d14 build: replace python $libdir by our own 2013-12-05 17:51:32 +01:00
Simo Sorce 624d20244b Better python detection in configure.ac
License: MIT
Signed-off-by: Simo Sorce <simo@redhat.com>
2013-12-05 17:24:25 +01:00
Tim Newsome 479eba57de AM_C_PROTOTYPES is no longer supported in autoconf 1.12. 2013-06-19 01:42:17 +02:00
Benjamin Dauvergne d572326a2f configure.ac: do not passe the full version suffix as the release number 2013-06-04 23:01:35 +02:00
Benjamin Dauvergne 57435048a0 configure: generate version number from git revision between tagged release
The script git-version-gen is copied from the autoconf project.
2013-05-15 11:28:25 +02:00
Benjamin Dauvergne f8ea3cda2d Fix compilation on solaris
Thanks Wojciech Lichota for the patch.

Fixes #1516
2012-06-21 16:07:07 +02:00
Benjamin Dauvergne c7cf89b387 Merge branch 'release-2.4.0' 2012-05-05 22:32:48 +02:00
Frédéric Péters e97a36faac Allow building from git without gtk-doc installed 2012-04-23 09:39:55 +02:00
Frédéric Péters 952c0f552c build: do not include multiple glib headers 2012-04-02 23:47:40 +02:00
Benjamin Dauvergne 75d84acf57 Update files for release 2.4.0 2011-12-29 13:44:46 +01:00
Benjamin Dauvergne f4fc26bb39 [core] move XMLDsig related nodes in their own sub-library, add X509Data node implementation
The goal is to use the KeyInfo structure as a transport format for our cryptographic keys
2011-12-16 11:39:18 +01:00
Benjamin Dauvergne dd5afa9522 [configure.ac] fix compilation on Mac Os X 2011-12-05 12:03:13 +01:00
Benjamin Dauvergne 92ebef91f5 Merge branch 'excl-c14n-fix' 2011-11-29 11:05:29 +01:00
Benjamin Dauvergne 5f25443c14 [release] 2.3.6 2011-11-29 10:42:16 +01:00
Benjamin Dauvergne 9430491963 [configure.ac] default AM_MAINTAINER_MODE to enable 2011-09-09 15:39:43 +02:00
Benjamin Dauvergne da5260de18 [configure.ac] remove useless semi-colons 2011-07-08 21:17:01 +02:00
Benjamin Dauvergne 14b5c395cc Change the glob expression to match darwin $host_os
Also use the $DARWIN flag to control the setting of JNI_EXTRA_LDFLAGS.
2011-06-03 11:24:02 +02:00
Benjamin Dauvergne 8aadadef4d [java] try to make test works under Mac Os X 2011-05-30 22:24:39 +02:00
Benjamin Dauvergne fb37b807a7 [configure.ac] increment version and libtool version info 2010-12-21 17:44:38 +01:00
Benjamin Dauvergne 21d61b5ba6 [configure.ac] increment version and libtool version info 2010-10-06 17:02:18 +02:00
Benjamin Dauvergne 511dd3da9e [configure.ac] increment release version and libtool version info 2010-09-09 16:29:46 +02:00
Benjamin Dauvergne 5ef593cfda Increment revision in version 2010-09-07 19:10:48 +02:00
Benjamin Dauvergne fb23db3ca6 Fix lasso soname change
If new interfaces are added, first and last number must be incremented.
As new enumeration value have been added, this is the case.
2010-09-07 19:02:46 +02:00