xfree86: improve check for posix saved ids

Replace hardcoded SVR4 || linux || CSRG_BASED with an autoconf check and
the _POSIX_SAVED_IDS macro.

Suggested-by: Mark Kettenis <mark.kettenis@xs4all.nl>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Julien Cristau
2013-08-02 20:07:36 +02:00
committed by Peter Hutterer
parent 930c6ff15d
commit c218ba8423
3 changed files with 6 additions and 2 deletions

View File

@@ -139,4 +139,7 @@
/* Have X server platform bus support */
#undef XSERVER_PLATFORM_BUS
/* Define to 1 if you have the `seteuid' function. */
#undef HAVE_SETEUID
#endif /* _XORG_CONFIG_H_ */