… | |
… | |
642 | dnl# CHECKING FOR LIBRARY FUNCTIONS |
642 | dnl# CHECKING FOR LIBRARY FUNCTIONS |
643 | dnl# -------------------------------------------------------------------------- |
643 | dnl# -------------------------------------------------------------------------- |
644 | AC_TYPE_SIGNAL |
644 | AC_TYPE_SIGNAL |
645 | dnl> AC_FUNC_VPRINTF |
645 | dnl> AC_FUNC_VPRINTF |
646 | |
646 | |
647 | AC_CHECK_FUNCS( \ |
647 | AC_CHECK_FUNCS(unsetenv) |
648 | unsetenv \ |
|
|
649 | setutent \ |
|
|
650 | on_exit \ |
|
|
651 | ) |
|
|
652 | |
648 | |
653 | UTMP_CHECK |
649 | UTMP_CHECK |
654 | |
650 | |
655 | dnl# -------------------------------------------------------------------------- |
651 | 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 | |
652 | |
672 | dnl# -------------------------------------------------------------------------- |
653 | dnl# -------------------------------------------------------------------------- |
673 | dnl# -------------------------------------------------------------------------- |
654 | dnl# -------------------------------------------------------------------------- |
674 | |
655 | |
675 | dnl# this is a really hack test for some basic Xlocale stuff |
656 | dnl# this is a really hack test for some basic Xlocale stuff |