diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-05-31 11:02:51 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2018-06-08 08:36:35 +0200 |
commit | d4a4039f97b2e1f67d09d7cd8c05fb2dd129b23c (patch) | |
tree | d9665c34a040ba8e38a85253966edd8f0526ec15 /common/buffer.h | |
parent | 3dd5810143e51dabdc58069e55b09a950349fa08 (diff) |
build: Ease issetugid() check when cross-compiling
When cross-compiling, the configure check for issetugid() aborts,
because of the pessimistic default of AC_RUN_IFELSE. This patch
provides the non-pessimistic default to AC_RUN_IFELSE and wrap the
macro invocation with AC_CACHE_CHECK so that the user can override the
check by setting ac_cv_issetugid_openbsd=yes, as suggested in:
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Runtime.html#Runtime
Diffstat (limited to 'common/buffer.h')
0 files changed, 0 insertions, 0 deletions