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

Comparing rxvt-unicode/configure (file contents):
Revision 1.57 by root, Sat Dec 24 12:55:17 2005 UTC vs.
Revision 1.58 by root, Sun Jan 1 06:18:20 2006 UTC

4096 LIBS="$LIBS -lsocket" 4096 LIBS="$LIBS -lsocket"
4097fi 4097fi
4098 4098
4099fi 4099fi
4100 4100
4101
4102echo "$as_me:$LINENO: checking for sched_yield support" >&5
4103echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6
4104cat >conftest.$ac_ext <<_ACEOF
4105/* confdefs.h. */
4106_ACEOF
4107cat confdefs.h >>conftest.$ac_ext
4108cat >>conftest.$ac_ext <<_ACEOF
4109/* end confdefs.h. */
4110#include <sched.h>
4111int
4112main ()
4113{
4114sched_yield ()
4115 ;
4116 return 0;
4117}
4118_ACEOF
4119rm -f conftest.$ac_objext conftest$ac_exeext
4120if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4121 (eval $ac_link) 2>conftest.er1
4122 ac_status=$?
4123 grep -v '^ *+' conftest.er1 >conftest.err
4124 rm -f conftest.er1
4125 cat conftest.err >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); } &&
4128 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4130 (eval $ac_try) 2>&5
4131 ac_status=$?
4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133 (exit $ac_status); }; } &&
4134 { ac_try='test -s conftest$ac_exeext'
4135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4136 (eval $ac_try) 2>&5
4137 ac_status=$?
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); }; }; then
4140 echo "$as_me:$LINENO: result: yes" >&5
4141echo "${ECHO_T}yes" >&6
4142
4143cat >>confdefs.h <<\_ACEOF
4144#define HAVE_SCHED_YIELD 1
4145_ACEOF
4146
4147else
4148 echo "$as_me: failed program was:" >&5
4149sed 's/^/| /' conftest.$ac_ext >&5
4150
4151echo "$as_me:$LINENO: result: no" >&5
4152echo "${ECHO_T}no" >&6
4153fi
4154rm -f conftest.err conftest.$ac_objext \
4155 conftest$ac_exeext conftest.$ac_ext
4101 4156
4102 4157
4103MALLOC_TYPE=S 4158MALLOC_TYPE=S
4104 4159
4105support_addstrings=no 4160support_addstrings=no

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines