… | |
… | |
99 | support_mousewheel=no |
99 | support_mousewheel=no |
100 | support_mouseslipwheel=no |
100 | support_mouseslipwheel=no |
101 | support_utmp=no |
101 | support_utmp=no |
102 | support_wtmp=no |
102 | support_wtmp=no |
103 | support_lastlog=no |
103 | support_lastlog=no |
104 | support_cursor_blink=no |
|
|
105 | support_text_blink=no |
104 | support_text_blink=no |
106 | support_pointer_blank=no |
105 | support_pointer_blank=no |
107 | support_scroll_rxvt=no |
106 | support_scroll_rxvt=no |
108 | support_scroll_next=no |
107 | support_scroll_next=no |
109 | support_scroll_xterm=no |
108 | support_scroll_xterm=no |
… | |
… | |
142 | support_selectionscrolling=yes |
141 | support_selectionscrolling=yes |
143 | support_lastlog=yes |
142 | support_lastlog=yes |
144 | support_menubar=yes |
143 | support_menubar=yes |
145 | support_mousewheel=yes |
144 | support_mousewheel=yes |
146 | support_mouseslipwheel=yes |
145 | support_mouseslipwheel=yes |
147 | support_cursor_blink=yes |
|
|
148 | support_text_blink=yes |
146 | support_text_blink=yes |
149 | support_pointer_blank=yes |
147 | support_pointer_blank=yes |
150 | support_scroll_rxvt=yes |
148 | support_scroll_rxvt=yes |
151 | support_scroll_next=yes |
149 | support_scroll_next=yes |
152 | support_scroll_xterm=yes |
150 | support_scroll_xterm=yes |
… | |
… | |
421 | |
419 | |
422 | AC_ARG_ENABLE(smart-resize, |
420 | AC_ARG_ENABLE(smart-resize, |
423 | [ --enable-smart-resize enable smart growth/shrink behaviour], |
421 | [ --enable-smart-resize enable smart growth/shrink behaviour], |
424 | [if test x$enableval = xyes; then |
422 | [if test x$enableval = xyes; then |
425 | AC_DEFINE(SMART_RESIZE, 1, Define to use "smart" resize behavior) |
423 | AC_DEFINE(SMART_RESIZE, 1, Define to use "smart" resize behavior) |
426 | fi]) |
|
|
427 | |
|
|
428 | AC_ARG_ENABLE(cursor-blink, |
|
|
429 | [ --enable-cursor-blink enable blinking cursor], |
|
|
430 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
431 | support_cursor_blink=$enableval |
|
|
432 | fi]) |
424 | fi]) |
433 | |
425 | |
434 | AC_ARG_ENABLE(text-blink, |
426 | AC_ARG_ENABLE(text-blink, |
435 | [ --enable-text-blink enable blinking text], |
427 | [ --enable-text-blink enable blinking text], |
436 | [if test x$enableval = xyes -o x$enableval = xno; then |
428 | [if test x$enableval = xyes -o x$enableval = xno; then |
… | |
… | |
707 | unlockpt \ |
699 | unlockpt \ |
708 | isastream \ |
700 | isastream \ |
709 | on_exit \ |
701 | on_exit \ |
710 | nanosleep \ |
702 | nanosleep \ |
711 | updwtmp \ |
703 | updwtmp \ |
|
|
704 | updwtmpx \ |
712 | ttyslot \ |
705 | ttyslot \ |
713 | ) |
706 | ) |
714 | dnl# Note: On NetBSD, openpty() exists in libutil. Don't pull it in |
707 | dnl# Note: On NetBSD, openpty() exists in libutil. Don't pull it in |
715 | |
708 | |
716 | dnl# -------------------------------------------------------------------------- |
709 | dnl# -------------------------------------------------------------------------- |
… | |
… | |
759 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> |
752 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> |
760 | #include <utmpx.h>]], [[struct utmpx utx; utx.ut_host;]])],[rxvt_cv_struct_utmpx_host=yes],[rxvt_cv_struct_utmpx_host=no])]) |
753 | #include <utmpx.h>]], [[struct utmpx utx; utx.ut_host;]])],[rxvt_cv_struct_utmpx_host=yes],[rxvt_cv_struct_utmpx_host=no])]) |
761 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
754 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
762 | AC_DEFINE(HAVE_UTMPX_HOST, 1, Define if struct utmpx contains ut_host) |
755 | AC_DEFINE(HAVE_UTMPX_HOST, 1, Define if struct utmpx contains ut_host) |
763 | fi |
756 | fi |
|
|
757 | |
|
|
758 | AC_CACHE_CHECK(for session in utmpx struct, rxvt_cv_struct_utmpx_session, |
|
|
759 | [AC_TRY_COMPILE([#include <sys/types.h> |
|
|
760 | #include <utmpx.h>], |
|
|
761 | [struct utmpx utx; utx.ut_session;], |
|
|
762 | rxvt_cv_struct_utmpx_session=yes, rxvt_cv_struct_utmpx_session=no)]) |
|
|
763 | if test x$rxvt_cv_struct_utmpx_session = xyes; then |
|
|
764 | AC_DEFINE(HAVE_UTMPX_SESSION, 1, Define if struct utmpx contains ut_session) |
|
|
765 | fi |
764 | ) dnl# AC_CHECK_HEADER(utmpx.h |
766 | ) dnl# AC_CHECK_HEADER(utmpx.h |
765 | |
|
|
766 | |
767 | |
767 | dnl# -------------------------------------------------------------------------- |
768 | dnl# -------------------------------------------------------------------------- |
768 | dnl# check for struct lastlog |
769 | dnl# check for struct lastlog |
769 | AC_CACHE_CHECK(for struct lastlog, rxvt_cv_struct_lastlog, |
770 | AC_CACHE_CHECK(for struct lastlog, rxvt_cv_struct_lastlog, |
770 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> |
771 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> |
… | |
… | |
1271 | scrolltypes="$scrolltypes plain" |
1272 | scrolltypes="$scrolltypes plain" |
1272 | fi |
1273 | fi |
1273 | if test x$support_pointer_blank = xyes; then |
1274 | if test x$support_pointer_blank = xyes; then |
1274 | AC_DEFINE(POINTER_BLANK, 1, Define if you want hide the pointer while typing) |
1275 | AC_DEFINE(POINTER_BLANK, 1, Define if you want hide the pointer while typing) |
1275 | fi |
1276 | fi |
1276 | if test x$support_cursor_blink = xyes; then |
|
|
1277 | AC_DEFINE(CURSOR_BLINK, 1, Define if you want blinking cursor support) |
|
|
1278 | fi |
|
|
1279 | if test x$support_text_blink = xyes; then |
1277 | if test x$support_text_blink = xyes; then |
1280 | AC_DEFINE(TEXT_BLINK, 1, Define if you want blinking text support) |
1278 | AC_DEFINE(TEXT_BLINK, 1, Define if you want blinking text support) |
1281 | fi |
1279 | fi |
1282 | if test x$support_unicode3 = xyes; then |
1280 | if test x$support_unicode3 = xyes; then |
1283 | AC_DEFINE(UNICODE_3, 1, Define if you want to represent unicode characters outside plane 0) |
1281 | AC_DEFINE(UNICODE_3, 1, Define if you want to represent unicode characters outside plane 0) |
… | |
… | |
1443 | echo ". functions could not be found. ." |
1441 | echo ". functions could not be found. ." |
1444 | echo ". XIM is now being DISABLED! ." |
1442 | echo ". XIM is now being DISABLED! ." |
1445 | echo ".----------------------------------------------------------------." |
1443 | echo ".----------------------------------------------------------------." |
1446 | fi |
1444 | fi |
1447 | |
1445 | |
1448 | echo " *** Please check src/feature.h for further options ***" |
1446 | echo " *** Optionally check src/feature.h for further options ***" |
1449 | echo |
1447 | echo |
1450 | |
1448 | |
1451 | echo ".----------------------------------------------------------------." |
1449 | echo ".----------------------------------------------------------------." |
1452 | echo ". NOTE: most features are disabled by default, try ." |
1450 | echo ". NOTE: most features are disabled by default, try ." |
1453 | echo ". configure --help to get an idea of the optional features ." |
1451 | echo ". configure --help to get an idea of the optional features, ." |
|
|
1452 | echo ". or read ./README.configure ." |
|
|
1453 | echo ". ." |
|
|
1454 | echo ". The script ./reconf gives a reasonable baseline, try it if ." |
|
|
1455 | echo ". you do not want to read documentation and still want some ." |
|
|
1456 | echo ". useful features. ." |
1454 | echo ".----------------------------------------------------------------." |
1457 | echo ".----------------------------------------------------------------." |
1455 | echo |
1458 | echo |
1456 | |
1459 | |