src


Log

Author Commit Date CI Message
Guillem Jover 42d691a5 2020-12-21T20:19:54 build: Move local-link.h from libmd_la_helper_sources to libmd_la_SOURCES This is not a generated file, so it needs to be listed in the library SOURCES variable. Fixes: commit 9cc938450392d64440de5c7db27903dff9922728
Guillem Jover 52cb9cbe 2020-09-17T03:19:51 build: Only depend on libmd.sym when using it
Guillem Jover bd364c6d 2019-08-28T11:30:29 Switch SHA2 symbols from weak to strong aliases There is no good reason to have these as weak symbols at all. And it makes building on Windows (Cygwin, MinGW) harder as it does not support weak symbols. Based-on-patch-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover 9cc93845 2019-08-28T11:19:37 Import local-link header from libbsd This provides several macros for versioned symbols and linking magic.
Michael Haubenwallner 09b3ad8c 2019-08-28T11:16:54 Remove unused weak symbol declarations for MD2 functions These are not currently used, as they are not part of the versioned symbols export map. Signed-off-by: Guillem Jover <guillem@hadrons.org>
Michael Haubenwallner 9a77023f 2019-08-22T16:55:44 build: Use <unistd.h> only if available Some target platforms do not have <unistd.h>, notably Windows when using vanilla MSVC toolchain. Note: The AC_CHECK_HEADERS([unistd.h]) is redundant with LT_INIT, but there is no guarantee for that. [guillem@hadrons.org: - Use AC_CHECK_HEADERS instead of AC_CHECK_HEADER. - Quote argument to AC_CHECK_HEADERS. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
Rainer Müller bf04c411 2017-09-29T17:02:33 build: Invoke sed with portable regex The previous sed expression only worked with GNU sed, as the '\+' literal is an extension to basic regex. Use portable syntax instead that also works with other implementations of sed(1), for example on macOS. Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover cc6881c6 2017-06-05T05:10:51 Remove unused __RCSID macro usage This is an obsolescent practice, just stop conditionally using this macro.
Guillem Jover 0def1829 2017-06-01T03:00:05 Stop using non-portable <sys/param.h> There are platforms without <sys/param.h>, so we better avoid the header altogether, and add the required MIN macro outselves. Based-on-patch-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Guillem Jover 04d92f90 2017-05-31T06:58:23 build: Do not override the default DEPENDENCIES for libmd Extend it instead via EXTRA_*_DEPENDENCIES, to make sure that we preserve the builtin library dependencies generated from LIBADD.
Guillem Jover 4c94d7fd 2017-05-31T06:55:35 build: Use an export symbols file if there is no version script support We generate the symbol list from the version script to avoid repeating ourselves and potentially getting the lists out-of-sync. Proposed-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Guillem Jover b6be272e 2017-05-31T06:45:25 build: Detect version script linker support at configure time This is not a widely supported feature, so only use if in case the linker does support it. Proposed-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Michael Haubenwallner 555d5074 2017-04-10T13:10:45 build: Switch to AC_C_BIGENDIAN defining WORD_BIGENDIAN We should use the autoconf macro instead of expecting the system to provide the endianness information, which many do not. [guillem@hadrons.org: - Use autoconf macro instead of gnulib one. - Slightly reword commit message. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover c3c8d859 2017-06-01T02:43:22 build: Drop GCC specific compiler flag -include Instead, explicitly include <config.h> in library and test source files for increased portability. Based-on-patch-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Michael Haubenwallner 765a605e 2017-04-10T13:10:39 build: Add -no-undefined libtool flag We have no need for undefined symbols, so we can let the shared library build even on systems without support for undefined symbols. [guillem@hadrons.org: - Place the option on its own line. - Slightly reword commit message. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
Michael Haubenwallner bb131b2e 2017-04-10T13:10:38 Stop using non-portable <sys/cdefs.h> For portability, we should not rely on the __BEGIN_DECLS, __END_DECLS and __P to be predefined somewhere. For __P, we just remove its usage as we do not support pre-ANSI-C compilers. [guillem@hadrons.org: - Separate extern declarations with newlines. - Slightly reword commit message. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover f1291e88 2011-05-29T04:46:46 build: Use <endian.h> when <sys/endian.h> is not available
Guillem Jover 18ebbe24 2012-05-29T05:44:54 Use stdint types instead of BSD u_int ones
Guillem Jover 79b3a0b7 2011-05-29T04:48:16 build: Add build infrastructure
Guillem Jover 7a257475 2014-07-19T16:49:55 build: Add weak_alias definition
Guillem Jover c5179609 2015-06-29T17:32:14 build: Define a dummy _DIAGASSERT
Guillem Jover ee0b2299 2011-05-29T03:22:21 Initial import from OpenBSD and NetBSD