mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-21 13:28:15 +02:00
Use a configure check for seteuid
HP-UX doesn't have seteuid https://bugs.freedesktop.org/show_bug.cgi?id=1497 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
79594b4d66
commit
0ca4153a37
2 changed files with 2 additions and 2 deletions
|
|
@ -220,7 +220,7 @@ AC_CHECK_HEADERS([sys/select.h])
|
|||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
|
||||
# Checks for library functions.
|
||||
AC_CHECK_FUNCS([strtol])
|
||||
AC_CHECK_FUNCS([strtol seteuid])
|
||||
# Used in lcFile.c (see also --enable-xlocaledir settings below)
|
||||
XLOCALEDIR_IS_SAFE="no"
|
||||
AC_CHECK_FUNC([issetugid], [XLOCALEDIR_IS_SAFE="yes"]
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
/************************************************************************/
|
||||
|
||||
#ifdef __UNIXOS2__
|
||||
#ifndef HAVE_SETEUID
|
||||
# define seteuid setuid
|
||||
#endif
|
||||
#define iscomment(ch) ((ch) == '#' || (ch) == '\0')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue