Andrei Pavel
168df1d9b6
[ #2311 ] ax_find_library: add -L if pkg-config doesn't
...
Solves a problem in RHEL where -L${libdir} is missing from
"pkg-config --libs".
2022-10-21 17:45:25 +03:00
Andrei Pavel
3b25a92584
[ #2311 ] autoconf: include <utility> when checking for boost headers
...
Solves this error:
In file included from /usr/include/boost/asio.hpp:23,
from conftest.cpp:75:
/usr/include/boost/asio/awaitable.hpp: In constructor 'boost::asio::awaitable<T, Executor>::awaitable(boost::asio::awaitable<T, Executor>&&)':
/usr/include/boost/asio/awaitable.hpp:68:19: error: 'exchange' is not a member of 'std'; did you mean 'std::__atomic_impl::exchange'?
68 | : frame_(std::exchange(other.frame_, nullptr))
| ^~~~~~~~
In file included from /usr/include/c++/12/bits/shared_ptr_atomic.h:33,
from /usr/include/c++/12/memory:78,
from /usr/include/boost/asio/associated_allocator.hpp:19,
from /usr/include/boost/asio.hpp:20:
/usr/include/c++/12/bits/atomic_base.h:976:7: note: 'std::__atomic_impl::exchange' declared here
976 | exchange(_Tp* __ptr, _Val<_Tp> __desired, memory_order __m) noexcept
| ^~~~~~~~
2022-10-21 17:45:25 +03:00
Andrei Pavel
cc95052a37
[ #2311 ] rename AX_SYSREPO to AX_NETCONF
2022-10-21 17:45:25 +03:00
Andrei Pavel
38c7b0f4e7
[ #2311 ] detect C++20 in autoconf
...
And enforce -std=c++20 when building
--with-libyang-cpp or --with-sysrepo-cpp.
2022-10-21 17:45:24 +03:00
Andrei Pavel
f37159f34c
[ #2311 ] migrate autoconf to libyang2 and sysrepo2
2022-10-21 17:45:24 +03:00
Andrei Pavel
0a249709a4
[ #2311 ] ax_find_library: search for .pc file in lib64 as well
2022-10-21 17:45:24 +03:00
Andrei Pavel
274b3507ad
[ #2558 ] expose LIBYANG_PREFIX and SYSREPO_PREFIX
2022-09-23 13:37:15 +03:00
Razvan Becheriu
d1d4aefec6
[ #2071 ] propagate all flags from configure to distcheck
2022-08-10 16:02:22 +02:00
Razvan Becheriu
8f7c1b1521
[ #2224 ] added missing parameters including TLS connection parameters to YANG models
2022-07-22 11:12:54 +03:00
Francis Dupont
d3ca06b7b6
[ #1614 ] Checkpoint: ported HMAC to EVP
2022-06-24 17:37:29 +02:00
Francis Dupont
57a2beb736
[ #2218 ] Added quotes and double quotes
2022-01-12 15:09:35 +01:00
Andrei Pavel
f6215c24ed
[ #2049 ] prevent empty location appended to rpath
2021-10-22 11:11:49 +00:00
Andrei Pavel
8ce40a35c2
[ #2128 ] fix noreturn check for older compilers
2021-10-20 15:22:19 +00:00
Andrei Pavel
f31ef484fd
Apply 1 suggestion(s) to 1 file(s)
2021-10-20 10:35:05 +00:00
Razvan Becheriu
dd939aed15
[ #2128 ] fixed flags leak
2021-10-19 15:38:11 +03:00
Razvan Becheriu
9669ec236f
[ #2128 ] add check for [[noreturn]]
2021-10-18 19:17:31 +03:00
Andrei Pavel
c19e6343c9
[ #2081 ] remove attempt to link with OpenSSL 1.1
2021-09-20 17:45:35 +00:00
Andrei Pavel
4a06ecf784
[ #2049 ] improve build error message
2021-09-14 11:44:29 +03:00
Andrei Pavel
089243ff32
[ #2049 ] AX_FIND_LIBRARY: add libdir to rpath
2021-09-14 11:27:25 +03:00
Andrei Pavel
6fe151c002
[ #2049 ] AX_FIND_LIBRARY: look in lib64 also
2021-09-14 11:27:16 +03:00
Andrei Pavel
4b658c57f1
[qa#261] link with OpenSSL 11 on CentOS 7
2021-08-24 14:02:17 +03:00
Andrei Pavel
4ce663d5c2
[ #1990 ] ax_find_library: look in lib64 also
2021-08-16 09:58:10 +03:00
Andrei Pavel
223e57c34e
[ #2025 ] correct spelling errors (minor change)
2021-08-13 19:31:35 +00:00
Andrei Pavel
4ad1cf13fe
[ #1990 ] add directory of .pc file to pkgconf path
2021-08-13 13:29:14 +03:00
Tomek Mrugalski
aaa9acdcaa
[ #1990 ] Missing headers error more informative
2021-08-12 18:33:27 +03:00
Andrei Pavel
f7ecc6ca0d
[ #1990 ] report error if NETCONF was not enabled
2021-08-12 18:33:27 +03:00
Andrei Pavel
c0e3afe783
[ #1990 ] fix --with-log4cplus description
2021-08-12 18:33:27 +03:00
Andrei Pavel
4b94ea4e67
[ #1990 ] AX_FIND_LIBRARY: append usual paths in PKG_CONFIG_PATH
2021-08-12 18:33:27 +03:00
Andrei Pavel
6e467ef8a9
[ #1990 ] AX_DISPLAY_LIBRARY_WARNINGS
2021-08-12 18:33:26 +03:00
Andrei Pavel
06b776a298
[ #1990 ] allow NETCONF to compile only with --with-sysrepo
2021-08-12 18:33:26 +03:00
Andrei Pavel
e9541327b2
[ #1990 ] typo: LIBRARY_CPFFLAGS -> LIBRARY_CPPFLAGS
2021-08-12 18:33:26 +03:00
Andrei Pavel
5170029491
[ #1990 ] libyang and sysrepo flags can only point to installations
2021-08-12 18:33:26 +03:00
Tomek Mrugalski
0572f16e45
[ #1077 ] 2 out of 3 --with-libyang modes work:
...
- --with-libyang=/usr/local works
- --with-libyang works
- --with-libyang=/path/to/.pc does not work yet
2021-07-26 10:17:04 +00:00
Tomek Mrugalski
8e3d4f24b7
[ #1077 ] Fixed *_LIBS variables
2021-07-26 10:17:04 +00:00
Andrei Pavel
7be576abdd
[ #1077 ] replace --with-path with PKG_CONFIG_PATH
...
and fix ./configure without parameters from showing an error when
checking for libyang
2021-07-26 10:17:04 +00:00
Tomek Mrugalski
a491521360
[ #1077 ] libyang and libyang-cpp now included in sysrepo flags
2021-07-26 10:17:04 +00:00
Tomek Mrugalski
ffcefa61f7
[ #1077 ] removed unsupported --with-path option
2021-07-26 10:17:04 +00:00
Andrei Pavel
49961203b0
[ #1077 ] autotools: AX_FIND_LIBRARY & AX_SYSREPO
2021-07-26 10:17:04 +00:00
Andrei Pavel
50e55070a7
[ #1077 ] a more generic AX_FIND_LIBRARY
2021-07-26 10:17:04 +00:00
Andrei Pavel
6d3e22be31
[ #1947 ] 1.9.9 release: mention --with-gssapi
...
in build requirements
2021-06-28 14:56:43 +03:00
Francis Dupont
7ae513b3ce
[ #1909 ] Commented the CPPFLAGS
2021-06-21 11:54:28 +02:00
Tomek Mrugalski
8c149d7d2a
[ #1862 ] The configure warning for Heimdal is now gone
...
- fix proposed by Francis
2021-06-21 11:51:30 +02:00
Francis Dupont
3e22e918e6
[ #1909 ] Improved Heimdal detection
2021-06-20 11:47:27 +02:00
Francis Dupont
e2593d9d75
[(no branch, rebasing 1909-gss_tsig-hook)] [(no branch, rebasing 1909-gss_tsig-hook)] [(no branch, rebasing 1909-gss_tsig-hook)] [ #1909 ] Improved HAVE_GSSAPI
2021-06-12 18:34:42 +02:00
Francis Dupont
498b1fa16a
[(no branch, rebasing 1909-gss_tsig-hook)] [(no branch, rebasing 1909-gss_tsig-hook)] [(no branch, rebasing 1909-gss_tsig-hook)] [ #1909 ] Added HAVE_GSSAPI
2021-06-12 18:34:42 +02:00
Francis Dupont
57102bcdb7
[ #1884 ] Added some checks
2021-05-26 16:03:14 +00:00
Francis Dupont
2cbb8bdf0c
[ #1884 ] Checkpoint: m4 macro file added
2021-05-25 18:07:50 +02:00
Khem Raj
d505f7a7d6
ax_cpp11.m4: Include <memory> header
...
This is needed for std::shared_ptr
GCC-11 throws errors if header is not included
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-20 11:21:06 +02:00
Francis Dupont
ca132b4e3f
[ #1665 ] Cleaned up configure warnings
2021-05-05 12:12:41 +02:00
Francis Dupont
2bc66706dc
[ #1665 ] Fixed ax_crypto.m4 ifndef
2021-05-05 12:12:41 +02:00