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.3 by pcg, Wed Dec 17 23:21:56 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.3 2003/12/17 23:21:56 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
337 [if test x$enableval = xyes; then 346 [if test x$enableval = xyes; then
338 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)
339 fi]) 348 fi])
340 349
341AC_ARG_ENABLE(cursor-blink, 350AC_ARG_ENABLE(cursor-blink,
342 [ --enable-cursor-blink enable blinking cursor *], 351 [ --enable-cursor-blink enable blinking cursor],
343 [if test x$enableval = xyes -o x$enableval = xno; then 352 [if test x$enableval = xyes -o x$enableval = xno; then
344 support_cursor_blink=$enableval 353 support_cursor_blink=$enableval
345 fi]) 354 fi])
346 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
347AC_ARG_ENABLE(pointer-blank, 362AC_ARG_ENABLE(pointer-blank,
348 [ --enable-pointer-blank enable pointer blank when typing or inactive pointer*], 363 [ --enable-pointer-blank enable pointer blank when typing or inactive pointer],
349 [if test x$enableval = xyes -o x$enableval = xno; then 364 [if test x$enableval = xyes -o x$enableval = xno; then
350 support_pointer_blank=$enableval 365 support_pointer_blank=$enableval
351 fi]) 366 fi])
352 367
353AC_ARG_WITH(term, 368AC_ARG_WITH(term,
1114AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"]) 1129AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])
1115 1130
1116dnl# -------------------------------------------------------------------------- 1131dnl# --------------------------------------------------------------------------
1117dnl# now add and remove other stuff 1132dnl# now add and remove other stuff
1118dnl# -------------------------------------------------------------------------- 1133dnl# --------------------------------------------------------------------------
1119if test x$support_graphics = xyes; then
1120 AC_DEFINE(RXVT_GRAPHICS, 1, Define if you want Rob Nation's own graphic mode)
1121fi
1122if test x$support_inheritpixmap = xyes; then 1134if test x$support_inheritpixmap = xyes; then
1123 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)
1124fi 1136fi
1125if test x$support_keepscrolling = xno; then 1137if test x$support_keepscrolling = xno; then
1126 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)
1181if test x$support_pointer_blank = xyes; then 1193if test x$support_pointer_blank = xyes; then
1182 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)
1183fi 1195fi
1184if test x$support_cursor_blink = xyes; then 1196if test x$support_cursor_blink = xyes; then
1185 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)
1186fi 1201fi
1187if test x$support_unicode3 = xyes; then 1202if test x$support_unicode3 = xyes; then
1188 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)
1189fi 1204fi
1190if test x$codesets = xall; then 1205if test x$codesets = xall; then
1271 CFLAGS="$CFLAGS `pkg-config xft --cflags`" 1286 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
1272 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 1287 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
1273 1288
1274 AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no]) 1289 AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no])
1275 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
1276 AC_DEFINE(XFT, 1, Define to enable xft support) 1293 AC_DEFINE(XFT, 1, Define to enable xft support)
1294 fi
1277fi 1295fi
1278 1296
1279AC_OUTPUT(autoconf/Make.common \ 1297AC_OUTPUT(autoconf/Make.common \
1280Makefile \ 1298Makefile \
1281doc/Makefile \ 1299doc/Makefile \
1282src/Makefile \ 1300src/Makefile \
1283src/graphics/Makefile \
1284src/test/Makefile \ 1301src/test/Makefile \
1285src/rxvtlib.h \ 1302src/rxvtlib.h \
1286W11/Makefile \ 1303W11/Makefile \
1287) 1304)
1288 1305

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines