Added `setreuid', `setregid' and `getpagesize'. (AC_TYPE_UID_T): New
authorMartin Baulig <martin@home-of-linux.org>
Mon, 24 Aug 1998 19:30:06 +0000 (19:30 +0000)
committerMartin Baulig <martin@src.gnome.org>
Mon, 24 Aug 1998 19:30:06 +0000 (19:30 +0000)
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=348

macros/ChangeLog
macros/gnome-support.m4

index 9442d9d..93d0587 100644 (file)
@@ -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.
index c16b689..c0a1163 100644 (file)
@@ -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