Commit Graph

177 Commits

Author SHA1 Message Date
pepe
03ac7fa316 :( 2023-09-25 11:44:57 +00:00
classabbyamp
192fac7cfd configure: workaround for openssl3 compat 2023-08-30 21:00:37 +02:00
classabbyamp
d2f5317469 configure: add optional verbose output for flag tests
to aid future debugging, this will show stderr from the compiler when
--verbose is passed to configure.
2023-02-11 21:33:14 +01:00
Juan RP
18a2a2b0a7
configure: use command -v rather than which(1). 2021-06-26 17:07:16 +02:00
Duncan Overbruck
51b39002e5
Revert "Move all external code to lib/external."
This reverts commit 9effec0c4e.
2021-02-04 22:42:57 +01:00
Érico Rolim
e3b7472b41 build: only try to use git if the command is available. 2020-12-14 16:45:17 +01:00
Juan RP
9effec0c4e
Move all external code to lib/external. 2020-04-24 12:32:09 +02:00
Juan RP
e7c1f411ec
configure: bump to 0.60 2020-04-23 07:26:30 +02:00
Juan RP
db1766986c
configure: accept any openssl version. 2020-04-16 14:57:18 +02:00
Juan RP
bfad1afff3
Prepare for 0.59.1. 2020-04-01 11:32:37 +02:00
Juan RP
a16e695de7
configure: enable -Woverlength-strings, do not disable it! 2020-02-21 10:55:17 +01:00
Juan RP
6ff9422134
configure: bump to 0.59 2020-02-07 10:11:11 +01:00
Juan RP
4c22511d17
configure: simplify 2020-02-06 09:48:30 +01:00
Juan RP
9c61e341b1
configure: added --enable-lto (default disabled). 2020-01-06 12:47:50 +01:00
Juan RP
9be9679b5d
configure: re-add --enable-debug (enabled by default).
And fix debugging in the shared library with tcc.
2020-01-06 12:09:28 +01:00
Juan RP
90c040f37f
configure: bump version to 0.58.
not yet released but 0.58 will be next version.
2019-12-27 16:35:03 +01:00
Juan RP
9775a20dbc
configure: use pkg-config found via PATH.
We only care if the `pkg-config` bin is there, don't override
it with the result from _which(). In the xbps-src world,
pkg-config is a wrapper, that makes it cross compile easily.
2019-12-26 15:29:03 +01:00
Juan RP
6886a73288
Bump to 0.57.1 and libxbps micro. 2019-10-27 09:50:11 +01:00
Juan RP
c3a64f60e9
configure: bump to 0.58 2019-10-27 08:57:40 +01:00
Juan RP
0677678387 Added LTO support and fix warnings (maybe-uninitialized). 2019-06-27 18:09:26 +02:00
Juan RP
815754a0e9
configure: set -Wno-error later for tcc, to override -Werror. 2019-06-26 15:48:46 +02:00
Juan RP
ab2445e722
configure: use -Wno-error for now with tcc. 2019-06-26 15:13:01 +02:00
Juan RP
00cda75a63
Require libarchive>=3.3.3 due to zstd support. 2019-06-26 09:05:37 +02:00
Juan RP
a1a0407548
Bump to 0.57. 2019-06-24 11:28:11 +02:00
Juan RP
1ceefe6f53
Bump to 0.56. 2019-06-21 16:32:38 +02:00
Juan RP
098fea7704
Bump to 0.55. 2019-06-20 17:14:16 +02:00
Juan RP
5d186053dd configure: remove --enable-debug.
Why? because the code intentionally uses assert(), and we want the code
to always run as was designed.

Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-12 21:18:53 +02:00
Juan RP
62f986cf4a configure: bump to 0.54.
Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-11 19:53:19 +02:00
Juan RP
2e469aaabf configure: added --enable-rpath option.
If set, binaries will have rpath set to $ORIGIN/../lib. That means
that even using defaults (--prefix=/usr), you can install
it via DESTDIR anywhere in your system and binaries will work.

This is in preparation for BSD support.

Closes: #87 [via git-merge-pr]
2019-04-26 16:27:41 +02:00
Juan RP
cb0bf6d914 configure: detect tcc if in PATH; fix tcc build.
Adding -pthread to CFLAGS is unnecessary because the bins don't need
it explicitly, so that it's removed and we only need to use -lpthread
on libxbps.
2019-04-22 16:18:41 +02:00
Juan RP
0db5ace61d configure: fix vasprintf test; cosmetics.
The vasprintf test was always failing because it needed stdarg.h.
Misc cosmetics: rename compat objs to COMPAT_OBJS.
2019-04-22 15:30:02 +02:00
Ingo Blechschmidt
a12f22de86 Use https instead of http where possible 2019-03-22 21:35:08 +01:00
wuhanck
b4eebafa6d upgrade to openssl 1.1.x. 2019-01-24 14:57:50 -05:00
Foxlet
0f33859701 Fix namespace violation 2018-09-25 22:11:30 -04:00
Enno Boland
a5bfc59203 prepare release 2018-07-30 13:47:08 +02:00
Enno Boland
3f251bea74 Revert "debug"
This reverts commit 29466b128b.
2018-07-06 15:17:42 +02:00
Enno Boland
29466b128b debug 2018-07-02 15:58:55 +02:00
Eli Schwartz
861617a708
configure: correctly detect libssl using pkg-config
This allows the openssl version to be easily overridden using standard
PKG_CONFIG_PATH overrides, which is required for modern distros that use
openssl 1.1 by default.

Also print diagnostics for the libssl flavor in use, and constrain the
version when using openssl to < 1.1.
2017-12-26 09:28:16 -05:00
Juan RP
3012650ba2 configure: require libarchive >= 3.2.0 via pkg-config too. 2017-10-25 09:25:03 +02:00
Natanael Copa
34fc9416ba configure: fix vasprintf test (#236)
Fix the test for vasprintf function which failed with musl libc and
fortify-headers on aarch64:

_vasprintf.c:4:24: error: incompatible type for argument 3 of 'vasprintf'
  vasprintf(NULL, NULL, NULL);
                        ^~~~
2017-10-25 09:13:07 +02:00
ojab
e8c1ae96ae Fix -l flags order in feature detection 2017-01-02 18:39:23 +01:00
Josh de Kock
21492ca1bf configure: check for --no-as-needed before using (#217) 2016-11-04 07:49:48 +01:00
Michael Gehring
0f56b68eac add HAVE_STRNSTR 2016-02-08 15:09:33 +01:00
Juan RP
efbd329122 Post release bump to 0.52. 2015-12-12 08:02:49 +01:00
Juan RP
30a2642b7e Post release bump to 0.51. 2015-11-10 15:44:29 +01:00
Juan RP
b8abe80362 Post release bump to 0.50. 2015-10-31 13:13:42 +01:00
Juan RP
d68a2796c5 Post release bump to 0.49. 2015-10-31 11:37:40 +01:00
Juan RP
8d20760fee Post release bump to 0.48. 2015-07-18 09:54:51 +02:00
Juan RP
bb5bfc37b3 configure: bump to 0.47. 2015-06-24 11:05:48 +02:00
Juan RP
0bad752cbe configure: bump to 0.46 instead. 2015-06-04 15:46:15 +02:00