Fix defines for Rendezvous v58.3

This commit is contained in:
Ron Pedde 2004-03-02 00:33:05 +00:00
parent c25b197d2e
commit 9ece3e58f8

View File

@ -37,12 +37,15 @@ case $host in
*solaris*)
AM_CONDITIONAL(COND_NEED_STRCASESTR,true)
AM_CONDITIONAL(COND_NEED_STRSEP,true)
CPPFLAGS="$CPPFLAGS -DHAVE_SOCKLEN_T"
CPPFLAGS="$CPPFLAGS -DNOT_HAVE_SA_LEN -D_XPG4_2 "
CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__ -DHAVE_BROKEN_RECVIF_NAME"
LDFLAGS="$LDFLAGS -lnsl -lsocket";;
*linux*)
CPPFLAGS="$CPPFLAGS -DHAVE_SOCKLEN_T";;
CPPFLAGS="$CPPFLAGS -DNOT_HAVE_SA_LEN";;
*openbsd*)
CPPFLAGS="$CPPFLAGS -DHAVE_BROKEN_RECVDSTADDR";;
*darwin*)
CPPFLAGS="$CPPFLAGS -no-cpp-precomp -DHAVE_SOCKADDR_SA_LEN -DHAVE_SOCKLEN_T -DMAC"
CPPFLAGS="$CPPFLAGS -no-cpp-precomp -DMAC"
LDFLAGS="$LDFLAGS -framework CoreFoundation"
AM_CONDITIONAL(COND_REND_OSX,true)