--- rxvt-unicode/configure.ac 2006/01/17 12:53:29 1.2 +++ rxvt-unicode/configure.ac 2006/01/18 11:28:42 1.8 @@ -1,4 +1,3 @@ -dnl# -*- sh -*- dnl# dnl# Process this file with autoconf to produce a configure script. dnl# @@ -33,7 +32,6 @@ AC_PROG_CXX AC_PROG_CPP AC_PROG_INSTALL -AC_PROG_AWK AC_LANG(C) @@ -481,8 +479,6 @@ dnl# -------------------------------------------------------------------------- -AC_DEFINE(PROTOTYPES, 1, Define if you need function prototypes) - AC_PATH_PROG(MV, mv, mv) AC_PATH_PROG(RM, rm, rm) AC_PATH_PROG(CP, cp, cp) @@ -490,7 +486,6 @@ AC_PATH_PROG(SED, sed, sed) AC_PATH_PROG(ECHO, echo, echo) AC_PATH_PROG(CMP, cmp, cmp) -AC_PATH_PROG(TBL, tbl) AC_PATH_PROG(TIC, tic) dnl# need a neat way to detect SVR4 or its features @@ -716,6 +711,7 @@ unsetenv \ setutent \ seteuid \ + setresuid \ setreuid \ _getpty \ getpt \ @@ -739,7 +735,6 @@ AC_CHECK_HEADER(utmp.h, [AC_CACHE_CHECK([for struct utmp], rxvt_cv_struct_utmp, [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include -#include #include ]], [[struct utmp ut;]])],[rxvt_cv_struct_utmp=yes],[rxvt_cv_struct_utmp=no])]) if test x$rxvt_cv_struct_utmp = xyes; then AC_DEFINE(HAVE_STRUCT_UTMP, 1, Define if utmp.h has struct utmp) @@ -1140,6 +1135,8 @@ ],[rxvt_can_pass_fds=yes],[rxvt_can_pass_fds=no])]) if test x$rxvt_can_pass_fds = xyes; then AC_DEFINE(HAVE_UNIX_FDPASS, 1, Define if sys/socket.h defines the necessary macros/functions for file handle passing) +else + AC_MSG_ERROR([urxvt requires unix-compliant filehandle passing ability]) fi AC_CACHE_CHECK(for broken XIM callback, rxvt_broken_ximcb, @@ -1380,12 +1377,10 @@ PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" else - support_perl=no - AC_MSG_RESULT([no, unable to link]) + AC_MSG_ERROR([no, unable to link]) fi else - AC_MSG_ERROR(no working perl found, or perl not version >= 5.8) - support_perl=no + AC_MSG_ERROR([no working perl found, or perl not version >= 5.8]) fi fi AC_SUBST(PERLLIB)