chore, check if MAP_ANON needs _ALL_SOURCE and possibly define it

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, check for getopt.h

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, always include getopt_long() in gengetopt generated files

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, check for sys/stdint.h

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
cosmetics, use sys/stdint.h where *INT??_MAX and friends are needed

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, actually define all guards that are defined during the build in c.ac checks

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, generate a stub getopt.h when none can be found during configure time

POSIX doesn't require getopt.h, and so rightfully it's missing on AIX.
However, gengetopt insists on getopt.h, so we just create a stub if
the system getopt.h is nowhere to be found.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, kick epoll dependency from clitoris

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'bld/aix' into next

* bld/aix:
  minor, kick epoll dependency from clitoris
  minor, generate a stub getopt.h when none can be found during configure time
  fix, actually define all guards that are defined during the build in c.ac checks
  cosmetics, use sys/stdint.h where *INT??_MAX and friends are needed
  chore, check for sys/stdint.h
  chore, always include getopt_long() in gengetopt generated files
  chore, check for getopt.h
  chore, check if MAP_ANON needs _ALL_SOURCE and possibly define it