… | |
… | |
92 | support_xft=no |
92 | support_xft=no |
93 | support_unicode3=no |
93 | support_unicode3=no |
94 | support_combining=no |
94 | support_combining=no |
95 | support_8bitctrls=no |
95 | support_8bitctrls=no |
96 | support_iso14755=no |
96 | support_iso14755=no |
|
|
97 | support_styles=no |
97 | codesets= |
98 | codesets= |
98 | |
99 | |
99 | dnl# -------------------------------------------------------------------------- |
100 | dnl# -------------------------------------------------------------------------- |
100 | dnl# CHECKING COMMAND LINE OPTIONS |
101 | dnl# CHECKING COMMAND LINE OPTIONS |
101 | dnl# -------------------------------------------------------------------------- |
102 | dnl# -------------------------------------------------------------------------- |
… | |
… | |
137 | support_xft=yes |
138 | support_xft=yes |
138 | support_unicode3=yes |
139 | support_unicode3=yes |
139 | support_combining=yes |
140 | support_combining=yes |
140 | #support_8bitctrls=yes |
141 | #support_8bitctrls=yes |
141 | support_iso14755=yes |
142 | support_iso14755=yes |
|
|
143 | support_styles=yes |
142 | codesets=all |
144 | codesets=all |
143 | fi]) |
145 | fi]) |
144 | |
146 | |
145 | AC_ARG_ENABLE(unicode3, |
147 | AC_ARG_ENABLE(unicode3, |
146 | [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters], |
148 | [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters], |
… | |
… | |
156 | |
158 | |
157 | AC_ARG_ENABLE(xft, |
159 | AC_ARG_ENABLE(xft, |
158 | [ --enable-xft enable xft support on systems that have it], |
160 | [ --enable-xft enable xft support on systems that have it], |
159 | [if test x$enableval = xyes -o x$enableval = xno; then |
161 | [if test x$enableval = xyes -o x$enableval = xno; then |
160 | support_xft=yes |
162 | support_xft=yes |
|
|
163 | fi]) |
|
|
164 | |
|
|
165 | AC_ARG_ENABLE(font-styles, |
|
|
166 | [ --enable-font-styles enable bold and italic support], |
|
|
167 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
168 | support_styles=yes |
161 | fi]) |
169 | fi]) |
162 | |
170 | |
163 | AC_ARG_ENABLE(utmp, |
171 | AC_ARG_ENABLE(utmp, |
164 | [ --enable-utmp enable utmp (utmpx) support], |
172 | [ --enable-utmp enable utmp (utmpx) support], |
165 | [if test x$enableval = xyes -o x$enableval = xno; then |
173 | [if test x$enableval = xyes -o x$enableval = xno; then |
… | |
… | |
1173 | fi |
1181 | fi |
1174 | |
1182 | |
1175 | dnl# -------------------------------------------------------------------------- |
1183 | dnl# -------------------------------------------------------------------------- |
1176 | dnl# now add and remove other stuff |
1184 | dnl# now add and remove other stuff |
1177 | dnl# -------------------------------------------------------------------------- |
1185 | dnl# -------------------------------------------------------------------------- |
|
|
1186 | if test x$support_xft = xyes; then |
|
|
1187 | LIBS="$LIBS `pkg-config xft --libs`" |
|
|
1188 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
1189 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
|
|
1190 | |
|
|
1191 | AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no]) |
|
|
1192 | AC_CHECK_LIB(Xft,XftDrawString32,,[support_xft=no]) |
|
|
1193 | |
|
|
1194 | if test x$support_xft = xyes; then |
|
|
1195 | AC_DEFINE(XFT, 1, Define to enable xft support) |
|
|
1196 | fi |
|
|
1197 | fi |
|
|
1198 | if test x$support_styles = xyes; then |
|
|
1199 | AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support) |
|
|
1200 | fi |
1178 | if test x$support_iso14755 = xyes; then |
1201 | if test x$support_iso14755 = xyes; then |
1179 | AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support) |
1202 | AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support) |
1180 | fi |
1203 | fi |
1181 | if test x$support_8bitctrls = xyes; then |
1204 | if test x$support_8bitctrls = xyes; then |
1182 | AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) |
1205 | AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) |
… | |
… | |
1335 | RXVT_DEFINE_TO_INCLUDE(include_sys_ioctl_h, sys/ioctl.h, rxvt_cv_header_sysioctl, yes, notset, dontmatch) |
1358 | RXVT_DEFINE_TO_INCLUDE(include_sys_ioctl_h, sys/ioctl.h, rxvt_cv_header_sysioctl, yes, notset, dontmatch) |
1336 | RXVT_DEFINE_TO_INCLUDE(include_sys_select_h, sys/select.h, ac_cv_header_sys_select_h, yes, notset, dontmatch) |
1359 | RXVT_DEFINE_TO_INCLUDE(include_sys_select_h, sys/select.h, ac_cv_header_sys_select_h, yes, notset, dontmatch) |
1337 | RXVT_DEFINE_TO_INCLUDE(include_sys_strredir_h, sys/strredir.h, ac_cv_header_sys_strredir_h, yes, notset, dontmatch) |
1360 | RXVT_DEFINE_TO_INCLUDE(include_sys_strredir_h, sys/strredir.h, ac_cv_header_sys_strredir_h, yes, notset, dontmatch) |
1338 | RXVT_DEFINE_TO_INCLUDE(include_sys_time_h, sys/time.h, ac_cv_header_sys_time_h, yes, notset, dontmatch) |
1361 | RXVT_DEFINE_TO_INCLUDE(include_sys_time_h, sys/time.h, ac_cv_header_sys_time_h, yes, notset, dontmatch) |
1339 | RXVT_DEFINE_TO_INCLUDE(include_time_h, time.h, ac_cv_header_sys_time_h, no, ac_cv_header_time, yes) |
1362 | RXVT_DEFINE_TO_INCLUDE(include_time_h, time.h, ac_cv_header_sys_time_h, no, ac_cv_header_time, yes) |
1340 | |
|
|
1341 | if test x$support_xft = xyes; then |
|
|
1342 | LIBS="$LIBS `pkg-config xft --libs`" |
|
|
1343 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
1344 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
|
|
1345 | |
|
|
1346 | AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no]) |
|
|
1347 | AC_CHECK_LIB(Xft,XftDrawString32,,[support_xft=no]) |
|
|
1348 | |
|
|
1349 | if test x$support_xft = xyes; then |
|
|
1350 | AC_DEFINE(XFT, 1, Define to enable xft support) |
|
|
1351 | fi |
|
|
1352 | fi |
|
|
1353 | |
1363 | |
1354 | AC_CONFIG_FILES([autoconf/Make.common \ |
1364 | AC_CONFIG_FILES([autoconf/Make.common \ |
1355 | Makefile \ |
1365 | Makefile \ |
1356 | doc/Makefile \ |
1366 | doc/Makefile \ |
1357 | src/Makefile \ |
1367 | src/Makefile \ |