1 |
# This file is part of Autoconf. -*- Autoconf -*- |
# This file is part of Autoconf. -*- Autoconf -*- |
2 |
# Checking for functions. |
# Checking for functions. |
3 |
# Copyright 2000, 2001 |
# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. |
|
# Free Software Foundation, Inc. |
|
4 |
# |
# |
5 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
6 |
# it under the terms of the GNU General Public License as published by |
# it under the terms of the GNU General Public License as published by |
401 |
# AC_FUNC_GETGROUPS |
# AC_FUNC_GETGROUPS |
402 |
# ----------------- |
# ----------------- |
403 |
# Try to find `getgroups', and check that it works. |
# Try to find `getgroups', and check that it works. |
404 |
# When crosscompiling, assume getgroups is broken. |
# When cross-compiling, assume getgroups is broken. |
405 |
AC_DEFUN([AC_FUNC_GETGROUPS], |
AC_DEFUN([AC_FUNC_GETGROUPS], |
406 |
[AC_REQUIRE([AC_TYPE_GETGROUPS])dnl |
[AC_REQUIRE([AC_TYPE_GETGROUPS])dnl |
407 |
AC_REQUIRE([AC_TYPE_SIZE_T])dnl |
AC_REQUIRE([AC_TYPE_SIZE_T])dnl |
613 |
|
|
614 |
# AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK |
# AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK |
615 |
# ------------------------------------- |
# ------------------------------------- |
616 |
# When crosscompiling, be pessimistic so we will end up using the |
# When cross-compiling, be pessimistic so we will end up using the |
617 |
# replacement version of lstat that checkes for trailing slashes and |
# replacement version of lstat that checks for trailing slashes and |
618 |
# calls lstat a second time when necessary. |
# calls lstat a second time when necessary. |
619 |
AC_DEFUN([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK], |
AC_DEFUN([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK], |
620 |
[AC_CACHE_CHECK( |
[AC_CACHE_CHECK( |