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.34 by root, Tue Aug 17 08:47:56 2004 UTC vs.
Revision 1.36 by root, Sat Aug 21 05:32:00 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],
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=yes
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=yes
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
457AC_PATH_PROG(LN, ln, ln) 465AC_PATH_PROG(LN, ln, ln)
458AC_PATH_PROG(SED, sed, sed) 466AC_PATH_PROG(SED, sed, sed)
459AC_PATH_PROG(ECHO, echo, echo) 467AC_PATH_PROG(ECHO, echo, echo)
460AC_PATH_PROG(CMP, cmp, cmp) 468AC_PATH_PROG(CMP, cmp, cmp)
461AC_PATH_PROG(TBL, tbl) 469AC_PATH_PROG(TBL, tbl)
470AC_PATH_PROG(TIC, tic)
462 471
463dnl# need a neat way to detect SVR4 or its features 472dnl# need a neat way to detect SVR4 or its features
464dnl# in src/command.c we use these functions: 473dnl# in src/command.c we use these functions:
465dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h> 474dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h>
466dnl# - but are these also defined for other systems? 475dnl# - but are these also defined for other systems?
1172fi 1181fi
1173 1182
1174dnl# -------------------------------------------------------------------------- 1183dnl# --------------------------------------------------------------------------
1175dnl# now add and remove other stuff 1184dnl# now add and remove other stuff
1176dnl# -------------------------------------------------------------------------- 1185dnl# --------------------------------------------------------------------------
1186if 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
1197fi
1198if test x$support_styles = xyes; then
1199 AC_DEFINE(ENABLE_STYLES, 1, Define if you want bold and italic support)
1200fi
1177if test x$support_iso14755 = xyes; then 1201if test x$support_iso14755 = xyes; then
1178 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)
1179fi 1203fi
1180if test x$support_8bitctrls = xyes; then 1204if test x$support_8bitctrls = xyes; then
1181 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)
1334RXVT_DEFINE_TO_INCLUDE(include_sys_ioctl_h, sys/ioctl.h, rxvt_cv_header_sysioctl, yes, notset, dontmatch) 1358RXVT_DEFINE_TO_INCLUDE(include_sys_ioctl_h, sys/ioctl.h, rxvt_cv_header_sysioctl, yes, notset, dontmatch)
1335RXVT_DEFINE_TO_INCLUDE(include_sys_select_h, sys/select.h, ac_cv_header_sys_select_h, yes, notset, dontmatch) 1359RXVT_DEFINE_TO_INCLUDE(include_sys_select_h, sys/select.h, ac_cv_header_sys_select_h, yes, notset, dontmatch)
1336RXVT_DEFINE_TO_INCLUDE(include_sys_strredir_h, sys/strredir.h, ac_cv_header_sys_strredir_h, yes, notset, dontmatch) 1360RXVT_DEFINE_TO_INCLUDE(include_sys_strredir_h, sys/strredir.h, ac_cv_header_sys_strredir_h, yes, notset, dontmatch)
1337RXVT_DEFINE_TO_INCLUDE(include_sys_time_h, sys/time.h, ac_cv_header_sys_time_h, yes, notset, dontmatch) 1361RXVT_DEFINE_TO_INCLUDE(include_sys_time_h, sys/time.h, ac_cv_header_sys_time_h, yes, notset, dontmatch)
1338RXVT_DEFINE_TO_INCLUDE(include_time_h, time.h, ac_cv_header_sys_time_h, no, ac_cv_header_time, yes) 1362RXVT_DEFINE_TO_INCLUDE(include_time_h, time.h, ac_cv_header_sys_time_h, no, ac_cv_header_time, yes)
1339
1340if test x$support_xft = xyes; then
1341 LIBS="$LIBS `pkg-config xft --libs`"
1342 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
1343 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
1344
1345 AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no])
1346 AC_CHECK_LIB(Xft,XftDrawString32,,[support_xft=no])
1347
1348 if test x$support_xft = xyes; then
1349 AC_DEFINE(XFT, 1, Define to enable xft support)
1350 fi
1351fi
1352 1363
1353AC_CONFIG_FILES([autoconf/Make.common \ 1364AC_CONFIG_FILES([autoconf/Make.common \
1354Makefile \ 1365Makefile \
1355doc/Makefile \ 1366doc/Makefile \
1356src/Makefile \ 1367src/Makefile \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines