1 | dnl# -*- sh -*- |
1 | dnl# -*- sh -*- |
2 | dnl# |
2 | dnl# |
3 | dnl# $Id: configure.in,v 1.1 2003/11/24 17:28:08 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]) |
… | |
… | |
118 | [if test x$enableval = xyes; then |
137 | [if test x$enableval = xyes; then |
119 | support_xft=yes |
138 | support_xft=yes |
120 | fi]) |
139 | fi]) |
121 | |
140 | |
122 | AC_ARG_WITH(codesets, |
141 | AC_ARG_WITH(codesets, |
123 | [ --with-codesets=NAME,... compile in additional codesets (hp,jp_ext,kr,cn,cn_ext,vn,all)], |
142 | [ --with-codesets=NAME,... compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,vn,all)], |
124 | [if test x$enableval = xyes; then |
143 | [if test x$enableval = xyes; then |
125 | codesets="$withval" |
144 | codesets="$withval" |
126 | fi]) |
145 | fi]) |
127 | |
146 | |
128 | AC_ARG_WITH(encoding, |
147 | AC_ARG_WITH(encoding, |
… | |
… | |
1271 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
1290 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
1272 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
1291 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
1273 | |
1292 | |
1274 | AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no]) |
1293 | AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no]) |
1275 | 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 |
1276 | AC_DEFINE(XFT, 1, Define to enable xft support) |
1297 | AC_DEFINE(XFT, 1, Define to enable xft support) |
|
|
1298 | fi |
1277 | fi |
1299 | fi |
1278 | |
1300 | |
1279 | AC_OUTPUT(autoconf/Make.common \ |
1301 | AC_OUTPUT(autoconf/Make.common \ |
1280 | Makefile \ |
1302 | Makefile \ |
1281 | doc/Makefile \ |
1303 | doc/Makefile \ |