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

Comparing cvsroot/rxvt-unicode/configure.ac (file contents):
Revision 1.28 by ayin, Mon Jan 23 10:41:16 2006 UTC vs.
Revision 1.34 by root, Tue Jan 31 20:09:06 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
286 [ --enable-plain-scroll enable plain style scrollbar], 274 [ --enable-plain-scroll enable plain style scrollbar],
287 [if test x$enableval = xyes -o x$enableval = xno; then 275 [if test x$enableval = xyes -o x$enableval = xno; then
288 support_scroll_plain=$enableval 276 support_scroll_plain=$enableval
289 fi]) 277 fi])
290 278
291dnl AC_ARG_ENABLE(half-shadow,
292dnl [ --enable-half-shadow use half width/height shadow on rxvt scrollbar],
293dnl [if test x$enableval = xyes; then
294dnl AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less)
295dnl fi])
296
297AC_ARG_WITH(codesets, 279AC_ARG_WITH(codesets,
298 [ --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)], 280 [ --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)],
299 [codesets="$withval"]) 281 [codesets="$withval"])
300 282
301AC_ARG_ENABLE(xim, 283AC_ARG_ENABLE(xim,
376 358
377AC_ARG_ENABLE(frills, 359AC_ARG_ENABLE(frills,
378 [ --enable-frills enable support for rarely used features], 360 [ --enable-frills enable support for rarely used features],
379 [if test x$enableval = xyes -o x$enableval = xno; then 361 [if test x$enableval = xyes -o x$enableval = xno; then
380 support_frills=$enableval 362 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]) 363 fi])
388 364
389AC_ARG_ENABLE(keepscrolling, 365AC_ARG_ENABLE(keepscrolling,
390 [ --enable-keepscrolling enable continual scrolling on scrollbar arrow press], 366 [ --enable-keepscrolling enable continual scrolling on scrollbar arrow press],
391 [if test x$enableval = xyes -o x$enableval = xno; then 367 [if test x$enableval = xyes -o x$enableval = xno; then
660dnl> AC_FUNC_VPRINTF 636dnl> AC_FUNC_VPRINTF
661 637
662AC_CHECK_FUNCS( \ 638AC_CHECK_FUNCS( \
663 unsetenv \ 639 unsetenv \
664 setutent \ 640 setutent \
665 seteuid \
666 setresuid \
667 setreuid \
668 on_exit \ 641 on_exit \
669) 642)
670 643
671UTMP_CHECK 644UTMP_CHECK
672 645
802if test x$support_selectionscrolling = xyes; then 775if 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) 776 AC_DEFINE(SELECTION_SCROLLING, 1, Define to allow scrolling when the selection moves to the top or bottom of the screen)
804fi 777fi
805if test x$support_frills = xyes; then 778if test x$support_frills = xyes; then
806 AC_DEFINE(ENABLE_FRILLS, 1, Define if you want handling for rarely used but handy features) 779 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 780fi
811if test x$support_mousewheel = xyes; then 781if test x$support_mousewheel = xyes; then
812 AC_DEFINE(MOUSE_WHEEL, 1, Define to use wheel events (button4 and button5) to scroll) 782 AC_DEFINE(MOUSE_WHEEL, 1, Define to use wheel events (button4 and button5) to scroll)
813fi 783fi
814if test x$support_mouseslipwheel = xyes; then 784if test x$support_mouseslipwheel = xyes; then
1016 echo ". functions could not be found. ." 986 echo ". functions could not be found. ."
1017 echo ". XIM is now being DISABLED! ." 987 echo ". XIM is now being DISABLED! ."
1018 echo ".----------------------------------------------------------------." 988 echo ".----------------------------------------------------------------."
1019fi 989fi
1020 990
1021echo " *** Optionally check src/feature.h for further options ***" 991echo "*** Optionally check src/feature.h for further, rarely used options ***"
1022echo 992echo
1023 993
1024echo ".----------------------------------------------------------------."
1025echo ". NOTE: some features are disabled by default, try ."
1026echo ". configure --help to get an idea of the optional features, ."
1027echo ". or read ./README.configure ."
1028echo ". ."
1029echo ". The script ./reconf gives a reasonable baseline, try it if ."
1030echo ". you do not want to read documentation and still want some ."
1031echo ". useful features. ."
1032echo ".----------------------------------------------------------------."
1033echo
1034

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines