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.28 by ayin, Mon Jan 23 10:41:16 2006 UTC vs.
Revision 1.31 by root, Sat Jan 28 21:25:12 2006 UTC

91AC_CHECK_FUNC(setlocale, [], [AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])]) 91AC_CHECK_FUNC(setlocale, [], [AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])])
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
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 96
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
147 [ --enable-everything enable standard non-multichoice features 137 [ --enable-everything enable standard non-multichoice features
148 NOTE: this option is order dependent 138 NOTE: this option is order dependent
149 NOTE: automatically enabled with --enable-shared], 139 NOTE: automatically enabled with --enable-shared],
150 [ 140 [
151 if test x$enableval = xno; then 141 if test x$enableval = xno; then
152 support_24bit=no
153 support_frills=no 142 support_frills=no
154 support_inheritpixmap=no 143 support_inheritpixmap=no
155 support_tinting=no 144 support_tinting=no
156 support_fading=no 145 support_fading=no
157 support_keepscrolling=no 146 support_keepscrolling=no
177 support_styles=no 166 support_styles=no
178 support_perl=no 167 support_perl=no
179 codesets= 168 codesets=
180 fi 169 fi
181 if test x$enableval = xyes; then 170 if test x$enableval = xyes; then
182 support_24bit=yes
183 support_frills=yes 171 support_frills=yes
184 support_inheritpixmap=yes 172 support_inheritpixmap=yes
185 support_tinting=yes 173 support_tinting=yes
186 support_fading=yes 174 support_fading=yes
187 support_keepscrolling=yes 175 support_keepscrolling=yes
376 364
377AC_ARG_ENABLE(frills, 365AC_ARG_ENABLE(frills,
378 [ --enable-frills enable support for rarely used features], 366 [ --enable-frills enable support for rarely used features],
379 [if test x$enableval = xyes -o x$enableval = xno; then 367 [if test x$enableval = xyes -o x$enableval = xno; then
380 support_frills=$enableval 368 support_frills=$enableval
381 fi])
382
383AC_ARG_ENABLE(24bit,
384 [ --enable-24bit enable support for using 24bit visuals if available],
385 [if test x$enableval = xyes -o x$enableval = xno; then
386 support_24bit=$enableval
387 fi]) 369 fi])
388 370
389AC_ARG_ENABLE(keepscrolling, 371AC_ARG_ENABLE(keepscrolling,
390 [ --enable-keepscrolling enable continual scrolling on scrollbar arrow press], 372 [ --enable-keepscrolling enable continual scrolling on scrollbar arrow press],
391 [if test x$enableval = xyes -o x$enableval = xno; then 373 [if test x$enableval = xyes -o x$enableval = xno; then
660dnl> AC_FUNC_VPRINTF 642dnl> AC_FUNC_VPRINTF
661 643
662AC_CHECK_FUNCS( \ 644AC_CHECK_FUNCS( \
663 unsetenv \ 645 unsetenv \
664 setutent \ 646 setutent \
665 seteuid \
666 setresuid \
667 setreuid \
668 on_exit \ 647 on_exit \
669) 648)
670 649
671UTMP_CHECK 650UTMP_CHECK
672 651
802if test x$support_selectionscrolling = xyes; then 781if test x$support_selectionscrolling = xyes; then
803 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)
804fi 783fi
805if test x$support_frills = xyes; then 784if test x$support_frills = xyes; then
806 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)
807fi
808if test x$support_24bit = xyes; then
809 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)
810fi 786fi
811if test x$support_mousewheel = xyes; then 787if test x$support_mousewheel = xyes; then
812 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)
813fi 789fi
814if test x$support_mouseslipwheel = xyes; then 790if test x$support_mouseslipwheel = xyes; then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines