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.35 by root, Tue Aug 17 09:16:40 2004 UTC vs.
Revision 1.38 by root, Sun Aug 22 01:40:31 2004 UTC

92support_xft=no 92support_xft=no
93support_unicode3=no 93support_unicode3=no
94support_combining=no 94support_combining=no
95support_8bitctrls=no 95support_8bitctrls=no
96support_iso14755=no 96support_iso14755=no
97support_styles=no
97codesets= 98codesets=
98 99
99dnl# -------------------------------------------------------------------------- 100dnl# --------------------------------------------------------------------------
100dnl# CHECKING COMMAND LINE OPTIONS 101dnl# CHECKING COMMAND LINE OPTIONS
101dnl# -------------------------------------------------------------------------- 102dnl# --------------------------------------------------------------------------
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
145AC_ARG_ENABLE(unicode3, 147AC_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],
147 [if test x$enableval = xyes -o x$enableval = xno; then 149 [if test x$enableval = xyes -o x$enableval = xno; then
148 support_unicode3=yes 150 support_unicode3=$enableval
149 fi]) 151 fi])
150 152
151AC_ARG_ENABLE(combining, 153AC_ARG_ENABLE(combining,
152 [ --enable-combining enable composition of base and combining characters], 154 [ --enable-combining enable composition of base and combining characters],
153 [if test x$enableval = xyes -o x$enableval = xno; then 155 [if test x$enableval = xyes -o x$enableval = xno; then
154 support_combining=yes 156 support_combining=$enableval
155 fi]) 157 fi])
156 158
157AC_ARG_ENABLE(xft, 159AC_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=$enableval
163 fi])
164
165AC_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=$enableval
161 fi]) 169 fi])
162 170
163AC_ARG_ENABLE(utmp, 171AC_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
279 fi]) 287 fi])
280 288
281AC_ARG_ENABLE(8bitctrls, 289AC_ARG_ENABLE(8bitctrls,
282 [ --enable-8bitctrls enable 8 bit control sequences (not recommended)], 290 [ --enable-8bitctrls enable 8 bit control sequences (not recommended)],
283 [if test x$enableval = xyes -o x$enableval = xno; then 291 [if test x$enableval = xyes -o x$enableval = xno; then
284 support_8bitctrls=yes 292 support_8bitctrls=$enableval
285 fi]) 293 fi])
286 294
287RESFALLBACK=Rxvt 295RESFALLBACK=Rxvt
288AC_ARG_ENABLE(fallback, 296AC_ARG_ENABLE(fallback,
289 [ --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)], 297 [ --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)],
311 319
312RXVTNAME=urxvt 320RXVTNAME=urxvt
313AC_ARG_WITH(name, 321AC_ARG_WITH(name,
314 [ --with-name=NAME set the basename for the installed binaries (default: urxvt)], 322 [ --with-name=NAME set the basename for the installed binaries (default: urxvt)],
315 [RXVTNAME="$withval"]) 323 [RXVTNAME="$withval"])
324AC_DEFINE_UNQUOTED(RXVTNAME,"$RXVTNAME", [Binary base name])
316 325
317RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 326RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
318AC_SUBST(RXVTNAME) 327AC_SUBST(RXVTNAME)
319 328
320AC_ARG_ENABLE(strings, 329AC_ARG_ENABLE(strings,
1173fi 1182fi
1174 1183
1175dnl# -------------------------------------------------------------------------- 1184dnl# --------------------------------------------------------------------------
1176dnl# now add and remove other stuff 1185dnl# now add and remove other stuff
1177dnl# -------------------------------------------------------------------------- 1186dnl# --------------------------------------------------------------------------
1187if test x$support_xft = xyes; then
1188 LIBS="$LIBS `pkg-config xft --libs`"
1189 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
1190 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
1191
1192 AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no])
1193 AC_CHECK_LIB(Xft,XftDrawString32,,[support_xft=no])
1194
1195 if test x$support_xft = xyes; then
1196 AC_DEFINE(XFT, 1, Define to enable xft support)
1197 fi
1198fi
1199if test x$support_styles = xyes; then
1200 AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support)
1201fi
1178if test x$support_iso14755 = xyes; then 1202if test x$support_iso14755 = xyes; then
1179 AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support) 1203 AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support)
1180fi 1204fi
1181if test x$support_8bitctrls = xyes; then 1205if test x$support_8bitctrls = xyes; then
1182 AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) 1206 AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences)
1335RXVT_DEFINE_TO_INCLUDE(include_sys_ioctl_h, sys/ioctl.h, rxvt_cv_header_sysioctl, yes, notset, dontmatch) 1359RXVT_DEFINE_TO_INCLUDE(include_sys_ioctl_h, sys/ioctl.h, rxvt_cv_header_sysioctl, yes, notset, dontmatch)
1336RXVT_DEFINE_TO_INCLUDE(include_sys_select_h, sys/select.h, ac_cv_header_sys_select_h, yes, notset, dontmatch) 1360RXVT_DEFINE_TO_INCLUDE(include_sys_select_h, sys/select.h, ac_cv_header_sys_select_h, yes, notset, dontmatch)
1337RXVT_DEFINE_TO_INCLUDE(include_sys_strredir_h, sys/strredir.h, ac_cv_header_sys_strredir_h, yes, notset, dontmatch) 1361RXVT_DEFINE_TO_INCLUDE(include_sys_strredir_h, sys/strredir.h, ac_cv_header_sys_strredir_h, yes, notset, dontmatch)
1338RXVT_DEFINE_TO_INCLUDE(include_sys_time_h, sys/time.h, ac_cv_header_sys_time_h, yes, notset, dontmatch) 1362RXVT_DEFINE_TO_INCLUDE(include_sys_time_h, sys/time.h, ac_cv_header_sys_time_h, yes, notset, dontmatch)
1339RXVT_DEFINE_TO_INCLUDE(include_time_h, time.h, ac_cv_header_sys_time_h, no, ac_cv_header_time, yes) 1363RXVT_DEFINE_TO_INCLUDE(include_time_h, time.h, ac_cv_header_sys_time_h, no, ac_cv_header_time, yes)
1340
1341if 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
1352fi
1353 1364
1354AC_CONFIG_FILES([autoconf/Make.common \ 1365AC_CONFIG_FILES([autoconf/Make.common \
1355Makefile \ 1366Makefile \
1356doc/Makefile \ 1367doc/Makefile \
1357src/Makefile \ 1368src/Makefile \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines