1 | dnl# -*- sh -*- |
1 | dnl# -*- sh -*- |
2 | dnl# |
2 | dnl# |
3 | dnl# $Id: configure.in,v 1.4 2003/12/18 00:38:07 pcg Exp $ |
3 | dnl# $Id: configure.in,v 1.5 2004/01/16 18:49:33 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) |
… | |
… | |
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 | |
|
|
110 | echo |
|
|
111 | if test x$support_inheritpixmap = xyes; then |
|
|
112 | support_inheritpixmap=no |
|
|
113 | echo "******* transparency support disabled, does not work" |
|
|
114 | fi |
|
|
115 | if test x$support_xpm = xyes; then |
|
|
116 | support_xpm=no |
|
|
117 | echo "******* pixmap support disabled, does not work" |
|
|
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 |
|
|
124 | support_menubar=no |
|
|
125 | echo "******* menubar support disabled, does not work" |
|
|
126 | fi |
|
|
127 | echo |
|
|
128 | |
110 | AC_ARG_ENABLE(unicode3, |
129 | AC_ARG_ENABLE(unicode3, |
111 | [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters], |
130 | [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters], |
112 | [if test x$enableval = xyes; then |
131 | [if test x$enableval = xyes; then |
113 | support_unicode3=yes |
132 | support_unicode3=yes |
114 | fi]) |
133 | fi]) |
… | |
… | |
330 | [ --enable-smart-resize enable smart growth/shrink behaviour], |
349 | [ --enable-smart-resize enable smart growth/shrink behaviour], |
331 | [if test x$enableval = xyes; then |
350 | [if test x$enableval = xyes; then |
332 | AC_DEFINE(SMART_RESIZE, 1, Define to use "smart" resize behavior) |
351 | AC_DEFINE(SMART_RESIZE, 1, Define to use "smart" resize behavior) |
333 | fi]) |
352 | fi]) |
334 | |
353 | |
|
|
354 | AC_ARG_ENABLE(256-color, |
|
|
355 | [ --enable-256-color enable 256-color support], |
|
|
356 | [if test x$enableval = xyes; then |
335 | AC_DEFINE(TTY_256COLOR, 1, Define if you want 256 colour support) |
357 | AC_DEFINE(TTY_256COLOR, 1, Define if you want 256 colour support) |
|
|
358 | fi]) |
336 | |
359 | |
337 | AC_ARG_ENABLE(cursor-blink, |
360 | AC_ARG_ENABLE(cursor-blink, |
338 | [ --enable-cursor-blink enable blinking cursor *], |
361 | [ --enable-cursor-blink enable blinking cursor *], |
339 | [if test x$enableval = xyes -o x$enableval = xno; then |
362 | [if test x$enableval = xyes -o x$enableval = xno; then |
340 | support_cursor_blink=$enableval |
363 | support_cursor_blink=$enableval |
… | |
… | |
1267 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
1290 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
1268 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
1291 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
1269 | |
1292 | |
1270 | AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no]) |
1293 | AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no]) |
1271 | AC_CHECK_LIB(Xft,XftDrawString32,,[support_xft=no]) |
1294 | AC_CHECK_LIB(Xft,XftDrawString32,,[support_xft=no]) |
|
|
1295 | |
|
|
1296 | if test x$support_xft = xyes; then |
1272 | AC_DEFINE(XFT, 1, Define to enable xft support) |
1297 | AC_DEFINE(XFT, 1, Define to enable xft support) |
|
|
1298 | fi |
1273 | fi |
1299 | fi |
1274 | |
1300 | |
1275 | AC_OUTPUT(autoconf/Make.common \ |
1301 | AC_OUTPUT(autoconf/Make.common \ |
1276 | Makefile \ |
1302 | Makefile \ |
1277 | doc/Makefile \ |
1303 | doc/Makefile \ |