aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-support.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gnome-support.m4')
-rw-r--r--macros/gnome-support.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4
index c16b6892ae..c0a1163059 100644
--- a/macros/gnome-support.m4
+++ b/macros/gnome-support.m4
@@ -85,10 +85,13 @@ AC_DEFUN([GNOME_SUPPORT_CHECKS],[
AC_CHECK_FUNCS(vprintf doprnt sterror_r)
AM_FUNC_ERROR_AT_LINE
+ # This is required if we declare setreuid () and setregid ().
+ AC_TYPE_UID_T
+
# see if we need to declare some functions. Solaris is notorious for
# putting functions into the `libc' but not listing them in the headers
AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h)
- GCC_NEED_DECLARATIONS(gethostname)
+ GCC_NEED_DECLARATIONS(gethostname setreuid setregid getpagesize)
if test "$LIBOBJS$gcc_need_declarations" != ""; then
need_gnome_support=yes
lass='commitgraph'>* - Fix trailing whitespace in pkg-messagesamdmi32016-05-191-5/+5 * - Add distfile mirroramdmi32015-04-161-1/+2 * Stagify.vanilla2014-07-011-1/+0 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-5/+2 * - Kick MD5 supportmiwi2011-07-031-1/+0