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:
17
configure.in
17
configure.in
@@ -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 ===========================================
|
||||
|
||||
Reference in New Issue
Block a user