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

Comparing rxvt-unicode/configure.ac (file contents):
Revision 1.27 by ayin, Mon Jan 23 10:26:21 2006 UTC vs.
Revision 1.31 by root, Sat Jan 28 21:25:12 2006 UTC

92 92
93dnl# solaris needs to link libnsl and socket 93dnl# solaris needs to link libnsl and socket
94AC_CHECK_FUNC(gethostbyname, [], [AC_CHECK_LIB(nsl, gethostbyname, [LIBS="$LIBS -lnsl"])]) 94AC_CHECK_FUNC(gethostbyname, [], [AC_CHECK_LIB(nsl, gethostbyname, [LIBS="$LIBS -lnsl"])])
95AC_CHECK_FUNC(socket, [], [AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket"])]) 95AC_CHECK_FUNC(socket, [], [AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket"])])
96 96
97dnl# more solaris
98AC_CHECK_FUNC(sched_yield, [], [AC_CHECK_LIB(rt, sched_yield, [LIBS="$LIBS -lrt"])])
99
100dnl# sched_yield to improve terminal efficiency
101AC_MSG_CHECKING(for sched_yield support)
102AC_TRY_LINK([#include <sched.h>],[sched_yield ()],
103 [AC_MSG_RESULT(yes)
104 AC_DEFINE(HAVE_SCHED_YIELD, 1, Define if you have sched-h and sched_yield)],
105 [AC_MSG_RESULT(no)])
106
107dnl AC_ENABLE_SHARED(no)dnl# libtool 97dnl AC_ENABLE_SHARED(no)dnl# libtool
108dnl AC_ENABLE_STATIC(yes)dnl# libtool 98dnl AC_ENABLE_STATIC(yes)dnl# libtool
109dnl AC_PROG_LIBTOOL()dnl# libtool 99dnl AC_PROG_LIBTOOL()dnl# libtool
110 100
111support_frills=yes 101support_frills=yes
114support_fading=yes 104support_fading=yes
115support_keepscrolling=yes 105support_keepscrolling=yes
116support_selectionscrolling=yes 106support_selectionscrolling=yes
117support_mousewheel=yes 107support_mousewheel=yes
118support_mouseslipwheel=yes 108support_mouseslipwheel=yes
119support_utmp=yes
120support_wtmp=yes
121support_lastlog=yes
122support_text_blink=yes 109support_text_blink=yes
123support_pointer_blank=yes 110support_pointer_blank=yes
124support_scroll_rxvt=yes 111support_scroll_rxvt=yes
125support_scroll_next=yes 112support_scroll_next=yes
126support_scroll_xterm=yes 113support_scroll_xterm=yes
150 [ --enable-everything enable standard non-multichoice features 137 [ --enable-everything enable standard non-multichoice features
151 NOTE: this option is order dependent 138 NOTE: this option is order dependent
152 NOTE: automatically enabled with --enable-shared], 139 NOTE: automatically enabled with --enable-shared],
153 [ 140 [
154 if test x$enableval = xno; then 141 if test x$enableval = xno; then
155 support_24bit=no
156 support_frills=no 142 support_frills=no
157 support_inheritpixmap=no 143 support_inheritpixmap=no
158 support_tinting=no 144 support_tinting=no
159 support_fading=no 145 support_fading=no
160 support_keepscrolling=no 146 support_keepscrolling=no
180 support_styles=no 166 support_styles=no
181 support_perl=no 167 support_perl=no
182 codesets= 168 codesets=
183 fi 169 fi
184 if test x$enableval = xyes; then 170 if test x$enableval = xyes; then
185 support_24bit=yes
186 support_frills=yes 171 support_frills=yes
187 support_inheritpixmap=yes 172 support_inheritpixmap=yes
188 support_tinting=yes 173 support_tinting=yes
189 support_fading=yes 174 support_fading=yes
190 support_keepscrolling=yes 175 support_keepscrolling=yes
379 364
380AC_ARG_ENABLE(frills, 365AC_ARG_ENABLE(frills,
381 [ --enable-frills enable support for rarely used features], 366 [ --enable-frills enable support for rarely used features],
382 [if test x$enableval = xyes -o x$enableval = xno; then 367 [if test x$enableval = xyes -o x$enableval = xno; then
383 support_frills=$enableval 368 support_frills=$enableval
384 fi])
385
386AC_ARG_ENABLE(24bit,
387 [ --enable-24bit enable support for using 24bit visuals if available],
388 [if test x$enableval = xyes -o x$enableval = xno; then
389 support_24bit=$enableval
390 fi]) 369 fi])
391 370
392AC_ARG_ENABLE(keepscrolling, 371AC_ARG_ENABLE(keepscrolling,
393 [ --enable-keepscrolling enable continual scrolling on scrollbar arrow press], 372 [ --enable-keepscrolling enable continual scrolling on scrollbar arrow press],
394 [if test x$enableval = xyes -o x$enableval = xno; then 373 [if test x$enableval = xyes -o x$enableval = xno; then
663dnl> AC_FUNC_VPRINTF 642dnl> AC_FUNC_VPRINTF
664 643
665AC_CHECK_FUNCS( \ 644AC_CHECK_FUNCS( \
666 unsetenv \ 645 unsetenv \
667 setutent \ 646 setutent \
668 seteuid \
669 setresuid \
670 setreuid \
671 on_exit \ 647 on_exit \
672) 648)
673 649
674UTMP_CHECK 650UTMP_CHECK
675 651
805if test x$support_selectionscrolling = xyes; then 781if test x$support_selectionscrolling = xyes; then
806 AC_DEFINE(SELECTION_SCROLLING, 1, Define to allow scrolling when the selection moves to the top or bottom of the screen) 782 AC_DEFINE(SELECTION_SCROLLING, 1, Define to allow scrolling when the selection moves to the top or bottom of the screen)
807fi 783fi
808if test x$support_frills = xyes; then 784if test x$support_frills = xyes; then
809 AC_DEFINE(ENABLE_FRILLS, 1, Define if you want handling for rarely used but handy features) 785 AC_DEFINE(ENABLE_FRILLS, 1, Define if you want handling for rarely used but handy features)
810fi
811if test x$support_24bit = xyes; then
812 AC_DEFINE(PREFER_24BIT, 1, Define to use a 24 bit visual if the screen has 24 bit mode, even if the default is 8 bit)
813fi 786fi
814if test x$support_mousewheel = xyes; then 787if test x$support_mousewheel = xyes; then
815 AC_DEFINE(MOUSE_WHEEL, 1, Define to use wheel events (button4 and button5) to scroll) 788 AC_DEFINE(MOUSE_WHEEL, 1, Define to use wheel events (button4 and button5) to scroll)
816fi 789fi
817if test x$support_mouseslipwheel = xyes; then 790if test x$support_mouseslipwheel = xyes; then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines