1
1

* samba/configure.in: Don't check for union semun.

* samba/include/includes.h [!HAVE_UNION_SEMUN]: Don't
declare union semun.
Этот коммит содержится в:
Andrew V. Samoilov 2002-07-29 15:19:36 +00:00
родитель 7bab33656b
Коммит 3e982cf3fc
3 изменённых файлов: 6 добавлений и 21 удалений

Просмотреть файл

@ -1,3 +1,9 @@
2002-07-29 Andrew V. Samoilov <kai@cmail.ru>
* samba/configure.in: Don't check for union semun.
* samba/include/includes.h [!HAVE_UNION_SEMUN]: Don't
declare union semun.
2002-07-26 Pavel Roskin <proski@gnu.org> 2002-07-26 Pavel Roskin <proski@gnu.org>
* direntry.c (vfs_s_find_entry_linear): Canonicalize path before * direntry.c (vfs_s_find_entry_linear): Canonicalize path before

Просмотреть файл

@ -244,17 +244,6 @@ if test x"$samba_cv_have_longlong" = x"yes"; then
AC_DEFINE(HAVE_LONGLONG, 1, [Define if long long is usable]) AC_DEFINE(HAVE_LONGLONG, 1, [Define if long long is usable])
fi fi
AC_CACHE_CHECK([for union semun],samba_cv_HAVE_UNION_SEMUN,[
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
main() { union semun ss; exit(0); }],
samba_cv_HAVE_UNION_SEMUN=yes,samba_cv_HAVE_UNION_SEMUN=no,samba_cv_HAVE_UNION_SEMUN=cross)])
if test x"$samba_cv_HAVE_UNION_SEMUN" = x"yes"; then
AC_DEFINE(HAVE_UNION_SEMUN, 1, [Defne if union semun is already defined])
fi
AC_CACHE_CHECK([for sin_len in sock],samba_cv_HAVE_SOCK_SIN_LEN,[ AC_CACHE_CHECK([for sin_len in sock],samba_cv_HAVE_SOCK_SIN_LEN,[
AC_TRY_COMPILE([#include <sys/types.h> AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>

Просмотреть файл

@ -603,16 +603,6 @@ extern int errno;
#define MAP_FILE 0 #define MAP_FILE 0
#endif #endif
#ifdef HAVE_SYSV_IPC
#ifndef HAVE_UNION_SEMUN
union semun {
int val;
struct semid_ds *buf;
unsigned short *array;
};
#endif
#endif
#if (!defined(WITH_NISPLUS) && !defined(WITH_LDAP)) #if (!defined(WITH_NISPLUS) && !defined(WITH_LDAP))
#define USE_SMBPASS_DB 1 #define USE_SMBPASS_DB 1
#endif #endif