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

Comparing rxvt-unicode/configure (file contents):
Revision 1.60 by root, Mon Jan 2 15:35:43 2006 UTC vs.
Revision 1.71 by root, Mon Jan 16 14:48:39 2006 UTC

307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PERL PERLLIB PERLFLAGS PERLARCHLIB IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS'
313ac_subst_files='MCOMMON' 313ac_subst_files='MCOMMON'
314 314
315# Initialize some variables set by options. 315# Initialize some variables set by options.
316ac_init_help= 316ac_init_help=
317ac_init_version=false 317ac_init_version=false
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
889 --enable-xim XIM (X Input Method) protocol support 888 --enable-xim XIM (X Input Method) protocol support
890 --enable-ttygid enable tty setting to group named "tty" 889 --enable-ttygid enable tty setting to group named "tty"
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-xgetdefault enable resources via X instead of our small version
895 --enable-8bitctrls enable 8 bit control sequences (not recommended) 893 --enable-8bitctrls enable 8 bit control sequences (not recommended)
896 --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)
897 --enable-strings enable some replacement system functions
898 --disable-swapscreen disable swap screen support 895 --disable-swapscreen disable swap screen support
899 --enable-iso14755 enable support for extended ISO 14755 modes 896 --enable-iso14755 enable support for extended ISO 14755 modes
900 --enable-frills enable support for rarely used features 897 --enable-frills enable support for rarely used features
901 --enable-24bit enable support for using 24bit visuals if available 898 --enable-24bit enable support for using 24bit visuals if available
902 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 899 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
4318 conftest$ac_exeext conftest.$ac_ext 4315 conftest$ac_exeext conftest.$ac_ext
4319 4316
4320 4317
4321MALLOC_TYPE=S 4318MALLOC_TYPE=S
4322 4319
4323support_addstrings=no
4324support_frills=yes 4320support_frills=yes
4325support_inheritpixmap=no 4321support_inheritpixmap=yes
4326support_tinting=yes 4322support_tinting=yes
4327support_fading=yes 4323support_fading=yes
4328support_keepscrolling=yes 4324support_keepscrolling=yes
4329support_selectionscrolling=yes 4325support_selectionscrolling=yes
4330support_menubar=no
4331support_mousewheel=yes 4326support_mousewheel=yes
4332support_mouseslipwheel=yes 4327support_mouseslipwheel=yes
4333support_utmp=yes 4328support_utmp=yes
4334support_wtmp=yes 4329support_wtmp=yes
4335support_lastlog=yes 4330support_lastlog=yes
4338support_scroll_rxvt=yes 4333support_scroll_rxvt=yes
4339support_scroll_next=yes 4334support_scroll_next=yes
4340support_scroll_xterm=yes 4335support_scroll_xterm=yes
4341support_scroll_plain=yes 4336support_scroll_plain=yes
4342support_xim=yes 4337support_xim=yes
4343support_xpm=no 4338support_xpm=yes
4344support_xft=yes 4339support_xft=yes
4345support_unicode3=no 4340support_unicode3=no
4346support_combining=yes 4341support_combining=yes
4347support_8bitctrls=no 4342support_8bitctrls=no
4348support_iso14755=yes 4343support_iso14755=yes
4349support_styles=yes 4344support_styles=yes
4350support_perl=no 4345support_perl=yes
4351codesets=all 4346codesets=all
4352 4347
4353 4348
4354if test "x$enable_shared" = xyes; then 4349if test "x$enable_shared" = xyes; then
4355 4350
4372 support_tinting=no 4367 support_tinting=no
4373 support_fading=no 4368 support_fading=no
4374 support_keepscrolling=no 4369 support_keepscrolling=no
4375 support_selectionscrolling=no 4370 support_selectionscrolling=no
4376 support_lastlog=no 4371 support_lastlog=no
4377 support_menubar=no
4378 support_mousewheel=no 4372 support_mousewheel=no
4379 support_mouseslipwheel=no 4373 support_mouseslipwheel=no
4380 support_text_blink=no 4374 support_text_blink=no
4381 support_pointer_blank=no 4375 support_pointer_blank=no
4382 support_scroll_rxvt=no 4376 support_scroll_rxvt=no
4403 support_tinting=yes 4397 support_tinting=yes
4404 support_fading=yes 4398 support_fading=yes
4405 support_keepscrolling=yes 4399 support_keepscrolling=yes
4406 support_selectionscrolling=yes 4400 support_selectionscrolling=yes
4407 support_lastlog=yes 4401 support_lastlog=yes
4408 support_menubar=yes
4409 support_mousewheel=yes 4402 support_mousewheel=yes
4410 support_mouseslipwheel=yes 4403 support_mouseslipwheel=yes
4411 support_text_blink=yes 4404 support_text_blink=yes
4412 support_pointer_blank=yes 4405 support_pointer_blank=yes
4413 support_scroll_rxvt=yes 4406 support_scroll_rxvt=yes
4516 if test x$enableval = xyes -o x$enableval = xno; then 4509 if test x$enableval = xyes -o x$enableval = xno; then
4517 support_fading=$enableval 4510 support_fading=$enableval
4518 fi 4511 fi
4519fi; 4512fi;
4520 4513
4521# Check whether --enable-menubar or --disable-menubar was given.
4522if test "${enable_menubar+set}" = set; then
4523 enableval="$enable_menubar"
4524 if test x$enableval = xyes -o x$enableval = xno; then
4525 support_menubar=$enableval
4526 fi
4527fi;
4528
4529# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. 4514# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given.
4530if test "${enable_rxvt_scroll+set}" = set; then 4515if test "${enable_rxvt_scroll+set}" = set; then
4531 enableval="$enable_rxvt_scroll" 4516 enableval="$enable_rxvt_scroll"
4532 if test x$enableval = xyes -o x$enableval = xno; then 4517 if test x$enableval = xyes -o x$enableval = xno; then
4533 support_scroll_rxvt=$enableval 4518 support_scroll_rxvt=$enableval
4639_ACEOF 4624_ACEOF
4640 4625
4641 fi 4626 fi
4642fi; 4627fi;
4643 4628
4644# Check whether --enable-xgetdefault or --disable-xgetdefault was given.
4645if test "${enable_xgetdefault+set}" = set; then
4646 enableval="$enable_xgetdefault"
4647 if test x$enableval = xyes; then
4648
4649cat >>confdefs.h <<\_ACEOF
4650#define USE_XGETDEFAULT 1
4651_ACEOF
4652
4653 fi
4654fi;
4655
4656# Check whether --enable-8bitctrls or --disable-8bitctrls was given. 4629# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
4657if test "${enable_8bitctrls+set}" = set; then 4630if test "${enable_8bitctrls+set}" = set; then
4658 enableval="$enable_8bitctrls" 4631 enableval="$enable_8bitctrls"
4659 if test x$enableval = xyes -o x$enableval = xno; then 4632 if test x$enableval = xyes -o x$enableval = xno; then
4660 support_8bitctrls=$enableval 4633 support_8bitctrls=$enableval
4719_ACEOF 4692_ACEOF
4720 4693
4721 4694
4722RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 4695RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
4723 4696
4724
4725# Check whether --enable-strings or --disable-strings was given.
4726if test "${enable_strings+set}" = set; then
4727 enableval="$enable_strings"
4728 if test x$enableval = xyes -o x$enableval = xno; then
4729 support_addstrings=$enableval
4730 fi
4731fi;
4732 4697
4733# Check whether --enable-swapscreen or --disable-swapscreen was given. 4698# Check whether --enable-swapscreen or --disable-swapscreen was given.
4734if test "${enable_swapscreen+set}" = set; then 4699if test "${enable_swapscreen+set}" = set; then
4735 enableval="$enable_swapscreen" 4700 enableval="$enable_swapscreen"
4736 if test x$enableval = xno; then 4701 if test x$enableval = xno; then
7308 7273
7309 7274
7310 7275
7311 7276
7312 7277
7278
7279
7313for ac_header in \ 7280for ac_header in \
7314 assert.h \ 7281 assert.h \
7315 fcntl.h \ 7282 fcntl.h \
7316 grp.h \ 7283 grp.h \
7317 libc.h \ 7284 libc.h \
7330 sys/time.h \ 7297 sys/time.h \
7331 utmp.h \ 7298 utmp.h \
7332 utmpx.h \ 7299 utmpx.h \
7333 stdint.h \ 7300 stdint.h \
7334 pty.h \ 7301 pty.h \
7302 util.h \
7303 libutil.h \
7335 wchar.h \ 7304 wchar.h \
7336 cwchar \ 7305 cwchar \
7337 clocale \ 7306 clocale \
7338 7307
7339do 7308do
10203 seteuid \ 10172 seteuid \
10204 setreuid \ 10173 setreuid \
10205 setsid \ 10174 setsid \
10206 setpgrp \ 10175 setpgrp \
10207 setpgid \ 10176 setpgid \
10208 openpty \
10209 _getpty \ 10177 _getpty \
10178 posix_openpt \
10210 grantpt \ 10179 grantpt \
10211 unlockpt \ 10180 unlockpt \
10212 isastream \ 10181 isastream \
10213 on_exit \ 10182 on_exit \
10214 nanosleep \ 10183 nanosleep \
11995#define XIMCB_PROTO_BROKEN 1 11964#define XIMCB_PROTO_BROKEN 1
11996_ACEOF 11965_ACEOF
11997 11966
11998fi 11967fi
11999 11968
11969if test x$ac_cv_func_posix_openpt = xno; then
12000echo "$as_me:$LINENO: checking for getpt" >&5 11970 echo "$as_me:$LINENO: checking for openpty" >&5
12001echo $ECHO_N "checking for getpt... $ECHO_C" >&6 11971echo $ECHO_N "checking for openpty... $ECHO_C" >&6
12002if test "${rxvt_cv_func_getpt+set}" = set; then 11972if test "${ac_cv_func_openpty+set}" = set; then
12003 echo $ECHO_N "(cached) $ECHO_C" >&6 11973 echo $ECHO_N "(cached) $ECHO_C" >&6
12004else 11974else
12005 cat >conftest.$ac_ext <<_ACEOF 11975 cat >conftest.$ac_ext <<_ACEOF
12006/* confdefs.h. */ 11976/* confdefs.h. */
12007_ACEOF 11977_ACEOF
12008cat confdefs.h >>conftest.$ac_ext 11978cat confdefs.h >>conftest.$ac_ext
12009cat >>conftest.$ac_ext <<_ACEOF 11979cat >>conftest.$ac_ext <<_ACEOF
12010/* end confdefs.h. */ 11980/* end confdefs.h. */
12011#define _GNU_SOURCE 11981/* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
12012#ifdef HAVE_STDLIB_H 11982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12013# 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>
12014#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
12015int 12018int
12016main () 12019main ()
12017{ 12020{
12018(void)getpt(); 12021return f != openpty;
12019 ; 12022 ;
12020 return 0; 12023 return 0;
12021} 12024}
12022_ACEOF 12025_ACEOF
12023rm -f conftest.$ac_objext conftest$ac_exeext 12026rm -f conftest.$ac_objext conftest$ac_exeext
12039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12040 (eval $ac_try) 2>&5 12043 (eval $ac_try) 2>&5
12041 ac_status=$? 12044 ac_status=$?
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); }; }; then 12046 (exit $ac_status); }; }; then
12044 rxvt_cv_func_getpt=yes 12047 ac_cv_func_openpty=yes
12045else 12048else
12046 echo "$as_me: failed program was:" >&5 12049 echo "$as_me: failed program was:" >&5
12047sed 's/^/| /' conftest.$ac_ext >&5 12050sed 's/^/| /' conftest.$ac_ext >&5
12048 12051
12049rxvt_cv_func_getpt=no 12052ac_cv_func_openpty=no
12050fi 12053fi
12051rm -f conftest.err conftest.$ac_objext \ 12054rm -f conftest.err conftest.$ac_objext \
12052 conftest$ac_exeext conftest.$ac_ext 12055 conftest$ac_exeext conftest.$ac_ext
12053fi 12056fi
12054echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 12057echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
12055echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 12058echo "${ECHO_T}$ac_cv_func_openpty" >&6
12056if test x$rxvt_cv_func_getpt = xyes; then 12059if test $ac_cv_func_openpty = yes; then
12057 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
12058cat >>confdefs.h <<\_ACEOF 12073cat >>conftest.$ac_ext <<_ACEOF
12059#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}
12060_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
12061 12130
12062fi 12131fi
12063 12132
12064echo "$as_me:$LINENO: checking for pty/tty type" >&5 12133echo "$as_me:$LINENO: checking for pty/tty type" >&5
12065echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 12134echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6
12066if test "${rxvt_cv_ptys+set}" = set; then 12135if test "${rxvt_cv_ptys+set}" = set; then
12067 echo $ECHO_N "(cached) $ECHO_C" >&6 12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12068else 12137else
12069 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
12070 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
12071 else if test x$ac_cv_func__getpty = xyes; then 12142 else if test x$ac_cv_func__getpty = xyes; then
12072 rxvt_cv_ptys=SGI4 12143 rxvt_cv_ptys=SGI4
12073 else if test -c /dev/ttyp20; then 12144 else if test -c /dev/ttyp20; then
12074 rxvt_cv_ptys=SCO 12145 rxvt_cv_ptys=SCO
12075 else if test -c /dev/ptym/clone; then 12146 else if test -c /dev/ptym/clone; then
12076 rxvt_cv_ptys=HPUX 12147 rxvt_cv_ptys=HPUX
12077 else if test x$rxvt_cv_func_getpt = xyes; then
12078 rxvt_cv_ptys=GLIBC
12079 else if test -c /dev/ptc -a -c /dev/pts; then 12148 else if test -c /dev/ptc -a -c /dev/pts; then
12080 rxvt_cv_ptys=PTC 12149 rxvt_cv_ptys=PTC
12081 else if test -c /dev/ptc -a -d /dev/pts; then 12150 else if test -c /dev/ptc -a -d /dev/pts; then
12082 rxvt_cv_ptys=PTC 12151 rxvt_cv_ptys=PTC
12083 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
12098 12167
12099fi 12168fi
12100echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 12169echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
12101echo "${ECHO_T}$rxvt_cv_ptys" >&6 12170echo "${ECHO_T}$rxvt_cv_ptys" >&6
12102 12171
12172if test x$rxvt_cv_ptys = xPOSIX; then
12173
12174cat >>confdefs.h <<\_ACEOF
12175#define PTYS_ARE_POSIX 1
12176_ACEOF
12177
12178fi
12103if test x$rxvt_cv_ptys = xOPENPTY; then 12179if test x$rxvt_cv_ptys = xOPENPTY; then
12104 12180
12105cat >>confdefs.h <<\_ACEOF 12181cat >>confdefs.h <<\_ACEOF
12106#define PTYS_ARE_OPENPTY 1 12182#define PTYS_ARE_OPENPTY 1
12107_ACEOF 12183_ACEOF
12133cat >>confdefs.h <<\_ACEOF 12209cat >>confdefs.h <<\_ACEOF
12134#define PTYS_ARE__GETPTY 1 12210#define PTYS_ARE__GETPTY 1
12135_ACEOF 12211_ACEOF
12136 12212
12137fi 12213fi
12138if test x$rxvt_cv_ptys = xCONVEX; then
12139
12140cat >>confdefs.h <<\_ACEOF
12141#define PTYS_ARE_GETPTY 1
12142_ACEOF
12143
12144fi
12145if test x$rxvt_cv_ptys = xGLIBC; then
12146
12147cat >>confdefs.h <<\_ACEOF
12148#define PTYS_ARE_GETPT 1
12149_ACEOF
12150
12151fi
12152if test x$rxvt_cv_ptys = xHPUX; then 12214if test x$rxvt_cv_ptys = xHPUX; then
12153 12215
12154cat >>confdefs.h <<\_ACEOF 12216cat >>confdefs.h <<\_ACEOF
12155#define PTYS_ARE_CLONE 1 12217#define PTYS_ARE_CLONE 1
12156_ACEOF 12218_ACEOF
12157 12219
12158fi 12220fi
12159if 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
12160 12222
12161cat >>confdefs.h <<\_ACEOF 12223cat >>confdefs.h <<\_ACEOF
12162#define PTYS_ARE_SEARCHED 1 12224#define PTYS_ARE_SEARCHED 1
12163_ACEOF 12225_ACEOF
12164 12226
12185 12247
12186fi 12248fi
12187 12249
12188if test x$support_xft = xyes; then 12250if test x$support_xft = xyes; then
12189 LIBS="$LIBS `pkg-config xft --libs`" 12251 LIBS="$LIBS `pkg-config xft --libs`"
12190 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
12191 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 12252 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
12192 12253
12193 12254
12194for ac_header in X11/Xft/Xft.h 12255for ac_header in X11/Xft/Xft.h
12195do 12256do
12479cat >>confdefs.h <<\_ACEOF 12540cat >>confdefs.h <<\_ACEOF
12480#define SELECTION_SCROLLING 1 12541#define SELECTION_SCROLLING 1
12481_ACEOF 12542_ACEOF
12482 12543
12483fi 12544fi
12484if test x$support_menubar = xyes; then
12485
12486cat >>confdefs.h <<\_ACEOF
12487#define MENUBAR 1
12488_ACEOF
12489
12490fi
12491if test x$support_frills = xyes; then 12545if test x$support_frills = xyes; then
12492 12546
12493cat >>confdefs.h <<\_ACEOF 12547cat >>confdefs.h <<\_ACEOF
12494#define ENABLE_FRILLS 1 12548#define ENABLE_FRILLS 1
12495_ACEOF 12549_ACEOF
12739 12793
12740 echo "$as_me:$LINENO: checking for $PERL suitability" >&5 12794 echo "$as_me:$LINENO: checking for $PERL suitability" >&5
12741echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 12795echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6
12742 if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then 12796 if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then
12743 12797
12798 save_CXXFLAGS="$CXXFLAGS"
12799 save_LIBS="$LIBS"
12800 CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`"
12801 LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`"
12802 cat >conftest.$ac_ext <<_ACEOF
12803/* confdefs.h. */
12804_ACEOF
12805cat confdefs.h >>conftest.$ac_ext
12806cat >>conftest.$ac_ext <<_ACEOF
12807/* end confdefs.h. */
12808
12809#include <EXTERN.h>
12810#include <perl.h>
12811#include <XSUB.h>
12812
12813int
12814main ()
12815{
12816
12817 PerlInterpreter *perl = perl_alloc ();
12818
12819 ;
12820 return 0;
12821}
12822_ACEOF
12823rm -f conftest.$ac_objext conftest$ac_exeext
12824if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12825 (eval $ac_link) 2>conftest.er1
12826 ac_status=$?
12827 grep -v '^ *+' conftest.er1 >conftest.err
12828 rm -f conftest.er1
12829 cat conftest.err >&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); } &&
12832 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12835 ac_status=$?
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; } &&
12838 { ac_try='test -s conftest$ac_exeext'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12841 ac_status=$?
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; }; then
12844 rxvt_perl_link=yes
12845else
12846 echo "$as_me: failed program was:" >&5
12847sed 's/^/| /' conftest.$ac_ext >&5
12848
12849rxvt_perl_link=no
12850fi
12851rm -f conftest.err conftest.$ac_objext \
12852 conftest$ac_exeext conftest.$ac_ext
12853 CXXFLAGS="$save_CXXFLAGS"
12854 LIBS="$save_LIBS"
12855
12856 if test x$rxvt_perl_link = xyes; then
12857 echo "$as_me:$LINENO: result: ok" >&5
12858echo "${ECHO_T}ok" >&6
12859
12744cat >>confdefs.h <<\_ACEOF 12860cat >>confdefs.h <<\_ACEOF
12745#define ENABLE_PERL 1 12861#define ENABLE_PERL 1
12746_ACEOF 12862_ACEOF
12747 12863
12748 IF_PERL= 12864 IF_PERL=
12749 PERL_O=rxvtperl.o 12865 PERL_O=rxvtperl.o
12750 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" 12866 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`"
12751 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" 12867 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`"
12752 PERLARCHLIB="`$PERL -MConfig -e 'print $Config{archlib}'`" 12868 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`"
12869 else
12870 support_perl=no
12753 echo "$as_me:$LINENO: result: ok" >&5 12871 echo "$as_me:$LINENO: result: no, unable to link" >&5
12754echo "${ECHO_T}ok" >&6 12872echo "${ECHO_T}no, unable to link" >&6
12873 fi
12755 else 12874 else
12756 { { echo "$as_me:$LINENO: error: no working perl found" >&5 12875 { { echo "$as_me:$LINENO: error: no working perl found" >&5
12757echo "$as_me: error: no working perl found" >&2;} 12876echo "$as_me: error: no working perl found" >&2;}
12758 { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } 12877 { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; }
12878 support_perl=no
12759 fi 12879 fi
12760fi 12880fi
12761 12881
12762 12882
12763 12883
12764 12884
12765 12885
12766 12886
12887
12888if test x$support_perl = xyes; then
12889 support_frills=yes
12890fi
12767 12891
12768 12892
12769CFLAGS=${CFLAGS--O} 12893CFLAGS=${CFLAGS--O}
12770LDFLAGS=${LDFLAGS--O} 12894LDFLAGS=${LDFLAGS--O}
12771 12895
12786fi 12910fi
12787 12911
12788 12912
12789 12913
12790 12914
12791
12792if test x$support_addstrings = xno; then
12793
12794cat >>confdefs.h <<\_ACEOF
12795#define NO_STRINGS 1
12796_ACEOF
12797
12798fi
12799 12915
12800MCOMMON=./autoconf/Make.common 12916MCOMMON=./autoconf/Make.common
12801 12917
12802 12918
12803test "$program_prefix" != NONE && 12919test "$program_prefix" != NONE &&
13555s,@rxvt_intp_define@,$rxvt_intp_define,;t t 13671s,@rxvt_intp_define@,$rxvt_intp_define,;t t
13556s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 13672s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
13557s,@PERL@,$PERL,;t t 13673s,@PERL@,$PERL,;t t
13558s,@PERLLIB@,$PERLLIB,;t t 13674s,@PERLLIB@,$PERLLIB,;t t
13559s,@PERLFLAGS@,$PERLFLAGS,;t t 13675s,@PERLFLAGS@,$PERLFLAGS,;t t
13560s,@PERLARCHLIB@,$PERLARCHLIB,;t t 13676s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
13561s,@IF_PERL@,$IF_PERL,;t t 13677s,@IF_PERL@,$IF_PERL,;t t
13562s,@PERL_O@,$PERL_O,;t t 13678s,@PERL_O@,$PERL_O,;t t
13563s,@DEBUG@,$DEBUG,;t t 13679s,@DEBUG@,$DEBUG,;t t
13564s,@DINCLUDE@,$DINCLUDE,;t t 13680s,@DINCLUDE@,$DINCLUDE,;t t
13565s,@DLIB@,$DLIB,;t t 13681s,@DLIB@,$DLIB,;t t

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines