… | |
… | |
111 | support_scroll_next=yes |
111 | support_scroll_next=yes |
112 | support_scroll_xterm=yes |
112 | support_scroll_xterm=yes |
113 | support_scroll_plain=yes |
113 | support_scroll_plain=yes |
114 | support_xim=yes |
114 | support_xim=yes |
115 | support_xpm=yes |
115 | support_xpm=yes |
|
|
116 | support_afterimage=yes |
|
|
117 | support_afterstep=yes |
116 | support_xft=yes |
118 | support_xft=yes |
117 | support_unicode3=no |
119 | support_unicode3=no |
118 | support_combining=yes |
120 | support_combining=yes |
119 | support_8bitctrls=no |
121 | support_8bitctrls=no |
120 | support_iso14755=yes |
122 | support_iso14755=yes |
… | |
… | |
155 | support_scroll_plain=no |
157 | support_scroll_plain=no |
156 | support_utmp=no |
158 | support_utmp=no |
157 | support_wtmp=no |
159 | support_wtmp=no |
158 | support_xim=no |
160 | support_xim=no |
159 | support_xpm=no |
161 | support_xpm=no |
|
|
162 | support_afterimage=no |
|
|
163 | support_afterstep=no |
160 | support_xft=no |
164 | support_xft=no |
161 | support_unicode3=no |
165 | support_unicode3=no |
162 | support_combining=no |
166 | support_combining=no |
163 | support_8bitctrls=no |
167 | support_8bitctrls=no |
164 | support_iso14755=no |
168 | support_iso14755=no |
… | |
… | |
184 | support_scroll_plain=yes |
188 | support_scroll_plain=yes |
185 | support_utmp=yes |
189 | support_utmp=yes |
186 | support_wtmp=yes |
190 | support_wtmp=yes |
187 | support_xim=yes |
191 | support_xim=yes |
188 | support_xpm=yes |
192 | support_xpm=yes |
|
|
193 | support_afterimage=yes |
|
|
194 | support_afterstep=yes |
189 | support_xft=yes |
195 | support_xft=yes |
190 | support_unicode3=yes |
196 | support_unicode3=yes |
191 | support_combining=yes |
197 | support_combining=yes |
192 | #support_8bitctrls=yes |
198 | #support_8bitctrls=yes |
193 | support_iso14755=yes |
199 | support_iso14755=yes |
… | |
… | |
220 | [if test x$enableval = xyes -o x$enableval = xno; then |
226 | [if test x$enableval = xyes -o x$enableval = xno; then |
221 | support_styles=$enableval |
227 | support_styles=$enableval |
222 | fi]) |
228 | fi]) |
223 | |
229 | |
224 | AC_ARG_ENABLE(xpm-background, |
230 | AC_ARG_ENABLE(xpm-background, |
225 | [ --enable-xpm-background enable XPM background pixmaps], |
231 | [ --enable-xpm-background enable background pixmaps], |
226 | [if test x$enableval = xyes -o x$enableval = xno; then |
232 | [if test x$enableval = xyes -o x$enableval = xno; then |
227 | support_xpm=$enableval |
233 | support_xpm=$enableval |
|
|
234 | fi]) |
|
|
235 | |
|
|
236 | AC_ARG_ENABLE(afterimage, |
|
|
237 | [ --enable-afterimage enable integration with libAfterImage for background images], |
|
|
238 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
239 | support_afterimage=$enableval |
|
|
240 | fi]) |
|
|
241 | |
|
|
242 | AC_ARG_WITH(afterimage_config, [ --with-afterimage-config=DIR use libAfterImage config script in DIR], afterimage_config="$withval",afterimage_config=NO) |
|
|
243 | |
|
|
244 | AC_ARG_ENABLE(afterstep, |
|
|
245 | [ --enable-afterstep enable integration with AfterStep window manager], |
|
|
246 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
247 | support_afterstep=$enableval |
228 | fi]) |
248 | fi]) |
229 | |
249 | |
230 | AC_ARG_ENABLE(transparency, |
250 | AC_ARG_ENABLE(transparency, |
231 | [ --enable-transparency enable transparent backgrounds], |
251 | [ --enable-transparency enable transparent backgrounds], |
232 | [if test x$enableval = xyes -o x$enableval = xno; then |
252 | [if test x$enableval = xyes -o x$enableval = xno; then |
… | |
… | |
441 | AC_PATH_XTRA |
461 | AC_PATH_XTRA |
442 | |
462 | |
443 | dnl# the only reasonable way to find libXpm is do-it-yourself |
463 | dnl# the only reasonable way to find libXpm is do-it-yourself |
444 | dnl# only check if we want xpm-background |
464 | dnl# only check if we want xpm-background |
445 | |
465 | |
|
|
466 | LIBAFTERIMAGE_CFLAGS= |
|
|
467 | AFTERIMAGE_LIBS= |
|
|
468 | have_afterimage= |
|
|
469 | |
446 | if test x$support_xpm = xyes; then |
470 | if test x$support_afterimage == xyes; then |
|
|
471 | AC_MSG_CHECKING(installed libAfterImage) |
|
|
472 | support_afterimage=no |
|
|
473 | if test "$afterimage_config" = "NO" ; then |
|
|
474 | if afterimage-config --version > /dev/null 2>&1 ; then |
|
|
475 | afterimage_config=afterimage-config |
|
|
476 | else |
|
|
477 | if test -x /usr/local/bin/afterimage-config; then |
|
|
478 | afterimage_config=/usr/local/bin/afterimage-config |
|
|
479 | fi |
|
|
480 | fi |
|
|
481 | else |
|
|
482 | afterimage_config=$afterimage_config/afterimage-config |
|
|
483 | fi |
|
|
484 | if $afterimage_config --version > /dev/null 2>&1 ; then |
|
|
485 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
|
|
486 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
|
|
487 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
|
|
488 | support_afterimage=yes |
|
|
489 | fi |
|
|
490 | fi |
|
|
491 | |
|
|
492 | if test "x$support_afterimage" = "xyes"; then |
|
|
493 | AC_MSG_RESULT($AFTERIMAGE_LIBS) |
|
|
494 | else |
|
|
495 | AC_MSG_RESULT(afterimage-config not found in $afterimage_config - can't use libAfterImage for images.) |
|
|
496 | fi |
|
|
497 | fi |
|
|
498 | |
|
|
499 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
447 | VT_FIND_LIBXPM |
500 | VT_FIND_LIBXPM |
448 | if test x$no_xpm = xyes; then |
501 | if test x$no_xpm = xyes; then |
449 | support_xpm=needsmanualspecification |
502 | support_xpm=needsmanualspecification |
450 | fi |
503 | fi |
451 | fi |
504 | fi |
… | |
… | |
803 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
856 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
804 | if test x$rxvt_cv_func_xlocale = xyes; then |
857 | if test x$rxvt_cv_func_xlocale = xyes; then |
805 | AC_DEFINE(USE_XIM, 1, Define if you want to have XIM (X Input Method) protocol support - required for multibyte characters input) |
858 | AC_DEFINE(USE_XIM, 1, Define if you want to have XIM (X Input Method) protocol support - required for multibyte characters input) |
806 | fi |
859 | fi |
807 | fi |
860 | fi |
808 | if test x$support_xpm = xyes; then |
861 | if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then |
809 | AC_DEFINE(XPM_BACKGROUND, 1, Define if you want to have sexy-looking background pixmaps. Needs libXpm) |
862 | AC_DEFINE(XPM_BACKGROUND, 1, Define if you want to have sexy-looking background pixmaps. Needs libXpm or libAfterImage) |
810 | fi |
863 | fi |
|
|
864 | |
|
|
865 | if test x$support_afterimage = xyes; then |
|
|
866 | AC_DEFINE(HAVE_AFTERIMAGE, 1, Define if you want to use libAfterImage for image processing) |
|
|
867 | fi |
|
|
868 | |
|
|
869 | if test x$support_afterstep = xyes; then |
|
|
870 | AC_DEFINE(AFTERSTEP_INTEGRATION, 1, Define if you want to integrate with AfterStep window manager) |
|
|
871 | fi |
|
|
872 | |
811 | if test x$support_scroll_rxvt = xyes; then |
873 | if test x$support_scroll_rxvt = xyes; then |
812 | AC_DEFINE(RXVT_SCROLLBAR, 1, Support Rxvt original style scrollbars) |
874 | AC_DEFINE(RXVT_SCROLLBAR, 1, Support Rxvt original style scrollbars) |
813 | scrolltypes="rxvt" |
875 | scrolltypes="rxvt" |
814 | fi |
876 | fi |
815 | if test x$support_scroll_next = xyes; then |
877 | if test x$support_scroll_next = xyes; then |
… | |
… | |
917 | AC_SUBST(DLIB) |
979 | AC_SUBST(DLIB) |
918 | AC_SUBST(LIBS) |
980 | AC_SUBST(LIBS) |
919 | AC_SUBST(X_LIBS) |
981 | AC_SUBST(X_LIBS) |
920 | AC_SUBST(X_EXTRA_LIBS) |
982 | AC_SUBST(X_EXTRA_LIBS) |
921 | |
983 | |
|
|
984 | AC_SUBST(LIBAFTERIMAGE_CFLAGS) |
|
|
985 | AC_SUBST(AFTERIMAGE_LIBS) |
|
|
986 | |
922 | AC_ARG_PROGRAM |
987 | AC_ARG_PROGRAM |
923 | |
988 | |
924 | dnl# test for "sun" or "__sun__" before include sys_ioctl |
989 | dnl# test for "sun" or "__sun__" before include sys_ioctl |
925 | |
990 | |
926 | dnl# revert HAVE_BLAH_H into a "#include <blah.h>" |
991 | dnl# revert HAVE_BLAH_H into a "#include <blah.h>" |
… | |
… | |
964 | |
1029 | |
965 | if test x$support_xpm = xyes; then |
1030 | if test x$support_xpm = xyes; then |
966 | echo " Xpm library: $XPM_LIBS" |
1031 | echo " Xpm library: $XPM_LIBS" |
967 | fi |
1032 | fi |
968 | |
1033 | |
|
|
1034 | if test x$support_afterimage = xyes; then |
|
|
1035 | echo " AfterImage library: $AFTERIMAGE_LIBS" |
|
|
1036 | fi |
|
|
1037 | |
|
|
1038 | if test x$support_afterstep = xyes; then |
|
|
1039 | echo " With AfterStep integration" |
|
|
1040 | fi |
|
|
1041 | |
969 | if test x$term != x; then |
1042 | if test x$term != x; then |
970 | echo " set TERM to: $term" |
1043 | echo " set TERM to: $term" |
971 | fi |
1044 | fi |
972 | if test x$terminfo != x; then |
1045 | if test x$terminfo != x; then |
973 | echo " set TERMINFO to: $terminfo" |
1046 | echo " set TERMINFO to: $terminfo" |