… | |
… | |
97 | dnl AC_ENABLE_STATIC(yes)dnl# libtool |
97 | dnl AC_ENABLE_STATIC(yes)dnl# libtool |
98 | dnl AC_PROG_LIBTOOL()dnl# libtool |
98 | dnl AC_PROG_LIBTOOL()dnl# libtool |
99 | |
99 | |
100 | MALLOC_TYPE=S |
100 | MALLOC_TYPE=S |
101 | |
101 | |
102 | support_addstrings=no |
|
|
103 | support_frills=yes |
102 | support_frills=yes |
104 | support_inheritpixmap=yes |
103 | support_inheritpixmap=yes |
105 | support_tinting=yes |
104 | support_tinting=yes |
106 | support_fading=yes |
105 | support_fading=yes |
107 | support_keepscrolling=yes |
106 | support_keepscrolling=yes |
… | |
… | |
387 | [RXVTNAME="$withval"]) |
386 | [RXVTNAME="$withval"]) |
388 | AC_DEFINE_UNQUOTED(RXVTNAME,"$RXVTNAME", [Binary base name]) |
387 | AC_DEFINE_UNQUOTED(RXVTNAME,"$RXVTNAME", [Binary base name]) |
389 | |
388 | |
390 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
389 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
391 | AC_SUBST(RXVTNAME) |
390 | AC_SUBST(RXVTNAME) |
392 | |
|
|
393 | AC_ARG_ENABLE(strings, |
|
|
394 | [ --enable-strings enable some replacement system functions], |
|
|
395 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
396 | support_addstrings=$enableval |
|
|
397 | fi]) |
|
|
398 | |
391 | |
399 | AC_ARG_ENABLE(swapscreen, |
392 | AC_ARG_ENABLE(swapscreen, |
400 | [ --disable-swapscreen disable swap screen support], |
393 | [ --disable-swapscreen disable swap screen support], |
401 | [if test x$enableval = xno; then |
394 | [if test x$enableval = xno; then |
402 | AC_DEFINE(NO_SECONDARY_SCREEN, 1, Disable the secondary screen. Many programs use the secondary screen as their workplace) |
395 | AC_DEFINE(NO_SECONDARY_SCREEN, 1, Disable the secondary screen. Many programs use the secondary screen as their workplace) |
… | |
… | |
1179 | |
1172 | |
1180 | if test x$rxvt_broken_ximcb = xyes; then |
1173 | if test x$rxvt_broken_ximcb = xyes; then |
1181 | AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) |
1174 | AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) |
1182 | fi |
1175 | fi |
1183 | |
1176 | |
1184 | if test x$rxvt_cv_func_posix_openpt = xno; then |
1177 | if test x$ac_cv_func_posix_openpt = xno; then |
1185 | AC_CHECK_FUNC(openpty, [], [AC_CHECK_LIB(util, openpty, [LIBS="$LIBS -lutil"])]) |
1178 | AC_CHECK_FUNC(openpty, [], [AC_CHECK_LIB(util, openpty, [LIBS="$LIBS -lutil"])]) |
1186 | fi |
1179 | fi |
1187 | |
1180 | |
1188 | dnl# if we don't guess right then it's up to the user |
1181 | dnl# if we don't guess right then it's up to the user |
1189 | AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys, |
1182 | AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys, |
… | |
… | |
1235 | AC_DEFINE(PTYS_ARE_PTC, 1, Define for this pty type) |
1228 | AC_DEFINE(PTYS_ARE_PTC, 1, Define for this pty type) |
1236 | fi |
1229 | fi |
1237 | if test x$rxvt_cv_ptys = xSGI4; then |
1230 | if test x$rxvt_cv_ptys = xSGI4; then |
1238 | AC_DEFINE(PTYS_ARE__GETPTY, 1, Define for this pty type) |
1231 | AC_DEFINE(PTYS_ARE__GETPTY, 1, Define for this pty type) |
1239 | fi |
1232 | fi |
1240 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
1241 | AC_DEFINE(PTYS_ARE_GETPT, 1, Define for this pty type) |
|
|
1242 | fi |
|
|
1243 | if test x$rxvt_cv_ptys = xHPUX; then |
1233 | if test x$rxvt_cv_ptys = xHPUX; then |
1244 | AC_DEFINE(PTYS_ARE_CLONE, 1, Define for this pty type) |
1234 | AC_DEFINE(PTYS_ARE_CLONE, 1, Define for this pty type) |
1245 | fi |
1235 | fi |
1246 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
1236 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then |
1247 | AC_DEFINE(PTYS_ARE_SEARCHED, 1, Define for this pty type) |
1237 | AC_DEFINE(PTYS_ARE_SEARCHED, 1, Define for this pty type) |
1248 | fi |
1238 | fi |
1249 | |
1239 | |
1250 | |
1240 | |
1251 | AS_MESSAGE(checking for pty ranges...) |
1241 | AS_MESSAGE(checking for pty ranges...) |
… | |
… | |
1445 | fi |
1435 | fi |
1446 | AC_SUBST(DLIB) |
1436 | AC_SUBST(DLIB) |
1447 | AC_SUBST(LIBS) |
1437 | AC_SUBST(LIBS) |
1448 | AC_SUBST(X_LIBS) |
1438 | AC_SUBST(X_LIBS) |
1449 | AC_SUBST(X_EXTRA_LIBS) |
1439 | AC_SUBST(X_EXTRA_LIBS) |
1450 | |
|
|
1451 | if test x$support_addstrings = xno; then |
|
|
1452 | AC_DEFINE(NO_STRINGS, 1, Define if you don't need to use our replacement string functions) |
|
|
1453 | fi |
|
|
1454 | |
1440 | |
1455 | dnl# common parts of the Makefile |
1441 | dnl# common parts of the Makefile |
1456 | MCOMMON=./autoconf/Make.common |
1442 | MCOMMON=./autoconf/Make.common |
1457 | AC_SUBST_FILE(MCOMMON) |
1443 | AC_SUBST_FILE(MCOMMON) |
1458 | |
1444 | |