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

Comparing rxvt-unicode/configure (file contents):
Revision 1.89 by root, Sun Jan 22 04:09:16 2006 UTC vs.
Revision 1.90 by root, Sun Jan 22 17:10:01 2006 UTC

883 --enable-next-scroll enable NeXT style scrollbar 883 --enable-next-scroll enable NeXT style scrollbar
884 --enable-xterm-scroll enable Xterm style scrollbar 884 --enable-xterm-scroll enable Xterm style scrollbar
885 --enable-perl enable embedded perl interpreter 885 --enable-perl enable embedded perl interpreter
886 --enable-plain-scroll enable plain style scrollbar 886 --enable-plain-scroll enable plain style scrollbar
887 --enable-xim XIM (X Input Method) protocol support 887 --enable-xim XIM (X Input Method) protocol support
888 --enable-ttygid enable tty setting to group named "tty"
889 --disable-backspace-key disable handling of the backspace key 888 --disable-backspace-key disable handling of the backspace key
890 --disable-delete-key disable handling of the delete key 889 --disable-delete-key disable handling of the delete key
891 --disable-resources disable all resource checking 890 --disable-resources disable all resource checking
892 --enable-8bitctrls enable 8 bit control sequences (not recommended) 891 --enable-8bitctrls enable 8 bit control sequences (not recommended)
893 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 892 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
4335 if test x$enableval = xyes -o x$enableval = xno; then 4334 if test x$enableval = xyes -o x$enableval = xno; then
4336 support_xim=$enableval 4335 support_xim=$enableval
4337 fi 4336 fi
4338fi; 4337fi;
4339 4338
4340# Check whether --enable-ttygid or --disable-ttygid was given.
4341if test "${enable_ttygid+set}" = set; then
4342 enableval="$enable_ttygid"
4343 if test x$enableval = xyes; then
4344
4345cat >>confdefs.h <<\_ACEOF
4346#define TTY_GID_SUPPORT 1
4347_ACEOF
4348
4349 fi
4350fi;
4351
4352# Check whether --enable-backspace-key or --disable-backspace-key was given. 4339# Check whether --enable-backspace-key or --disable-backspace-key was given.
4353if test "${enable_backspace_key+set}" = set; then 4340if test "${enable_backspace_key+set}" = set; then
4354 enableval="$enable_backspace_key" 4341 enableval="$enable_backspace_key"
4355 if test x$enableval = xno; then 4342 if test x$enableval = xno; then
4356 4343
10071 10058
10072 10059
10073 10060
10074 10061
10075 10062
10076
10077for ac_func in \ 10063for ac_func in \
10078 unsetenv \ 10064 unsetenv \
10079 setutent \ 10065 setutent \
10080 seteuid \ 10066 seteuid \
10081 setresuid \ 10067 setresuid \
10082 setreuid \ 10068 setreuid \
10083 on_exit \ 10069 on_exit \
10084 nanosleep \
10085 10070
10086do 10071do
10087as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10072as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10088echo "$as_me:$LINENO: checking for $ac_func" >&5 10073echo "$as_me:$LINENO: checking for $ac_func" >&5
10089echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10074echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12719done 12704done
12720 12705
12721fi 12706fi
12722 12707
12723 12708
12709
12710echo "$as_me:$LINENO: checking for tty group" >&5
12711echo $ECHO_N "checking for tty group... $ECHO_C" >&6
12712if test "${tty_group+set}" = set; then
12713 echo $ECHO_N "(cached) $ECHO_C" >&6
12714else
12715 if test "$cross_compiling" = yes; then
12716 tty_group=no
12717else
12718 cat >conftest.$ac_ext <<_ACEOF
12719/* confdefs.h. */
12720_ACEOF
12721cat confdefs.h >>conftest.$ac_ext
12722cat >>conftest.$ac_ext <<_ACEOF
12723/* end confdefs.h. */
12724
12725#include <sys/types.h>
12726#include <sys/stat.h>
12727#include <unistd.h>
12728#include <grp.h>
12729
12730main()
12731{
12732 struct stat st;
12733 struct group *gr;
12734 char *tty;
12735 gr = getgrnam("tty");
12736 tty = ttyname(0);
12737 if (gr != 0
12738 && tty != 0
12739 && (stat(tty, &st)) == 0
12740 && st.st_gid == gr->gr_gid)
12741 return 0;
12742 else
12743 return 1;
12744}
12745_ACEOF
12746rm -f conftest$ac_exeext
12747if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12748 (eval $ac_link) 2>&5
12749 ac_status=$?
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12754 ac_status=$?
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; }; then
12757 tty_group=yes
12758else
12759 echo "$as_me: program exited with status $ac_status" >&5
12760echo "$as_me: failed program was:" >&5
12761sed 's/^/| /' conftest.$ac_ext >&5
12762
12763( exit $ac_status )
12764tty_group=no
12765fi
12766rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12767fi
12768fi
12769echo "$as_me:$LINENO: result: $tty_group" >&5
12770echo "${ECHO_T}$tty_group" >&6
12771if test x$tty_group = xyes; then
12772
12773cat >>confdefs.h <<\_ACEOF
12774#define TTY_GID_SUPPORT 1
12775_ACEOF
12776
12777fi
12778
12724if test x$support_xft = xyes; then 12779if test x$support_xft = xyes; then
12725 # Extract the first word of "pkg-config", so it can be a program name with args. 12780 # Extract the first word of "pkg-config", so it can be a program name with args.
12726set dummy pkg-config; ac_word=$2 12781set dummy pkg-config; ac_word=$2
12727echo "$as_me:$LINENO: checking for $ac_word" >&5 12782echo "$as_me:$LINENO: checking for $ac_word" >&5
12728echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 12783echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12760else 12815else
12761 echo "$as_me:$LINENO: result: no" >&5 12816 echo "$as_me:$LINENO: result: no" >&5
12762echo "${ECHO_T}no" >&6 12817echo "${ECHO_T}no" >&6
12763fi 12818fi
12764 12819
12820 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12821 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12822 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12823 else
12765 # Extract the first word of "xft-config", so it can be a program name with args. 12824 # Extract the first word of "xft-config", so it can be a program name with args.
12766set dummy xft-config; ac_word=$2 12825set dummy xft-config; ac_word=$2
12767echo "$as_me:$LINENO: checking for $ac_word" >&5 12826echo "$as_me:$LINENO: checking for $ac_word" >&5
12768echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 12827echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12769if test "${ac_cv_path_XFT_CONFIG+set}" = set; then 12828if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
12770 echo $ECHO_N "(cached) $ECHO_C" >&6 12829 echo $ECHO_N "(cached) $ECHO_C" >&6
12800else 12859else
12801 echo "$as_me:$LINENO: result: no" >&5 12860 echo "$as_me:$LINENO: result: no" >&5
12802echo "${ECHO_T}no" >&6 12861echo "${ECHO_T}no" >&6
12803fi 12862fi
12804 12863
12805 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12806 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12807 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12808 else
12809 if test $XFT_CONFIG != no; then 12864 if test $XFT_CONFIG != no; then
12810 LIBS="$LIBS `$XFT_CONFIG --libs`" 12865 LIBS="$LIBS `$XFT_CONFIG --libs`"
12811 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 12866 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12812 fi 12867 fi
12813 fi 12868 fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines