Commits
- Commit:
0bc2cf1263d57c9464234d491254ea7b435bbbcd
- From:
- Thomas Adam <ThomasAdam@users.noreply.github.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: template: allow for YACC
As with the main got project, allow for template to use the YACC
environment variable -- either directly, or indirectly if set
via ./configure in the main got project.
- Commit:
9590ecb003cf59d297892fb21ef67e653ade7c2e
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: template: use Makefile.common
libbsd-overlay needs to be declared properly with the correct AM_CFLAGS,
but this only happens via a common Makefile.common.in template which
gets filled out at ./configure time.
This properly ensures libbsd compat libraries, such as getprogname() are
correctly found on the system.
- Commit:
20c2019fa7a71a1430ca455d4c0350ba61ad472c
- From:
- Anna Vyalkova <cyber+misc@sysrq.in>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
portable: template: add AC_USE_SYSTEM_EXTENSIONS
Fixes, for example, a few warnings on GNU systems where -D_GNU_SOURCE
needs to be used for asprintf(3) visibility.
Patch by Anna Vyalkova, thanks!
- Commit:
07a3a9fbc1d4396ffb64e0f0f59ec5bedfe0f545
- From:
- Omar Polo <op@omarpolo.com>
- Date:
portable: typo: libbisd -> libbsd; spotted by naddy@, thanks!
- Commit:
9445abba2bb2aa3b928e16d88abb8f27c360f4e8
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: tweak SHA1 detection/libbsd
Don't rely on AC_RUN_IFELSE as this breaks cross-compilation
(voidlinux). Although this is better replaced with AC_CHECK_DECL.
In template/ include checking for libbsd.
- Commit:
9981e8e3868ca975b4732becdc01897770c0dfbe
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: template: use as a subproject
Move template into its own subproject as it's only needed at
compile-time and shouldn't be installed.
This needs compiling with the host compiler which is configurable via
HOSTCC and HOSTCLFAG environment variables.
This diff largely from op@ but additional tweaking from myself.