… | |
… | |
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> |
… | |
… | |
642 | dnl# CHECKING FOR LIBRARY FUNCTIONS |
646 | dnl# CHECKING FOR LIBRARY FUNCTIONS |
643 | dnl# -------------------------------------------------------------------------- |
647 | dnl# -------------------------------------------------------------------------- |
644 | AC_TYPE_SIGNAL |
648 | AC_TYPE_SIGNAL |
645 | dnl> AC_FUNC_VPRINTF |
649 | dnl> AC_FUNC_VPRINTF |
646 | |
650 | |
647 | AC_CHECK_FUNCS( \ |
651 | AC_CHECK_FUNCS(unsetenv) |
648 | unsetenv \ |
|
|
649 | setutent \ |
|
|
650 | on_exit \ |
|
|
651 | ) |
|
|
652 | |
652 | |
653 | UTMP_CHECK |
653 | UTMP_CHECK |
654 | |
654 | |
655 | dnl# -------------------------------------------------------------------------- |
655 | dnl# -------------------------------------------------------------------------- |
656 | |
|
|
657 | dnl# find ttys/ttytab |
|
|
658 | AC_CACHE_CHECK(where ttys/ttytab is located, rxvt_cv_path_ttytab, |
|
|
659 | [for ttys_file in dnl |
|
|
660 | /etc/ttys /etc/ttytab; |
|
|
661 | do |
|
|
662 | if test -f "$ttys_file" ; then |
|
|
663 | rxvt_cv_path_ttytab=$ttys_file |
|
|
664 | break |
|
|
665 | fi |
|
|
666 | done |
|
|
667 | ]) |
|
|
668 | if test x$rxvt_cv_path_ttytab != x; then |
|
|
669 | AC_DEFINE_UNQUOTED(TTYTAB_FILENAME, "$rxvt_cv_path_ttytab", Define location of ttys/ttytab) |
|
|
670 | fi |
|
|
671 | |
656 | |
672 | dnl# -------------------------------------------------------------------------- |
657 | dnl# -------------------------------------------------------------------------- |
673 | dnl# -------------------------------------------------------------------------- |
658 | dnl# -------------------------------------------------------------------------- |
674 | |
659 | |
675 | 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 |