ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/autoconf/configure.in
(Generate patch)

Comparing rxvt-unicode/autoconf/configure.in (file contents):
Revision 1.58 by root, Sun Jan 1 06:18:20 2006 UTC vs.
Revision 1.59 by root, Sun Jan 1 06:28:45 2006 UTC

77AC_ISC_POSIX 77AC_ISC_POSIX
78 78
79dnl# FreeBSD needs to link libxpg4 79dnl# FreeBSD needs to link libxpg4
80AC_CHECK_FUNC(setlocale, [], [AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])]) 80AC_CHECK_FUNC(setlocale, [], [AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])])
81 81
82dnl solaris needs to link libnsl and socket 82dnl# solaris needs to link libnsl and socket
83AC_CHECK_FUNC(gethostbyname, [], [AC_CHECK_LIB(nsl, gethostbyname, [LIBS="$LIBS -lnsl"])]) 83AC_CHECK_FUNC(gethostbyname, [], [AC_CHECK_LIB(nsl, gethostbyname, [LIBS="$LIBS -lnsl"])])
84AC_CHECK_FUNC(socket, [], [AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket"])]) 84AC_CHECK_FUNC(socket, [], [AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket"])])
85 85
86dnl# more solaris
87AC_CHECK_FUNC(sched_yield, [], [AC_CHECK_LIB(rt, sched_yield, [LIBS="$LIBS -lrt"])])
88
86dnl sched_yield to improve terminal efficiency 89dnl# sched_yield to improve terminal efficiency
87AC_MSG_CHECKING(for sched_yield support) 90AC_MSG_CHECKING(for sched_yield support)
88AC_TRY_LINK([#include <sched.h>],[sched_yield ()], 91AC_TRY_LINK([#include <sched.h>],[sched_yield ()],
89 [AC_MSG_RESULT(yes) 92 [AC_MSG_RESULT(yes)
90 AC_DEFINE(HAVE_SCHED_YIELD, 1, Define if you have sched-h and sched_yield)], 93 AC_DEFINE(HAVE_SCHED_YIELD, 1, Define if you have sched-h and sched_yield)],
91 [AC_MSG_RESULT(no)]) 94 [AC_MSG_RESULT(no)])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines