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

Comparing rxvt-unicode/configure (file contents):
Revision 1.65 by root, Wed Jan 11 00:59:58 2006 UTC vs.
Revision 1.71 by root, Mon Jan 16 14:48:39 2006 UTC

877 --enable-lastlog enable lastlog support (requires --enable-utmp) 877 --enable-lastlog enable lastlog support (requires --enable-utmp)
878 --enable-xpm-background enable XPM background pixmaps 878 --enable-xpm-background enable XPM background pixmaps
879 --enable-transparency enable transparent backgrounds 879 --enable-transparency enable transparent backgrounds
880 --enable-tinting enable tinting of transparent bg 880 --enable-tinting enable tinting of transparent bg
881 --enable-fading enable colors fading when off focus 881 --enable-fading enable colors fading when off focus
882 --enable-menubar enable menubar
883 --enable-rxvt-scroll enable rxvt style scrollbar 882 --enable-rxvt-scroll enable rxvt style scrollbar
884 --enable-next-scroll enable NeXT style scrollbar 883 --enable-next-scroll enable NeXT style scrollbar
885 --enable-xterm-scroll enable Xterm style scrollbar 884 --enable-xterm-scroll enable Xterm style scrollbar
886 --enable-perl enable embedded perl interpreter 885 --enable-perl enable embedded perl interpreter
887 --enable-plain-scroll enable plain style scrollbar 886 --enable-plain-scroll enable plain style scrollbar
891 --disable-backspace-key disable handling of the backspace key 890 --disable-backspace-key disable handling of the backspace key
892 --disable-delete-key disable handling of the delete key 891 --disable-delete-key disable handling of the delete key
893 --disable-resources disable all resource checking 892 --disable-resources disable all resource checking
894 --enable-8bitctrls enable 8 bit control sequences (not recommended) 893 --enable-8bitctrls enable 8 bit control sequences (not recommended)
895 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 894 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
896 --enable-strings enable some replacement system functions
897 --disable-swapscreen disable swap screen support 895 --disable-swapscreen disable swap screen support
898 --enable-iso14755 enable support for extended ISO 14755 modes 896 --enable-iso14755 enable support for extended ISO 14755 modes
899 --enable-frills enable support for rarely used features 897 --enable-frills enable support for rarely used features
900 --enable-24bit enable support for using 24bit visuals if available 898 --enable-24bit enable support for using 24bit visuals if available
901 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 899 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
4317 conftest$ac_exeext conftest.$ac_ext 4315 conftest$ac_exeext conftest.$ac_ext
4318 4316
4319 4317
4320MALLOC_TYPE=S 4318MALLOC_TYPE=S
4321 4319
4322support_addstrings=no
4323support_frills=yes 4320support_frills=yes
4324support_inheritpixmap=yes 4321support_inheritpixmap=yes
4325support_tinting=yes 4322support_tinting=yes
4326support_fading=yes 4323support_fading=yes
4327support_keepscrolling=yes 4324support_keepscrolling=yes
4328support_selectionscrolling=yes 4325support_selectionscrolling=yes
4329support_menubar=no
4330support_mousewheel=yes 4326support_mousewheel=yes
4331support_mouseslipwheel=yes 4327support_mouseslipwheel=yes
4332support_utmp=yes 4328support_utmp=yes
4333support_wtmp=yes 4329support_wtmp=yes
4334support_lastlog=yes 4330support_lastlog=yes
4371 support_tinting=no 4367 support_tinting=no
4372 support_fading=no 4368 support_fading=no
4373 support_keepscrolling=no 4369 support_keepscrolling=no
4374 support_selectionscrolling=no 4370 support_selectionscrolling=no
4375 support_lastlog=no 4371 support_lastlog=no
4376 support_menubar=no
4377 support_mousewheel=no 4372 support_mousewheel=no
4378 support_mouseslipwheel=no 4373 support_mouseslipwheel=no
4379 support_text_blink=no 4374 support_text_blink=no
4380 support_pointer_blank=no 4375 support_pointer_blank=no
4381 support_scroll_rxvt=no 4376 support_scroll_rxvt=no
4402 support_tinting=yes 4397 support_tinting=yes
4403 support_fading=yes 4398 support_fading=yes
4404 support_keepscrolling=yes 4399 support_keepscrolling=yes
4405 support_selectionscrolling=yes 4400 support_selectionscrolling=yes
4406 support_lastlog=yes 4401 support_lastlog=yes
4407 support_menubar=yes
4408 support_mousewheel=yes 4402 support_mousewheel=yes
4409 support_mouseslipwheel=yes 4403 support_mouseslipwheel=yes
4410 support_text_blink=yes 4404 support_text_blink=yes
4411 support_pointer_blank=yes 4405 support_pointer_blank=yes
4412 support_scroll_rxvt=yes 4406 support_scroll_rxvt=yes
4515 if test x$enableval = xyes -o x$enableval = xno; then 4509 if test x$enableval = xyes -o x$enableval = xno; then
4516 support_fading=$enableval 4510 support_fading=$enableval
4517 fi 4511 fi
4518fi; 4512fi;
4519 4513
4520# Check whether --enable-menubar or --disable-menubar was given.
4521if test "${enable_menubar+set}" = set; then
4522 enableval="$enable_menubar"
4523 if test x$enableval = xyes -o x$enableval = xno; then
4524 support_menubar=$enableval
4525 fi
4526fi;
4527
4528# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. 4514# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given.
4529if test "${enable_rxvt_scroll+set}" = set; then 4515if test "${enable_rxvt_scroll+set}" = set; then
4530 enableval="$enable_rxvt_scroll" 4516 enableval="$enable_rxvt_scroll"
4531 if test x$enableval = xyes -o x$enableval = xno; then 4517 if test x$enableval = xyes -o x$enableval = xno; then
4532 support_scroll_rxvt=$enableval 4518 support_scroll_rxvt=$enableval
4706_ACEOF 4692_ACEOF
4707 4693
4708 4694
4709RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 4695RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
4710 4696
4711
4712# Check whether --enable-strings or --disable-strings was given.
4713if test "${enable_strings+set}" = set; then
4714 enableval="$enable_strings"
4715 if test x$enableval = xyes -o x$enableval = xno; then
4716 support_addstrings=$enableval
4717 fi
4718fi;
4719 4697
4720# Check whether --enable-swapscreen or --disable-swapscreen was given. 4698# Check whether --enable-swapscreen or --disable-swapscreen was given.
4721if test "${enable_swapscreen+set}" = set; then 4699if test "${enable_swapscreen+set}" = set; then
4722 enableval="$enable_swapscreen" 4700 enableval="$enable_swapscreen"
4723 if test x$enableval = xno; then 4701 if test x$enableval = xno; then
10194 seteuid \ 10172 seteuid \
10195 setreuid \ 10173 setreuid \
10196 setsid \ 10174 setsid \
10197 setpgrp \ 10175 setpgrp \
10198 setpgid \ 10176 setpgid \
10199 openpty \
10200 _getpty \ 10177 _getpty \
10178 posix_openpt \
10201 grantpt \ 10179 grantpt \
10202 unlockpt \ 10180 unlockpt \
10203 isastream \ 10181 isastream \
10204 on_exit \ 10182 on_exit \
10205 nanosleep \ 10183 nanosleep \
11986#define XIMCB_PROTO_BROKEN 1 11964#define XIMCB_PROTO_BROKEN 1
11987_ACEOF 11965_ACEOF
11988 11966
11989fi 11967fi
11990 11968
11969if test x$ac_cv_func_posix_openpt = xno; then
11991echo "$as_me:$LINENO: checking for getpt" >&5 11970 echo "$as_me:$LINENO: checking for openpty" >&5
11992echo $ECHO_N "checking for getpt... $ECHO_C" >&6 11971echo $ECHO_N "checking for openpty... $ECHO_C" >&6
11993if test "${rxvt_cv_func_getpt+set}" = set; then 11972if test "${ac_cv_func_openpty+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6 11973 echo $ECHO_N "(cached) $ECHO_C" >&6
11995else 11974else
11996 cat >conftest.$ac_ext <<_ACEOF 11975 cat >conftest.$ac_ext <<_ACEOF
11997/* confdefs.h. */ 11976/* confdefs.h. */
11998_ACEOF 11977_ACEOF
11999cat confdefs.h >>conftest.$ac_ext 11978cat confdefs.h >>conftest.$ac_ext
12000cat >>conftest.$ac_ext <<_ACEOF 11979cat >>conftest.$ac_ext <<_ACEOF
12001/* end confdefs.h. */ 11980/* end confdefs.h. */
12002#define _GNU_SOURCE 11981/* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
12003#ifdef HAVE_STDLIB_H 11982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12004# include <cstdlib> 11983#define openpty innocuous_openpty
11984
11985/* System header to define __stub macros and hopefully few prototypes,
11986 which can conflict with char openpty (); below.
11987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11988 <limits.h> exists even on freestanding compilers. */
11989
11990#ifdef __STDC__
11991# include <limits.h>
11992#else
11993# include <assert.h>
12005#endif 11994#endif
11995
11996#undef openpty
11997
11998/* Override any gcc2 internal prototype to avoid an error. */
11999#ifdef __cplusplus
12000extern "C"
12001{
12002#endif
12003/* We use char because int might match the return type of a gcc2
12004 builtin and then its argument prototype would still apply. */
12005char openpty ();
12006/* The GNU C library defines this for functions which it implements
12007 to always fail with ENOSYS. Some functions are actually named
12008 something starting with __ and the normal name is an alias. */
12009#if defined (__stub_openpty) || defined (__stub___openpty)
12010choke me
12011#else
12012char (*f) () = openpty;
12013#endif
12014#ifdef __cplusplus
12015}
12016#endif
12017
12006int 12018int
12007main () 12019main ()
12008{ 12020{
12009(void)getpt(); 12021return f != openpty;
12010 ; 12022 ;
12011 return 0; 12023 return 0;
12012} 12024}
12013_ACEOF 12025_ACEOF
12014rm -f conftest.$ac_objext conftest$ac_exeext 12026rm -f conftest.$ac_objext conftest$ac_exeext
12030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12031 (eval $ac_try) 2>&5 12043 (eval $ac_try) 2>&5
12032 ac_status=$? 12044 ac_status=$?
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); }; }; then 12046 (exit $ac_status); }; }; then
12035 rxvt_cv_func_getpt=yes 12047 ac_cv_func_openpty=yes
12036else 12048else
12037 echo "$as_me: failed program was:" >&5 12049 echo "$as_me: failed program was:" >&5
12038sed 's/^/| /' conftest.$ac_ext >&5 12050sed 's/^/| /' conftest.$ac_ext >&5
12039 12051
12040rxvt_cv_func_getpt=no 12052ac_cv_func_openpty=no
12041fi 12053fi
12042rm -f conftest.err conftest.$ac_objext \ 12054rm -f conftest.err conftest.$ac_objext \
12043 conftest$ac_exeext conftest.$ac_ext 12055 conftest$ac_exeext conftest.$ac_ext
12044fi 12056fi
12045echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 12057echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
12046echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 12058echo "${ECHO_T}$ac_cv_func_openpty" >&6
12047if test x$rxvt_cv_func_getpt = xyes; then 12059if test $ac_cv_func_openpty = yes; then
12048 12060 :
12061else
12062 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
12063echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
12064if test "${ac_cv_lib_util_openpty+set}" = set; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12066else
12067 ac_check_lib_save_LIBS=$LIBS
12068LIBS="-lutil $LIBS"
12069cat >conftest.$ac_ext <<_ACEOF
12070/* confdefs.h. */
12071_ACEOF
12072cat confdefs.h >>conftest.$ac_ext
12049cat >>confdefs.h <<\_ACEOF 12073cat >>conftest.$ac_ext <<_ACEOF
12050#define HAVE_GETPT 1 12074/* end confdefs.h. */
12075
12076/* Override any gcc2 internal prototype to avoid an error. */
12077#ifdef __cplusplus
12078extern "C"
12079#endif
12080/* We use char because int might match the return type of a gcc2
12081 builtin and then its argument prototype would still apply. */
12082char openpty ();
12083int
12084main ()
12085{
12086openpty ();
12087 ;
12088 return 0;
12089}
12051_ACEOF 12090_ACEOF
12091rm -f conftest.$ac_objext conftest$ac_exeext
12092if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12093 (eval $ac_link) 2>conftest.er1
12094 ac_status=$?
12095 grep -v '^ *+' conftest.er1 >conftest.err
12096 rm -f conftest.er1
12097 cat conftest.err >&5
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); } &&
12100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12102 (eval $ac_try) 2>&5
12103 ac_status=$?
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); }; } &&
12106 { ac_try='test -s conftest$ac_exeext'
12107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12108 (eval $ac_try) 2>&5
12109 ac_status=$?
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; }; then
12112 ac_cv_lib_util_openpty=yes
12113else
12114 echo "$as_me: failed program was:" >&5
12115sed 's/^/| /' conftest.$ac_ext >&5
12116
12117ac_cv_lib_util_openpty=no
12118fi
12119rm -f conftest.err conftest.$ac_objext \
12120 conftest$ac_exeext conftest.$ac_ext
12121LIBS=$ac_check_lib_save_LIBS
12122fi
12123echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
12124echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
12125if test $ac_cv_lib_util_openpty = yes; then
12126 LIBS="$LIBS -lutil"
12127fi
12128
12129fi
12052 12130
12053fi 12131fi
12054 12132
12055echo "$as_me:$LINENO: checking for pty/tty type" >&5 12133echo "$as_me:$LINENO: checking for pty/tty type" >&5
12056echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 12134echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6
12057if test "${rxvt_cv_ptys+set}" = set; then 12135if test "${rxvt_cv_ptys+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6 12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12059else 12137else
12060 if test x$ac_cv_func_openpty = xyes; then 12138 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
12061 rxvt_cv_ptys=OPENPTY 12139 rxvt_cv_ptys=OPENPTY
12140 else if test x$ac_cv_func_posix_openpt = xyes; then
12141 rxvt_cv_ptys=POSIX
12062 else if test x$ac_cv_func__getpty = xyes; then 12142 else if test x$ac_cv_func__getpty = xyes; then
12063 rxvt_cv_ptys=SGI4 12143 rxvt_cv_ptys=SGI4
12064 else if test -c /dev/ttyp20; then 12144 else if test -c /dev/ttyp20; then
12065 rxvt_cv_ptys=SCO 12145 rxvt_cv_ptys=SCO
12066 else if test -c /dev/ptym/clone; then 12146 else if test -c /dev/ptym/clone; then
12067 rxvt_cv_ptys=HPUX 12147 rxvt_cv_ptys=HPUX
12068 else if test x$rxvt_cv_func_getpt = xyes; then
12069 rxvt_cv_ptys=GLIBC
12070 else if test -c /dev/ptc -a -c /dev/pts; then 12148 else if test -c /dev/ptc -a -c /dev/pts; then
12071 rxvt_cv_ptys=PTC 12149 rxvt_cv_ptys=PTC
12072 else if test -c /dev/ptc -a -d /dev/pts; then 12150 else if test -c /dev/ptc -a -d /dev/pts; then
12073 rxvt_cv_ptys=PTC 12151 rxvt_cv_ptys=PTC
12074 else if test -c /dev/ptmx -a -c /dev/pts/0; then 12152 else if test -c /dev/ptmx -a -c /dev/pts/0; then
12089 12167
12090fi 12168fi
12091echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 12169echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
12092echo "${ECHO_T}$rxvt_cv_ptys" >&6 12170echo "${ECHO_T}$rxvt_cv_ptys" >&6
12093 12171
12172if test x$rxvt_cv_ptys = xPOSIX; then
12173
12174cat >>confdefs.h <<\_ACEOF
12175#define PTYS_ARE_POSIX 1
12176_ACEOF
12177
12178fi
12094if test x$rxvt_cv_ptys = xOPENPTY; then 12179if test x$rxvt_cv_ptys = xOPENPTY; then
12095 12180
12096cat >>confdefs.h <<\_ACEOF 12181cat >>confdefs.h <<\_ACEOF
12097#define PTYS_ARE_OPENPTY 1 12182#define PTYS_ARE_OPENPTY 1
12098_ACEOF 12183_ACEOF
12124cat >>confdefs.h <<\_ACEOF 12209cat >>confdefs.h <<\_ACEOF
12125#define PTYS_ARE__GETPTY 1 12210#define PTYS_ARE__GETPTY 1
12126_ACEOF 12211_ACEOF
12127 12212
12128fi 12213fi
12129if test x$rxvt_cv_ptys = xCONVEX; then
12130
12131cat >>confdefs.h <<\_ACEOF
12132#define PTYS_ARE_GETPTY 1
12133_ACEOF
12134
12135fi
12136if test x$rxvt_cv_ptys = xGLIBC; then
12137
12138cat >>confdefs.h <<\_ACEOF
12139#define PTYS_ARE_GETPT 1
12140_ACEOF
12141
12142fi
12143if test x$rxvt_cv_ptys = xHPUX; then 12214if test x$rxvt_cv_ptys = xHPUX; then
12144 12215
12145cat >>confdefs.h <<\_ACEOF 12216cat >>confdefs.h <<\_ACEOF
12146#define PTYS_ARE_CLONE 1 12217#define PTYS_ARE_CLONE 1
12147_ACEOF 12218_ACEOF
12148 12219
12149fi 12220fi
12150if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then 12221if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then
12151 12222
12152cat >>confdefs.h <<\_ACEOF 12223cat >>confdefs.h <<\_ACEOF
12153#define PTYS_ARE_SEARCHED 1 12224#define PTYS_ARE_SEARCHED 1
12154_ACEOF 12225_ACEOF
12155 12226
12469cat >>confdefs.h <<\_ACEOF 12540cat >>confdefs.h <<\_ACEOF
12470#define SELECTION_SCROLLING 1 12541#define SELECTION_SCROLLING 1
12471_ACEOF 12542_ACEOF
12472 12543
12473fi 12544fi
12474if test x$support_menubar = xyes; then
12475
12476cat >>confdefs.h <<\_ACEOF
12477#define MENUBAR 1
12478_ACEOF
12479
12480fi
12481if test x$support_frills = xyes; then 12545if test x$support_frills = xyes; then
12482 12546
12483cat >>confdefs.h <<\_ACEOF 12547cat >>confdefs.h <<\_ACEOF
12484#define ENABLE_FRILLS 1 12548#define ENABLE_FRILLS 1
12485_ACEOF 12549_ACEOF
12819 12883
12820 12884
12821 12885
12822 12886
12823 12887
12824if text x$support_perl = xyes; then 12888if test x$support_perl = xyes; then
12825 support_frills=yes 12889 support_frills=yes
12826fi 12890fi
12827 12891
12828 12892
12829CFLAGS=${CFLAGS--O} 12893CFLAGS=${CFLAGS--O}
12846fi 12910fi
12847 12911
12848 12912
12849 12913
12850 12914
12851
12852if test x$support_addstrings = xno; then
12853
12854cat >>confdefs.h <<\_ACEOF
12855#define NO_STRINGS 1
12856_ACEOF
12857
12858fi
12859 12915
12860MCOMMON=./autoconf/Make.common 12916MCOMMON=./autoconf/Make.common
12861 12917
12862 12918
12863test "$program_prefix" != NONE && 12919test "$program_prefix" != NONE &&

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines