1 | dnl# -*- sh -*- |
1 | dnl# -*- sh -*- |
2 | dnl# |
2 | dnl# |
3 | dnl# $Id: configure.in,v 1.5 2004/01/16 18:49:33 pcg Exp $ |
3 | dnl# $Id: configure.in,v 1.6 2004/01/29 21:34:14 pcg Exp $ |
4 | dnl# |
4 | dnl# |
5 | dnl# Process this file with autoconf to produce a configure script. |
5 | dnl# Process this file with autoconf to produce a configure script. |
6 | dnl# |
6 | dnl# |
7 | AC_INIT(src/feature.h) |
7 | AC_INIT(src/feature.h) |
8 | AC_CONFIG_AUX_DIR(autoconf) |
8 | AC_CONFIG_AUX_DIR(autoconf) |
… | |
… | |
42 | |
42 | |
43 | MALLOC_TYPE=S |
43 | MALLOC_TYPE=S |
44 | support_addstrings=no |
44 | support_addstrings=no |
45 | support_frills=no |
45 | support_frills=no |
46 | support_linespace=no |
46 | support_linespace=no |
47 | support_graphics=no |
|
|
48 | support_inheritpixmap=no |
47 | support_inheritpixmap=no |
49 | support_keepscrolling=no |
48 | support_keepscrolling=no |
50 | support_selectionscrolling=no |
49 | support_selectionscrolling=no |
51 | support_menubar=no |
50 | support_menubar=no |
52 | support_mousewheel=no |
51 | support_mousewheel=no |
… | |
… | |
54 | support_oldselection=no |
53 | support_oldselection=no |
55 | support_utmp=no |
54 | support_utmp=no |
56 | support_wtmp=no |
55 | support_wtmp=no |
57 | support_lastlog=no |
56 | support_lastlog=no |
58 | support_cursor_blink=no |
57 | support_cursor_blink=no |
|
|
58 | support_text_blink=no |
59 | support_pointer_blank=no |
59 | support_pointer_blank=no |
60 | support_scroll_rxvt=no |
60 | support_scroll_rxvt=no |
61 | support_scroll_next=no |
61 | support_scroll_next=no |
62 | support_scroll_xterm=no |
62 | support_scroll_xterm=no |
63 | support_xim=no |
63 | support_xim=no |
… | |
… | |
82 | NOTE: automatically enabled with --enable-shared], |
82 | NOTE: automatically enabled with --enable-shared], |
83 | [if test x$enableval = xyes; then |
83 | [if test x$enableval = xyes; then |
84 | support_24bit=yes |
84 | support_24bit=yes |
85 | support_frills=yes |
85 | support_frills=yes |
86 | support_linespace=yes |
86 | support_linespace=yes |
87 | support_graphics=yes |
|
|
88 | support_inheritpixmap=yes |
87 | support_inheritpixmap=yes |
89 | support_keepscrolling=yes |
88 | support_keepscrolling=yes |
90 | support_selectionscrolling=yes |
89 | support_selectionscrolling=yes |
91 | support_lastlog=yes |
90 | support_lastlog=yes |
92 | support_menubar=yes |
91 | support_menubar=yes |
93 | support_mousewheel=yes |
92 | support_mousewheel=yes |
94 | support_mouseslipwheel=yes |
93 | support_mouseslipwheel=yes |
95 | support_oldselection=yes |
94 | support_oldselection=yes |
96 | support_cursor_blink=yes |
95 | support_cursor_blink=yes |
|
|
96 | support_text_blink=yes |
97 | support_pointer_blank=yes |
97 | support_pointer_blank=yes |
98 | support_scroll_rxvt=yes |
98 | support_scroll_rxvt=yes |
99 | support_scroll_next=yes |
99 | support_scroll_next=yes |
100 | support_scroll_xterm=yes |
100 | support_scroll_xterm=yes |
101 | support_utmp=yes |
101 | support_utmp=yes |
… | |
… | |
114 | fi |
114 | fi |
115 | if test x$support_xpm = xyes; then |
115 | if test x$support_xpm = xyes; then |
116 | support_xpm=no |
116 | support_xpm=no |
117 | echo "******* pixmap support disabled, does not work" |
117 | echo "******* pixmap support disabled, does not work" |
118 | fi |
118 | fi |
119 | if test x$support_graphics = xyes; then |
|
|
120 | support_graphics=no |
|
|
121 | echo "******* graphics support disabled, does not work" |
|
|
122 | fi |
|
|
123 | if test x$support_menubar = xyes; then |
119 | if test x$support_menubar = xyes; then |
124 | support_menubar=no |
120 | support_menubar=no |
125 | echo "******* menubar support disabled, does not work" |
121 | echo "******* menubar support disabled, does not work" |
126 | fi |
122 | fi |
127 | echo |
123 | echo |
… | |
… | |
184 | |
180 | |
185 | AC_ARG_ENABLE(menubar, |
181 | AC_ARG_ENABLE(menubar, |
186 | [ --enable-menubar enable menubar *], |
182 | [ --enable-menubar enable menubar *], |
187 | [if test x$enableval = xyes -o x$enableval = xno; then |
183 | [if test x$enableval = xyes -o x$enableval = xno; then |
188 | support_menubar=$enableval |
184 | support_menubar=$enableval |
189 | fi]) |
|
|
190 | |
|
|
191 | AC_ARG_ENABLE(graphics, |
|
|
192 | [ --enable-graphics enable rxvt own graphics mode (see src/graphics) *], |
|
|
193 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
194 | support_graphics=$enableval |
|
|
195 | fi]) |
185 | fi]) |
196 | |
186 | |
197 | AC_ARG_ENABLE(rxvt-scroll, |
187 | AC_ARG_ENABLE(rxvt-scroll, |
198 | [ --enable-rxvt-scroll enable rxvt style scrollbar *], |
188 | [ --enable-rxvt-scroll enable rxvt style scrollbar *], |
199 | [if test x$enableval = xyes -o x$enableval = xno; then |
189 | [if test x$enableval = xyes -o x$enableval = xno; then |
… | |
… | |
356 | [if test x$enableval = xyes; then |
346 | [if test x$enableval = xyes; then |
357 | AC_DEFINE(TTY_256COLOR, 1, Define if you want 256 colour support) |
347 | AC_DEFINE(TTY_256COLOR, 1, Define if you want 256 colour support) |
358 | fi]) |
348 | fi]) |
359 | |
349 | |
360 | AC_ARG_ENABLE(cursor-blink, |
350 | AC_ARG_ENABLE(cursor-blink, |
361 | [ --enable-cursor-blink enable blinking cursor *], |
351 | [ --enable-cursor-blink enable blinking cursor], |
362 | [if test x$enableval = xyes -o x$enableval = xno; then |
352 | [if test x$enableval = xyes -o x$enableval = xno; then |
363 | support_cursor_blink=$enableval |
353 | support_cursor_blink=$enableval |
364 | fi]) |
354 | fi]) |
365 | |
355 | |
|
|
356 | AC_ARG_ENABLE(text-blink, |
|
|
357 | [ --enable-text-blink enable blinking text], |
|
|
358 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
359 | support_text_blink=$enableval |
|
|
360 | fi]) |
|
|
361 | |
366 | AC_ARG_ENABLE(pointer-blank, |
362 | AC_ARG_ENABLE(pointer-blank, |
367 | [ --enable-pointer-blank enable pointer blank when typing or inactive pointer*], |
363 | [ --enable-pointer-blank enable pointer blank when typing or inactive pointer], |
368 | [if test x$enableval = xyes -o x$enableval = xno; then |
364 | [if test x$enableval = xyes -o x$enableval = xno; then |
369 | support_pointer_blank=$enableval |
365 | support_pointer_blank=$enableval |
370 | fi]) |
366 | fi]) |
371 | |
367 | |
372 | AC_ARG_WITH(term, |
368 | AC_ARG_WITH(term, |
… | |
… | |
1133 | AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"]) |
1129 | AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"]) |
1134 | |
1130 | |
1135 | dnl# -------------------------------------------------------------------------- |
1131 | dnl# -------------------------------------------------------------------------- |
1136 | dnl# now add and remove other stuff |
1132 | dnl# now add and remove other stuff |
1137 | dnl# -------------------------------------------------------------------------- |
1133 | dnl# -------------------------------------------------------------------------- |
1138 | if test x$support_graphics = xyes; then |
|
|
1139 | AC_DEFINE(RXVT_GRAPHICS, 1, Define if you want Rob Nation's own graphic mode) |
|
|
1140 | fi |
|
|
1141 | if test x$support_inheritpixmap = xyes; then |
1134 | if test x$support_inheritpixmap = xyes; then |
1142 | AC_DEFINE(TRANSPARENT, 1, Define if you want your background to use the parent window background) |
1135 | AC_DEFINE(TRANSPARENT, 1, Define if you want your background to use the parent window background) |
1143 | fi |
1136 | fi |
1144 | if test x$support_keepscrolling = xno; then |
1137 | if test x$support_keepscrolling = xno; then |
1145 | AC_DEFINE(NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING, 1, Define for continual scrolling when you keep the scrollbar button pressed) |
1138 | AC_DEFINE(NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING, 1, Define for continual scrolling when you keep the scrollbar button pressed) |
… | |
… | |
1200 | if test x$support_pointer_blank = xyes; then |
1193 | if test x$support_pointer_blank = xyes; then |
1201 | AC_DEFINE(POINTER_BLANK, 1, Define if you want hide the pointer while typing) |
1194 | AC_DEFINE(POINTER_BLANK, 1, Define if you want hide the pointer while typing) |
1202 | fi |
1195 | fi |
1203 | if test x$support_cursor_blink = xyes; then |
1196 | if test x$support_cursor_blink = xyes; then |
1204 | AC_DEFINE(CURSOR_BLINK, 1, Define if you want blinking cursor support) |
1197 | AC_DEFINE(CURSOR_BLINK, 1, Define if you want blinking cursor support) |
|
|
1198 | fi |
|
|
1199 | if test x$support_test_blink = xyes; then |
|
|
1200 | AC_DEFINE(TEXT_BLINK, 1, Define if you want blinking text support) |
1205 | fi |
1201 | fi |
1206 | if test x$support_unicode3 = xyes; then |
1202 | if test x$support_unicode3 = xyes; then |
1207 | AC_DEFINE(UNICODE_3, 1, Define if you want to represent unicode characters outside plane 0) |
1203 | AC_DEFINE(UNICODE_3, 1, Define if you want to represent unicode characters outside plane 0) |
1208 | fi |
1204 | fi |
1209 | if test x$codesets = xall; then |
1205 | if test x$codesets = xall; then |
… | |
… | |
1300 | |
1296 | |
1301 | AC_OUTPUT(autoconf/Make.common \ |
1297 | AC_OUTPUT(autoconf/Make.common \ |
1302 | Makefile \ |
1298 | Makefile \ |
1303 | doc/Makefile \ |
1299 | doc/Makefile \ |
1304 | src/Makefile \ |
1300 | src/Makefile \ |
1305 | src/graphics/Makefile \ |
|
|
1306 | src/test/Makefile \ |
1301 | src/test/Makefile \ |
1307 | src/rxvtlib.h \ |
1302 | src/rxvtlib.h \ |
1308 | W11/Makefile \ |
1303 | W11/Makefile \ |
1309 | ) |
1304 | ) |
1310 | |
1305 | |