… | |
… | |
105 | [AC_MSG_RESULT(no)]) |
105 | [AC_MSG_RESULT(no)]) |
106 | |
106 | |
107 | dnl AC_ENABLE_SHARED(no)dnl# libtool |
107 | dnl AC_ENABLE_SHARED(no)dnl# libtool |
108 | dnl AC_ENABLE_STATIC(yes)dnl# libtool |
108 | dnl AC_ENABLE_STATIC(yes)dnl# libtool |
109 | dnl AC_PROG_LIBTOOL()dnl# libtool |
109 | dnl AC_PROG_LIBTOOL()dnl# libtool |
110 | |
|
|
111 | MALLOC_TYPE=S |
|
|
112 | |
110 | |
113 | support_frills=yes |
111 | support_frills=yes |
114 | support_inheritpixmap=yes |
112 | support_inheritpixmap=yes |
115 | support_tinting=yes |
113 | support_tinting=yes |
116 | support_fading=yes |
114 | support_fading=yes |
… | |
… | |
237 | [ --enable-font-styles enable bold and italic support], |
235 | [ --enable-font-styles enable bold and italic support], |
238 | [if test x$enableval = xyes -o x$enableval = xno; then |
236 | [if test x$enableval = xyes -o x$enableval = xno; then |
239 | support_styles=$enableval |
237 | support_styles=$enableval |
240 | fi]) |
238 | fi]) |
241 | |
239 | |
242 | AC_ARG_ENABLE(utmp, |
|
|
243 | [ --enable-utmp enable utmp (utmpx) support], |
|
|
244 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
245 | support_utmp=$enableval |
|
|
246 | fi]) |
|
|
247 | |
|
|
248 | AC_ARG_ENABLE(wtmp, |
|
|
249 | [ --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)], |
|
|
250 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
251 | support_wtmp=$enableval |
|
|
252 | fi]) |
|
|
253 | |
|
|
254 | AC_ARG_ENABLE(lastlog, |
|
|
255 | [ --enable-lastlog enable lastlog support (requires --enable-utmp)], |
|
|
256 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
257 | support_lastlog=$enableval |
|
|
258 | fi]) |
|
|
259 | |
|
|
260 | AC_ARG_ENABLE(xpm-background, |
240 | AC_ARG_ENABLE(xpm-background, |
261 | [ --enable-xpm-background enable XPM background pixmaps], |
241 | [ --enable-xpm-background enable XPM background pixmaps], |
262 | [if test x$enableval = xyes -o x$enableval = xno; then |
242 | [if test x$enableval = xyes -o x$enableval = xno; then |
263 | support_xpm=$enableval |
243 | support_xpm=$enableval |
264 | fi]) |
244 | fi]) |
… | |
… | |
429 | |
409 | |
430 | AC_ARG_ENABLE(slipwheeling, |
410 | AC_ARG_ENABLE(slipwheeling, |
431 | [ --enable-slipwheeling enable slip wheel scrolling (requires previous)], |
411 | [ --enable-slipwheeling enable slip wheel scrolling (requires previous)], |
432 | [if test x$enableval = xyes -o x$enableval = xno; then |
412 | [if test x$enableval = xyes -o x$enableval = xno; then |
433 | support_mouseslipwheel=$enableval |
413 | support_mouseslipwheel=$enableval |
434 | fi]) |
|
|
435 | |
|
|
436 | AC_ARG_ENABLE(dmalloc, |
|
|
437 | [ --enable-dmalloc enable Gray Watson's malloc - for debugging use], |
|
|
438 | [if test x$enableval = xyes; then |
|
|
439 | MALLOC_TYPE=G |
|
|
440 | DEBUG=-DDEBUG_MALLOC |
|
|
441 | DLIB="-L/usr/local/lib -ldmalloc" |
|
|
442 | DINCLUDE=-I/usr/local/include |
|
|
443 | fi]) |
|
|
444 | |
|
|
445 | AC_ARG_ENABLE(dlmalloc, |
|
|
446 | [ --enable-dlmalloc enable Doug Lea's malloc - for production use |
|
|
447 | NOTE: enable only one malloc package], |
|
|
448 | [if test x$enableval = xyes; then |
|
|
449 | MALLOC_TYPE=D |
|
|
450 | DEBUG= |
|
|
451 | DLIB="-L/usr/local/lib -ldlmalloc" |
|
|
452 | DINCLUDE= |
|
|
453 | fi]) |
414 | fi]) |
454 | |
415 | |
455 | AC_ARG_ENABLE(smart-resize, |
416 | AC_ARG_ENABLE(smart-resize, |
456 | [ --enable-smart-resize enable smart growth/shrink behaviour], |
417 | [ --enable-smart-resize enable smart growth/shrink behaviour], |
457 | [if test x$enableval = xyes; then |
418 | [if test x$enableval = xyes; then |
… | |
… | |
854 | AC_DEFINE(MOUSE_WHEEL, 1, Define to use wheel events (button4 and button5) to scroll) |
815 | AC_DEFINE(MOUSE_WHEEL, 1, Define to use wheel events (button4 and button5) to scroll) |
855 | fi |
816 | fi |
856 | if test x$support_mouseslipwheel = xyes; then |
817 | if test x$support_mouseslipwheel = xyes; then |
857 | AC_DEFINE(MOUSE_SLIP_WHEELING, 1, Define to have CTRL cause wheel events to accelerate scrolling. Release CTRL to halt scrolling) |
818 | AC_DEFINE(MOUSE_SLIP_WHEELING, 1, Define to have CTRL cause wheel events to accelerate scrolling. Release CTRL to halt scrolling) |
858 | fi |
819 | fi |
859 | if test x$support_utmp = xyes; then |
|
|
860 | AC_DEFINE(UTMP_SUPPORT, 1, Define if you want to have utmp/utmpx support) |
|
|
861 | fi |
|
|
862 | if test x$support_wtmp = xyes; then |
|
|
863 | AC_DEFINE(WTMP_SUPPORT, 1, Define if you want to have wtmp support when utmp/utmpx is enabled) |
|
|
864 | fi |
|
|
865 | if test x$support_lastlog = xyes; then |
|
|
866 | AC_DEFINE(LASTLOG_SUPPORT, 1, Define if you want to have lastlog support when utmp/utmpx is enabled) |
|
|
867 | fi |
|
|
868 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
820 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
869 | if test x$rxvt_cv_func_xlocale = xyes; then |
821 | if test x$rxvt_cv_func_xlocale = xyes; then |
870 | AC_DEFINE(USE_XIM, 1, Define if you want to have XIM (X Input Method) protocol support - required for multibyte characters input) |
822 | AC_DEFINE(USE_XIM, 1, Define if you want to have XIM (X Input Method) protocol support - required for multibyte characters input) |
871 | fi |
823 | fi |
872 | fi |
824 | fi |
… | |
… | |
1031 | Install path: ${prefix}/bin |
983 | Install path: ${prefix}/bin |
1032 | Compiler: $CXX |
984 | Compiler: $CXX |
1033 | Compiler flags: $CFLAGS |
985 | Compiler flags: $CFLAGS |
1034 | Linker: $LINKER" |
986 | Linker: $LINKER" |
1035 | |
987 | |
1036 | if test "$MALLOC_TYPE" = S; then |
|
|
1037 | echo " malloc support: system default" |
|
|
1038 | fi |
|
|
1039 | if test "$MALLOC_TYPE" = G; then |
|
|
1040 | echo " malloc support: Gray Watson's dmalloc" |
|
|
1041 | fi |
|
|
1042 | if test "$MALLOC_TYPE" = D; then |
|
|
1043 | echo " malloc support: Doug Lea's malloc" |
|
|
1044 | fi |
|
|
1045 | |
|
|
1046 | if test x$support_xpm = xyes; then |
988 | if test x$support_xpm = xyes; then |
1047 | echo " Xpm library: $XPM_LIBS" |
989 | echo " Xpm library: $XPM_LIBS" |
1048 | fi |
990 | fi |
1049 | |
991 | |
1050 | if test x$support_utmp != xyes; then |
|
|
1051 | echo " utmp support: disabled" |
|
|
1052 | echo |
|
|
1053 | else |
|
|
1054 | echo " utmp support: enabled |
|
|
1055 | utmp file: $path_utmp |
|
|
1056 | utmpx file: $path_utmpx |
|
|
1057 | wtmp file: $path_wtmp |
|
|
1058 | wtmpx file: $path_wtmpx |
|
|
1059 | lastlog file: $path_lastlog |
|
|
1060 | lastlogx file: $path_lastlogx" |
|
|
1061 | fi |
|
|
1062 | if test x$term != x; then |
992 | if test x$term != x; then |
1063 | echo " set TERM to: $term" |
993 | echo " set TERM to: $term" |
1064 | fi |
994 | fi |
1065 | if test x$terminfo != x; then |
995 | if test x$terminfo != x; then |
1066 | echo " set TERMINFO to: $terminfo" |
996 | echo " set TERMINFO to: $terminfo" |