ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure.ac
(Generate patch)

Comparing rxvt-unicode/configure.ac (file contents):
Revision 1.1 by ayin, Tue Jan 17 12:21:41 2006 UTC vs.
Revision 1.6 by ayin, Tue Jan 17 22:08:08 2006 UTC

1dnl# -*- sh -*-
2dnl# 1dnl#
3dnl# Process this file with autoconf to produce a configure script. 2dnl# Process this file with autoconf to produce a configure script.
4dnl# 3dnl#
5 4
6AC_INIT 5AC_INIT
709dnl# CHECKING FOR LIBRARY FUNCTIONS 708dnl# CHECKING FOR LIBRARY FUNCTIONS
710dnl# -------------------------------------------------------------------------- 709dnl# --------------------------------------------------------------------------
711AC_TYPE_SIGNAL 710AC_TYPE_SIGNAL
712dnl> AC_FUNC_VPRINTF 711dnl> AC_FUNC_VPRINTF
713 712
714dnl# Note: On Ultrix, setsid() does weirdo stuff, disable it
715case "$host_alias" in
716 *ultrix) ac_cv_func_setsid='no' ;;
717 *) break;;
718esac
719
720AC_CHECK_FUNCS( \ 713AC_CHECK_FUNCS( \
721 atexit \
722 revoke \ 714 revoke \
723 unsetenv \ 715 unsetenv \
724 setutent \ 716 setutent \
725 seteuid \ 717 seteuid \
718 setresuid \
726 setreuid \ 719 setreuid \
727 setsid \
728 setpgrp \
729 setpgid \
730 _getpty \ 720 _getpty \
731 getpt \ 721 getpt \
732 posix_openpt \ 722 posix_openpt \
733 grantpt \ 723 grantpt \
734 unlockpt \ 724 unlockpt \
1148 return sendmsg (3, &msg, 0); 1138 return sendmsg (3, &msg, 0);
1149} 1139}
1150],[rxvt_can_pass_fds=yes],[rxvt_can_pass_fds=no])]) 1140],[rxvt_can_pass_fds=yes],[rxvt_can_pass_fds=no])])
1151if test x$rxvt_can_pass_fds = xyes; then 1141if test x$rxvt_can_pass_fds = xyes; then
1152 AC_DEFINE(HAVE_UNIX_FDPASS, 1, Define if sys/socket.h defines the necessary macros/functions for file handle passing) 1142 AC_DEFINE(HAVE_UNIX_FDPASS, 1, Define if sys/socket.h defines the necessary macros/functions for file handle passing)
1143else
1144 AC_MSG_ERROR([urxvt requires unix-compliant filehandle passing ability])
1153fi 1145fi
1154 1146
1155AC_CACHE_CHECK(for broken XIM callback, rxvt_broken_ximcb, 1147AC_CACHE_CHECK(for broken XIM callback, rxvt_broken_ximcb,
1156[AC_COMPILE_IFELSE([ 1148[AC_COMPILE_IFELSE([
1157#include <X11/Xlib.h> 1149#include <X11/Xlib.h>
1388 PERL_O=rxvtperl.o 1380 PERL_O=rxvtperl.o
1389 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" 1381 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`"
1390 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" 1382 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`"
1391 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" 1383 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`"
1392 else 1384 else
1393 support_perl=no
1394 AC_MSG_RESULT([no, unable to link]) 1385 AC_MSG_ERROR([no, unable to link])
1395 fi 1386 fi
1396 else 1387 else
1397 AC_MSG_ERROR(no working perl found, or perl not version >= 5.8) 1388 AC_MSG_ERROR([no working perl found, or perl not version >= 5.8])
1398 support_perl=no
1399 fi 1389 fi
1400fi 1390fi
1401AC_SUBST(PERLLIB) 1391AC_SUBST(PERLLIB)
1402AC_SUBST(PERLFLAGS) 1392AC_SUBST(PERLFLAGS)
1403AC_SUBST(PERLPRIVLIBEXP) 1393AC_SUBST(PERLPRIVLIBEXP)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines