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

Comparing rxvt-unicode/autoconf/configure.in (file contents):
Revision 1.4 by pcg, Thu Dec 18 00:38:07 2003 UTC vs.
Revision 1.6 by pcg, Thu Jan 29 21:34:14 2004 UTC

1dnl# -*- sh -*- 1dnl# -*- sh -*-
2dnl# 2dnl#
3dnl# $Id: configure.in,v 1.4 2003/12/18 00:38:07 pcg Exp $ 3dnl# $Id: configure.in,v 1.6 2004/01/29 21:34:14 pcg Exp $
4dnl# 4dnl#
5dnl# Process this file with autoconf to produce a configure script. 5dnl# Process this file with autoconf to produce a configure script.
6dnl# 6dnl#
7AC_INIT(src/feature.h) 7AC_INIT(src/feature.h)
8AC_CONFIG_AUX_DIR(autoconf) 8AC_CONFIG_AUX_DIR(autoconf)
42 42
43MALLOC_TYPE=S 43MALLOC_TYPE=S
44support_addstrings=no 44support_addstrings=no
45support_frills=no 45support_frills=no
46support_linespace=no 46support_linespace=no
47support_graphics=no
48support_inheritpixmap=no 47support_inheritpixmap=no
49support_keepscrolling=no 48support_keepscrolling=no
50support_selectionscrolling=no 49support_selectionscrolling=no
51support_menubar=no 50support_menubar=no
52support_mousewheel=no 51support_mousewheel=no
54support_oldselection=no 53support_oldselection=no
55support_utmp=no 54support_utmp=no
56support_wtmp=no 55support_wtmp=no
57support_lastlog=no 56support_lastlog=no
58support_cursor_blink=no 57support_cursor_blink=no
58support_text_blink=no
59support_pointer_blank=no 59support_pointer_blank=no
60support_scroll_rxvt=no 60support_scroll_rxvt=no
61support_scroll_next=no 61support_scroll_next=no
62support_scroll_xterm=no 62support_scroll_xterm=no
63support_xim=no 63support_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
105 support_xft=yes 105 support_xft=yes
106 support_unicode3=yes 106 support_unicode3=yes
107 codesets=all 107 codesets=all
108 fi]) 108 fi])
109 109
110echo
111if test x$support_inheritpixmap = xyes; then
112 support_inheritpixmap=no
113 echo "******* transparency support disabled, does not work"
114fi
115if test x$support_xpm = xyes; then
116 support_xpm=no
117 echo "******* pixmap support disabled, does not work"
118fi
119if test x$support_menubar = xyes; then
120 support_menubar=no
121 echo "******* menubar support disabled, does not work"
122fi
123echo
124
110AC_ARG_ENABLE(unicode3, 125AC_ARG_ENABLE(unicode3,
111 [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters], 126 [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters],
112 [if test x$enableval = xyes; then 127 [if test x$enableval = xyes; then
113 support_unicode3=yes 128 support_unicode3=yes
114 fi]) 129 fi])
165 180
166AC_ARG_ENABLE(menubar, 181AC_ARG_ENABLE(menubar,
167 [ --enable-menubar enable menubar *], 182 [ --enable-menubar enable menubar *],
168 [if test x$enableval = xyes -o x$enableval = xno; then 183 [if test x$enableval = xyes -o x$enableval = xno; then
169 support_menubar=$enableval 184 support_menubar=$enableval
170 fi])
171
172AC_ARG_ENABLE(graphics,
173 [ --enable-graphics enable rxvt own graphics mode (see src/graphics) *],
174 [if test x$enableval = xyes -o x$enableval = xno; then
175 support_graphics=$enableval
176 fi]) 185 fi])
177 186
178AC_ARG_ENABLE(rxvt-scroll, 187AC_ARG_ENABLE(rxvt-scroll,
179 [ --enable-rxvt-scroll enable rxvt style scrollbar *], 188 [ --enable-rxvt-scroll enable rxvt style scrollbar *],
180 [if test x$enableval = xyes -o x$enableval = xno; then 189 [if test x$enableval = xyes -o x$enableval = xno; then
330 [ --enable-smart-resize enable smart growth/shrink behaviour], 339 [ --enable-smart-resize enable smart growth/shrink behaviour],
331 [if test x$enableval = xyes; then 340 [if test x$enableval = xyes; then
332 AC_DEFINE(SMART_RESIZE, 1, Define to use "smart" resize behavior) 341 AC_DEFINE(SMART_RESIZE, 1, Define to use "smart" resize behavior)
333 fi]) 342 fi])
334 343
344AC_ARG_ENABLE(256-color,
345 [ --enable-256-color enable 256-color support],
346 [if test x$enableval = xyes; then
335AC_DEFINE(TTY_256COLOR, 1, Define if you want 256 colour support) 347 AC_DEFINE(TTY_256COLOR, 1, Define if you want 256 colour support)
348 fi])
336 349
337AC_ARG_ENABLE(cursor-blink, 350AC_ARG_ENABLE(cursor-blink,
338 [ --enable-cursor-blink enable blinking cursor *], 351 [ --enable-cursor-blink enable blinking cursor],
339 [if test x$enableval = xyes -o x$enableval = xno; then 352 [if test x$enableval = xyes -o x$enableval = xno; then
340 support_cursor_blink=$enableval 353 support_cursor_blink=$enableval
341 fi]) 354 fi])
342 355
356AC_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
343AC_ARG_ENABLE(pointer-blank, 362AC_ARG_ENABLE(pointer-blank,
344 [ --enable-pointer-blank enable pointer blank when typing or inactive pointer*], 363 [ --enable-pointer-blank enable pointer blank when typing or inactive pointer],
345 [if test x$enableval = xyes -o x$enableval = xno; then 364 [if test x$enableval = xyes -o x$enableval = xno; then
346 support_pointer_blank=$enableval 365 support_pointer_blank=$enableval
347 fi]) 366 fi])
348 367
349AC_ARG_WITH(term, 368AC_ARG_WITH(term,
1110AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"]) 1129AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])
1111 1130
1112dnl# -------------------------------------------------------------------------- 1131dnl# --------------------------------------------------------------------------
1113dnl# now add and remove other stuff 1132dnl# now add and remove other stuff
1114dnl# -------------------------------------------------------------------------- 1133dnl# --------------------------------------------------------------------------
1115if test x$support_graphics = xyes; then
1116 AC_DEFINE(RXVT_GRAPHICS, 1, Define if you want Rob Nation's own graphic mode)
1117fi
1118if test x$support_inheritpixmap = xyes; then 1134if test x$support_inheritpixmap = xyes; then
1119 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)
1120fi 1136fi
1121if test x$support_keepscrolling = xno; then 1137if test x$support_keepscrolling = xno; then
1122 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)
1177if test x$support_pointer_blank = xyes; then 1193if test x$support_pointer_blank = xyes; then
1178 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)
1179fi 1195fi
1180if test x$support_cursor_blink = xyes; then 1196if test x$support_cursor_blink = xyes; then
1181 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)
1198fi
1199if test x$support_test_blink = xyes; then
1200 AC_DEFINE(TEXT_BLINK, 1, Define if you want blinking text support)
1182fi 1201fi
1183if test x$support_unicode3 = xyes; then 1202if test x$support_unicode3 = xyes; then
1184 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)
1185fi 1204fi
1186if test x$codesets = xall; then 1205if test x$codesets = xall; then
1267 CFLAGS="$CFLAGS `pkg-config xft --cflags`" 1286 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
1268 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 1287 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
1269 1288
1270 AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no]) 1289 AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no])
1271 AC_CHECK_LIB(Xft,XftDrawString32,,[support_xft=no]) 1290 AC_CHECK_LIB(Xft,XftDrawString32,,[support_xft=no])
1291
1292 if test x$support_xft = xyes; then
1272 AC_DEFINE(XFT, 1, Define to enable xft support) 1293 AC_DEFINE(XFT, 1, Define to enable xft support)
1294 fi
1273fi 1295fi
1274 1296
1275AC_OUTPUT(autoconf/Make.common \ 1297AC_OUTPUT(autoconf/Make.common \
1276Makefile \ 1298Makefile \
1277doc/Makefile \ 1299doc/Makefile \
1278src/Makefile \ 1300src/Makefile \
1279src/graphics/Makefile \
1280src/test/Makefile \ 1301src/test/Makefile \
1281src/rxvtlib.h \ 1302src/rxvtlib.h \
1282W11/Makefile \ 1303W11/Makefile \
1283) 1304)
1284 1305

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines