diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-05-16 12:33:11 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-05-17 13:18:32 +0200 |
commit | b800fad625d4f9be6499d59d8b3119f84e3fc54e (patch) | |
tree | d027cb14dc85a633de4b4432e943a368206efbcd /source3 | |
parent | 84e9d52d4486444b5022078b157f59efa61c25d3 (diff) | |
download | samba-b800fad625d4f9be6499d59d8b3119f84e3fc54e.tar.gz samba-b800fad625d4f9be6499d59d8b3119f84e3fc54e.tar.bz2 samba-b800fad625d4f9be6499d59d8b3119f84e3fc54e.zip |
configure: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace
metze
(This used to be commit ca163ff81a3f5d8303d45baa048850dfbc72a6a8)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/source3/configure.in b/source3/configure.in index fa98ba6197..6997053abb 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -806,24 +806,6 @@ if test x"$samba_cv_optimize_out_funcation_calls" = x"yes"; then AC_DEFINE(HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS,1,[Whether the compiler will optimize out function calls]) fi -############################################ -# check for unix domain sockets -AC_CACHE_CHECK([for unix domain sockets],samba_cv_unixsocket, [ - AC_TRY_COMPILE([ -#include <sys/types.h> -#include <stdlib.h> -#include <stddef.h> -#include <sys/socket.h> -#include <sys/un.h>], -[ - struct sockaddr_un sunaddr; - sunaddr.sun_family = AF_UNIX; -], - samba_cv_unixsocket=yes,samba_cv_unixsocket=no)]) -if test x"$samba_cv_unixsocket" = x"yes"; then - AC_DEFINE(HAVE_UNIXSOCKET,1,[If we need to build with unixsocket support]) -fi - ############################################# # check for fd passing struct via msg_control AC_CACHE_CHECK([for fd passing via msg_control],samba_cv_msghdr_msg_control, [ @@ -2008,16 +1990,6 @@ if test x"$samba_cv_HAVE_UNSIGNED_CHAR" = x"yes"; then AC_DEFINE(HAVE_UNSIGNED_CHAR,1,[Whether the 'unsigned char' type is available]) fi -AC_CACHE_CHECK([for sin_len in sock],samba_cv_HAVE_SOCK_SIN_LEN,[ -AC_TRY_COMPILE([#include <sys/types.h> -#include <sys/socket.h> -#include <netinet/in.h>], -[struct sockaddr_in sock; sock.sin_len = sizeof(sock);], -samba_cv_HAVE_SOCK_SIN_LEN=yes,samba_cv_HAVE_SOCK_SIN_LEN=no)]) -if test x"$samba_cv_HAVE_SOCK_SIN_LEN" = x"yes"; then - AC_DEFINE(HAVE_SOCK_SIN_LEN,1,[Whether the sockaddr_in struct has a sin_len property]) -fi - AC_CACHE_CHECK([whether seekdir returns void],samba_cv_SEEKDIR_RETURNS_VOID,[ AC_TRY_COMPILE([#include <sys/types.h> #include <dirent.h> |