… | |
… | |
435 | AC_DEFINE_UNQUOTED(RXVT_TERMINFO, "$withval", Set TERMINFO value to the value given by configure) terminfo="$withval" |
435 | AC_DEFINE_UNQUOTED(RXVT_TERMINFO, "$withval", Set TERMINFO value to the value given by configure) terminfo="$withval" |
436 | fi]) |
436 | fi]) |
437 | |
437 | |
438 | dnl# -------------------------------------------------------------------------- |
438 | dnl# -------------------------------------------------------------------------- |
439 | |
439 | |
|
|
440 | m4_include([libev/libev.m4]) |
|
|
441 | |
|
|
442 | dnl# -------------------------------------------------------------------------- |
|
|
443 | |
440 | AC_PATH_PROG(TIC, tic, :) |
444 | AC_PATH_PROG(TIC, tic, :) |
441 | |
445 | |
442 | dnl# need a neat way to detect SVR4 or its features |
446 | dnl# need a neat way to detect SVR4 or its features |
443 | dnl# in src/command.c we use these functions: |
447 | dnl# in src/command.c we use these functions: |
444 | dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h> |
448 | dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h> |
… | |
… | |
648 | |
652 | |
649 | UTMP_CHECK |
653 | UTMP_CHECK |
650 | |
654 | |
651 | dnl# -------------------------------------------------------------------------- |
655 | dnl# -------------------------------------------------------------------------- |
652 | |
656 | |
653 | dnl# find ttys/ttytab |
|
|
654 | AC_CACHE_CHECK(where ttys/ttytab is located, rxvt_cv_path_ttytab, |
|
|
655 | [for ttys_file in dnl |
|
|
656 | /etc/ttys /etc/ttytab; |
|
|
657 | do |
|
|
658 | if test -f "$ttys_file" ; then |
|
|
659 | rxvt_cv_path_ttytab=$ttys_file |
|
|
660 | break |
|
|
661 | fi |
|
|
662 | done |
|
|
663 | ]) |
|
|
664 | if test x$rxvt_cv_path_ttytab != x; then |
|
|
665 | AC_DEFINE_UNQUOTED(TTYTAB_FILENAME, "$rxvt_cv_path_ttytab", Define location of ttys/ttytab) |
|
|
666 | fi |
|
|
667 | |
|
|
668 | dnl# -------------------------------------------------------------------------- |
657 | dnl# -------------------------------------------------------------------------- |
669 | dnl# -------------------------------------------------------------------------- |
658 | dnl# -------------------------------------------------------------------------- |
670 | |
659 | |
671 | dnl# this is a really hack test for some basic Xlocale stuff |
660 | dnl# this is a really hack test for some basic Xlocale stuff |
672 | save_LIBS=$LIBS |
661 | save_LIBS=$LIBS |