Fix program_invocation_short_name on Linux

This commit is contained in:
Evan Miller 2020-08-05 23:54:25 -04:00
parent 7c324a9cb4
commit 0b6809be82

View File

@ -21,7 +21,9 @@ AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h limits.h unistd.h)
AC_CHECK_HEADERS(wordexp.h)
AC_CHECK_LIB(mswstr, DBLCMapStringW)
AC_CHECK_DECLS([program_invocation_short_name], [], [], [[#include <errno.h>]])
AC_CHECK_DECLS([program_invocation_short_name], [], [], [[
#define _GNU_SOURCE
#include <errno.h>]])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST