|
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>
|
|
cc6881c6
|
2017-06-05T05:10:51
|
|
Remove unused __RCSID macro usage
This is an obsolescent practice, just stop conditionally using this
macro.
|
|
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>
|
|
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.
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
f1291e88
|
2011-05-29T04:46:46
|
|
build: Use <endian.h> when <sys/endian.h> is not available
|
|
18ebbe24
|
2012-05-29T05:44:54
|
|
Use stdint types instead of BSD u_int ones
|
|
79b3a0b7
|
2011-05-29T04:48:16
|
|
build: Add build infrastructure
|
|
7a257475
|
2014-07-19T16:49:55
|
|
build: Add weak_alias definition
|
|
c5179609
|
2015-06-29T17:32:14
|
|
build: Define a dummy _DIAGASSERT
|
|
ee0b2299
|
2011-05-29T03:22:21
|
|
Initial import from OpenBSD and NetBSD
|