aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-08-25 03:30:06 +0800
committerMartin Baulig <martin@src.gnome.org>1998-08-25 03:30:06 +0800
commitabdba7c651a0a04809c8a8a20c72188fbd62d2b9 (patch)
tree8e58d0154cf3a436668b6b699aca9c31ce03f35c /macros
parenteb752301e03cd6cc28c7adf8e3230d1f1c856a5e (diff)
downloadgsoc2013-evolution-abdba7c651a0a04809c8a8a20c72188fbd62d2b9.tar
gsoc2013-evolution-abdba7c651a0a04809c8a8a20c72188fbd62d2b9.tar.gz
gsoc2013-evolution-abdba7c651a0a04809c8a8a20c72188fbd62d2b9.tar.bz2
gsoc2013-evolution-abdba7c651a0a04809c8a8a20c72188fbd62d2b9.tar.lz
gsoc2013-evolution-abdba7c651a0a04809c8a8a20c72188fbd62d2b9.tar.xz
gsoc2013-evolution-abdba7c651a0a04809c8a8a20c72188fbd62d2b9.tar.zst
gsoc2013-evolution-abdba7c651a0a04809c8a8a20c72188fbd62d2b9.zip
Added `setreuid', `setregid' and `getpagesize'. (AC_TYPE_UID_T): New
1998-08-24 Martin Baulig <martin@home-of-linux.org> * gnome-support.m4 (GCC_NEED_DECLARATIONS): Added `setreuid', `setregid' and `getpagesize'. (AC_TYPE_UID_T): New check. svn path=/trunk/; revision=334
Diffstat (limited to 'macros')
-rw-r--r--macros/ChangeLog6
-rw-r--r--macros/gnome-support.m45
2 files changed, 10 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 9442d9dbe0..93d0587399 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,9 @@
+1998-08-24 Martin Baulig <martin@home-of-linux.org>
+
+ * gnome-support.m4 (GCC_NEED_DECLARATIONS): Added `setreuid',
+ `setregid' and `getpagesize'.
+ (AC_TYPE_UID_T): New check.
+
1998-08-24 Christopher Blizzard <blizzard@appliedtheory.com>
* Makefile.am (MACROS): Add gnome-ghttp-check.m4 to the Makefile.
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