Commit Graph

18 Commits

Author SHA1 Message Date
Omar Polo
a72cc6be31 improve compat/getprogname on GNU libc
but why'd they called it program_invocation_short_name?  They couldn't
find a longer name?
2021-02-11 09:13:58 +00:00
Omar Polo
4ad0601d18 link to compat/ even in regress
this unlocks the full regress tests on arch, for instance, or every
OS where we don't have strl*
2021-02-10 22:06:16 +00:00
Omar Polo
1516fd4dad fix detection on non-openbsd systems 2021-02-08 10:28:56 +00:00
Omar Polo
337c74209b look for libevent 2021-02-08 10:12:04 +00:00
Omar Polo
809c4bd0f8 keep original CFLAGS 2021-02-07 11:28:42 +00:00
Omar Polo
60dbafbf2f define MANDIR 2021-02-07 09:24:00 +00:00
Omar Polo
fe90d24fd0 add compat for setproctitle
This adds a check for setproctitle and for the (linux) prctl
PR_SET_NAME.  If setproctitle is not available, on linux we provide an
implementation that use prctl (taken from tmux compat layer.)
2021-02-04 13:42:35 +00:00
Omar Polo
5b4a641893 let LEX and YACC be customizable via args 2021-02-02 09:58:05 +00:00
Omar Polo
40dc608f1f adjust CFLAGS detection 2021-01-27 16:05:55 +00:00
Omar Polo
333a671107 gen compat for getprogname 2021-01-25 15:09:18 +00:00
Omar Polo
8443bff77a rework the configless mode: change flags and generate certs 2021-01-25 14:08:31 +00:00
Omar Polo
7e26256394 fixing compat compilation
include headers if needed and include config.h
2021-01-22 17:00:56 +00:00
Omar Polo
3527b7a58a missing ; in prototype 2021-01-22 16:53:21 +00:00
Omar Polo
2d7abb7017 add missing getprogname test + eventually include err.h 2021-01-21 16:15:35 +00:00
Omar Polo
5c342d059f more OpenBSD goodies 2021-01-21 15:37:02 +00:00
Omar Polo
86939cb45b simplify CFLAGS/LDFLAGS autodetection 2021-01-21 13:40:22 +00:00
Omar Polo
597ddf6ca8 typo 2021-01-21 13:01:54 +00:00
Omar Polo
12042ad700 add a configure script and some compat
tested on openbsd, alpine and void
2021-01-21 11:57:46 +00:00