summaryrefslogtreecommitdiff
path: root/common/unix-peer.c
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-05-31 11:02:51 +0200
committerDaiki Ueno <ueno@gnu.org>2018-06-08 08:36:35 +0200
commitd4a4039f97b2e1f67d09d7cd8c05fb2dd129b23c (patch)
treed9665c34a040ba8e38a85253966edd8f0526ec15 /common/unix-peer.c
parent3dd5810143e51dabdc58069e55b09a950349fa08 (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/unix-peer.c')
0 files changed, 0 insertions, 0 deletions