1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-12 20:05:48 +01:00

Fixed some compilation problems for solaris

This commit is contained in:
dan
1999-12-14 02:21:04 +00:00
parent e5a7a883eb
commit 3f9b7858df
28 changed files with 381 additions and 120 deletions

View File

@@ -98,7 +98,7 @@ dnl not used anywhere
dnl AC_FUNC_MEMCMP
AC_FUNC_VPRINTF
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(gethostname select poll strerror strncasecmp setpgid atexit)
AC_CHECK_FUNCS(gethostname select poll strerror strncasecmp setpgid atexit inet_aton)
@@ -323,6 +323,21 @@ AC_ARG_ENABLE(lite,
dnl
dnl Networking stuff for Sysv
dnl
XTRALIBS=""
AC_CHECK_FUNC(connect,,
AC_CHECK_LIB(connect, socket, NETLIBS="$NETLIBS -lsocket",))
AC_CHECK_FUNC(gethostbyname,,
AC_CHECK_LIB(gethostbyname, nsl, NETLIBS="$NETLIBS -lnsl",))
AC_SUBST(NETLIBS)
dnl ===========================================
dnl Stuff that uses X
dnl ===========================================