mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2026-01-23 21:42:28 +00:00
build: drop COROSYNC_BSD out of configure
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> Reviewed-by: Jan Friesse <jfriesse@redhat.com>
This commit is contained in:
parent
a0a14c68e3
commit
fbf4c90e2d
@ -94,7 +94,7 @@ AC_HEADER_SYS_WAIT
|
||||
AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdint.h \
|
||||
stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h \
|
||||
sys/time.h syslog.h unistd.h sys/types.h getopt.h malloc.h \
|
||||
utmpx.h ifaddrs.h stddef.h sys/file.h])
|
||||
utmpx.h ifaddrs.h stddef.h sys/file.h sys/uio.h])
|
||||
|
||||
AC_CHECK_MEMBER([struct sockaddr_in.sin_len],
|
||||
[AC_DEFINE_UNQUOTED([HAVE_SOCK_SIN_LEN], [1], [sockaddr_in needs sin_len])],
|
||||
@ -343,10 +343,6 @@ case "$host_os" in
|
||||
-current_version ${SONAME} \
|
||||
-compatibility_version ${SONAME} -install_name \$(libdir)/\$(@)"
|
||||
;;
|
||||
*bsd*)
|
||||
AC_DEFINE_UNQUOTED([COROSYNC_BSD], [1],
|
||||
[Compiling for BSD platform])
|
||||
;;
|
||||
*solaris*)
|
||||
AC_DEFINE_UNQUOTED([COROSYNC_SOLARIS], [1],
|
||||
[Compiling for Solaris platform])
|
||||
|
||||
@ -34,8 +34,10 @@
|
||||
#ifndef COROAPI_H_DEFINED
|
||||
#define COROAPI_H_DEFINED
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#if defined(COROSYNC_BSD) || defined(COROSYNC_SOLARIS)
|
||||
#ifdef HAVE_SYS_UIO_H
|
||||
#include <sys/uio.h>
|
||||
#endif
|
||||
#include <corosync/hdb.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user