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

Comparing rxvt-unicode/configure (file contents):
Revision 1.69 by root, Mon Jan 16 11:26:39 2006 UTC vs.
Revision 1.79 by root, Wed Jan 18 15:04:24 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 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' 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 LINKER CXXCPP EGREP INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP 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=''
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
318# The variables have the same names as the options, with 318# The variables have the same names as the options, with
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
888 --enable-half-shadow use half width/height shadow on rxvt scrollbar
889 --enable-xim XIM (X Input Method) protocol support 887 --enable-xim XIM (X Input Method) protocol support
890 --enable-ttygid enable tty setting to group named "tty" 888 --enable-ttygid enable tty setting to group named "tty"
891 --disable-backspace-key disable handling of the backspace key 889 --disable-backspace-key disable handling of the backspace key
892 --disable-delete-key disable handling of the delete key 890 --disable-delete-key disable handling of the delete key
893 --disable-resources disable all resource checking 891 --disable-resources disable all resource checking
1371 1369
1372 1370
1373 1371
1374 1372
1375 1373
1374
1375 ac_config_headers="$ac_config_headers config.h:config.h.in"
1376
1377
1376ac_aux_dir= 1378ac_aux_dir=
1377for ac_dir in autoconf $srcdir/autoconf; do 1379for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1378 if test -f $ac_dir/install-sh; then 1380 if test -f $ac_dir/install-sh; then
1379 ac_aux_dir=$ac_dir 1381 ac_aux_dir=$ac_dir
1380 ac_install_sh="$ac_aux_dir/install-sh -c" 1382 ac_install_sh="$ac_aux_dir/install-sh -c"
1381 break 1383 break
1382 elif test -f $ac_dir/install.sh; then 1384 elif test -f $ac_dir/install.sh; then
1388 ac_install_sh="$ac_aux_dir/shtool install -c" 1390 ac_install_sh="$ac_aux_dir/shtool install -c"
1389 break 1391 break
1390 fi 1392 fi
1391done 1393done
1392if test -z "$ac_aux_dir"; then 1394if test -z "$ac_aux_dir"; then
1393 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5 1395 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1394echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;} 1396echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1395 { (exit 1); exit 1; }; } 1397 { (exit 1); exit 1; }; }
1396fi 1398fi
1397ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1399ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1398ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1400ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1399ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1401ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1400
1401 ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in"
1402
1403 1402
1404# Make sure we can run config.sub. 1403# Make sure we can run config.sub.
1405$ac_config_sub sun4 >/dev/null 2>&1 || 1404$ac_config_sub sun4 >/dev/null 2>&1 ||
1406 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1405 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1407echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1406echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1458VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1460DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1459DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1461echo "" 1460echo ""
1462echo "configuring for rxvt $VERSION" 1461echo "configuring for rxvt $VERSION"
1463echo "" 1462echo ""
1463
1464orig_CXXFLAGS="$CXXFLAGS"
1464 1465
1465 1466
1466ac_ext=c 1467ac_ext=c
1467ac_cpp='$CPP $CPPFLAGS' 1468ac_cpp='$CPP $CPPFLAGS'
1468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3049 3050
3050test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3051test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3051 3052
3052test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3053test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3053 3054
3054for ac_prog in gawk mawk nawk awk
3055do
3056 # Extract the first word of "$ac_prog", so it can be a program name with args.
3057set dummy $ac_prog; ac_word=$2
3058echo "$as_me:$LINENO: checking for $ac_word" >&5
3059echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3060if test "${ac_cv_prog_AWK+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3062else
3063 if test -n "$AWK"; then
3064 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3065else
3066as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067for as_dir in $PATH
3068do
3069 IFS=$as_save_IFS
3070 test -z "$as_dir" && as_dir=.
3071 for ac_exec_ext in '' $ac_executable_extensions; do
3072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3073 ac_cv_prog_AWK="$ac_prog"
3074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 break 2
3076 fi
3077done
3078done
3079
3080fi
3081fi
3082AWK=$ac_cv_prog_AWK
3083if test -n "$AWK"; then
3084 echo "$as_me:$LINENO: result: $AWK" >&5
3085echo "${ECHO_T}$AWK" >&6
3086else
3087 echo "$as_me:$LINENO: result: no" >&5
3088echo "${ECHO_T}no" >&6
3089fi
3090
3091 test -n "$AWK" && break
3092done
3093
3094 3055
3095ac_ext=c 3056ac_ext=c
3096ac_cpp='$CPP $CPPFLAGS' 3057ac_cpp='$CPP $CPPFLAGS'
3097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099ac_compiler_gnu=$ac_cv_c_compiler_gnu 3060ac_compiler_gnu=$ac_cv_c_compiler_gnu
3100 3061
3101 3062
3102if test -z "$orig_CXXFLAGS"; then 3063if test -z "$orig_CXXFLAGS"; then
3103 CXXFLAGS='-O'
3104 if test x$GCC = xyes && test "x$GXX" = xyes; then 3064 if test x$GCC = xyes && test "x$GXX" = xyes; then
3105 CXXFLAGS="-g -O3" 3065 CXXFLAGS="-g -O3"
3066 else
3067 CXXFLAGS="-O"
3106 fi 3068 fi
3107 CFLAGS="$CXXFLAGS" 3069 CFLAGS="$CXXFLAGS"
3108fi 3070fi
3109 3071
3110LINKER="$CXX" 3072LINKER="$CXX"
4322support_inheritpixmap=yes 4284support_inheritpixmap=yes
4323support_tinting=yes 4285support_tinting=yes
4324support_fading=yes 4286support_fading=yes
4325support_keepscrolling=yes 4287support_keepscrolling=yes
4326support_selectionscrolling=yes 4288support_selectionscrolling=yes
4327support_menubar=no
4328support_mousewheel=yes 4289support_mousewheel=yes
4329support_mouseslipwheel=yes 4290support_mouseslipwheel=yes
4330support_utmp=yes 4291support_utmp=yes
4331support_wtmp=yes 4292support_wtmp=yes
4332support_lastlog=yes 4293support_lastlog=yes
4369 support_tinting=no 4330 support_tinting=no
4370 support_fading=no 4331 support_fading=no
4371 support_keepscrolling=no 4332 support_keepscrolling=no
4372 support_selectionscrolling=no 4333 support_selectionscrolling=no
4373 support_lastlog=no 4334 support_lastlog=no
4374 support_menubar=no
4375 support_mousewheel=no 4335 support_mousewheel=no
4376 support_mouseslipwheel=no 4336 support_mouseslipwheel=no
4377 support_text_blink=no 4337 support_text_blink=no
4378 support_pointer_blank=no 4338 support_pointer_blank=no
4379 support_scroll_rxvt=no 4339 support_scroll_rxvt=no
4400 support_tinting=yes 4360 support_tinting=yes
4401 support_fading=yes 4361 support_fading=yes
4402 support_keepscrolling=yes 4362 support_keepscrolling=yes
4403 support_selectionscrolling=yes 4363 support_selectionscrolling=yes
4404 support_lastlog=yes 4364 support_lastlog=yes
4405 support_menubar=yes
4406 support_mousewheel=yes 4365 support_mousewheel=yes
4407 support_mouseslipwheel=yes 4366 support_mouseslipwheel=yes
4408 support_text_blink=yes 4367 support_text_blink=yes
4409 support_pointer_blank=yes 4368 support_pointer_blank=yes
4410 support_scroll_rxvt=yes 4369 support_scroll_rxvt=yes
4513 if test x$enableval = xyes -o x$enableval = xno; then 4472 if test x$enableval = xyes -o x$enableval = xno; then
4514 support_fading=$enableval 4473 support_fading=$enableval
4515 fi 4474 fi
4516fi; 4475fi;
4517 4476
4518# Check whether --enable-menubar or --disable-menubar was given.
4519if test "${enable_menubar+set}" = set; then
4520 enableval="$enable_menubar"
4521 if test x$enableval = xyes -o x$enableval = xno; then
4522 support_menubar=$enableval
4523 fi
4524fi;
4525
4526# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. 4477# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given.
4527if test "${enable_rxvt_scroll+set}" = set; then 4478if test "${enable_rxvt_scroll+set}" = set; then
4528 enableval="$enable_rxvt_scroll" 4479 enableval="$enable_rxvt_scroll"
4529 if test x$enableval = xyes -o x$enableval = xno; then 4480 if test x$enableval = xyes -o x$enableval = xno; then
4530 support_scroll_rxvt=$enableval 4481 support_scroll_rxvt=$enableval
4561 if test x$enableval = xyes -o x$enableval = xno; then 4512 if test x$enableval = xyes -o x$enableval = xno; then
4562 support_scroll_plain=$enableval 4513 support_scroll_plain=$enableval
4563 fi 4514 fi
4564fi; 4515fi;
4565 4516
4566# Check whether --enable-half-shadow or --disable-half-shadow was given.
4567if test "${enable_half_shadow+set}" = set; then
4568 enableval="$enable_half_shadow"
4569 if test x$enableval = xyes; then
4570
4571cat >>confdefs.h <<\_ACEOF
4572#define HALFSHADOW 1
4573_ACEOF
4574
4575 fi
4576fi;
4577 4517
4578 4518
4579# Check whether --with-codesets or --without-codesets was given. 4519# Check whether --with-codesets or --without-codesets was given.
4580if test "${with_codesets+set}" = set; then 4520if test "${with_codesets+set}" = set; then
4581 withval="$with_codesets" 4521 withval="$with_codesets"
4848#define RXVT_TERMINFO "$withval" 4788#define RXVT_TERMINFO "$withval"
4849_ACEOF 4789_ACEOF
4850 terminfo="$withval" 4790 terminfo="$withval"
4851 fi 4791 fi
4852fi; 4792fi;
4853
4854
4855
4856cat >>confdefs.h <<\_ACEOF
4857#define PROTOTYPES 1
4858_ACEOF
4859 4793
4860 4794
4861# Extract the first word of "mv", so it can be a program name with args. 4795# Extract the first word of "mv", so it can be a program name with args.
4862set dummy mv; ac_word=$2 4796set dummy mv; ac_word=$2
4863echo "$as_me:$LINENO: checking for $ac_word" >&5 4797echo "$as_me:$LINENO: checking for $ac_word" >&5
5131CMP=$ac_cv_path_CMP 5065CMP=$ac_cv_path_CMP
5132 5066
5133if test -n "$CMP"; then 5067if test -n "$CMP"; then
5134 echo "$as_me:$LINENO: result: $CMP" >&5 5068 echo "$as_me:$LINENO: result: $CMP" >&5
5135echo "${ECHO_T}$CMP" >&6 5069echo "${ECHO_T}$CMP" >&6
5136else
5137 echo "$as_me:$LINENO: result: no" >&5
5138echo "${ECHO_T}no" >&6
5139fi
5140
5141# Extract the first word of "tbl", so it can be a program name with args.
5142set dummy tbl; ac_word=$2
5143echo "$as_me:$LINENO: checking for $ac_word" >&5
5144echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5145if test "${ac_cv_path_TBL+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5147else
5148 case $TBL in
5149 [\\/]* | ?:[\\/]*)
5150 ac_cv_path_TBL="$TBL" # Let the user override the test with a path.
5151 ;;
5152 *)
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154for as_dir in $PATH
5155do
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext"
5161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5163 fi
5164done
5165done
5166
5167 ;;
5168esac
5169fi
5170TBL=$ac_cv_path_TBL
5171
5172if test -n "$TBL"; then
5173 echo "$as_me:$LINENO: result: $TBL" >&5
5174echo "${ECHO_T}$TBL" >&6
5175else 5070else
5176 echo "$as_me:$LINENO: result: no" >&5 5071 echo "$as_me:$LINENO: result: no" >&5
5177echo "${ECHO_T}no" >&6 5072echo "${ECHO_T}no" >&6
5178fi 5073fi
5179 5074
10150#define RETSIGTYPE $ac_cv_type_signal 10045#define RETSIGTYPE $ac_cv_type_signal
10151_ACEOF 10046_ACEOF
10152 10047
10153 10048
10154 10049
10155case "$host_alias" in
10156 *ultrix) ac_cv_func_setsid='no' ;;
10157 *) break;;
10158esac
10159
10160
10161
10162 10050
10163 10051
10164 10052
10165 10053
10166 10054
10175 10063
10176 10064
10177 10065
10178 10066
10179for ac_func in \ 10067for ac_func in \
10180 atexit \
10181 revoke \ 10068 revoke \
10182 unsetenv \ 10069 unsetenv \
10183 setutent \ 10070 setutent \
10184 seteuid \ 10071 seteuid \
10072 setresuid \
10185 setreuid \ 10073 setreuid \
10186 setsid \
10187 setpgrp \
10188 setpgid \
10189 _getpty \ 10074 _getpty \
10075 getpt \
10190 posix_openpt \ 10076 posix_openpt \
10191 grantpt \ 10077 grantpt \
10192 unlockpt \ 10078 unlockpt \
10193 isastream \ 10079 isastream \
10194 on_exit \ 10080 on_exit \
10445_ACEOF 10331_ACEOF
10446cat confdefs.h >>conftest.$ac_ext 10332cat confdefs.h >>conftest.$ac_ext
10447cat >>conftest.$ac_ext <<_ACEOF 10333cat >>conftest.$ac_ext <<_ACEOF
10448/* end confdefs.h. */ 10334/* end confdefs.h. */
10449#include <sys/types.h> 10335#include <sys/types.h>
10450#include <stdint.h>
10451#include <utmp.h> 10336#include <utmp.h>
10452int 10337int
10453main () 10338main ()
10454{ 10339{
10455struct utmp ut; 10340struct utmp ut;
11916 11801
11917cat >>confdefs.h <<\_ACEOF 11802cat >>confdefs.h <<\_ACEOF
11918#define HAVE_UNIX_FDPASS 1 11803#define HAVE_UNIX_FDPASS 1
11919_ACEOF 11804_ACEOF
11920 11805
11806else
11807 { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5
11808echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;}
11809 { (exit 1); exit 1; }; }
11921fi 11810fi
11922 11811
11923echo "$as_me:$LINENO: checking for broken XIM callback" >&5 11812echo "$as_me:$LINENO: checking for broken XIM callback" >&5
11924echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 11813echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
11925if test "${rxvt_broken_ximcb+set}" = set; then 11814if test "${rxvt_broken_ximcb+set}" = set; then
11976#define XIMCB_PROTO_BROKEN 1 11865#define XIMCB_PROTO_BROKEN 1
11977_ACEOF 11866_ACEOF
11978 11867
11979fi 11868fi
11980 11869
11981if test x$rxvt_cv_func_posix_openpt = xno; then 11870if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then
11982 echo "$as_me:$LINENO: checking for openpty" >&5 11871 echo "$as_me:$LINENO: checking for openpty" >&5
11983echo $ECHO_N "checking for openpty... $ECHO_C" >&6 11872echo $ECHO_N "checking for openpty... $ECHO_C" >&6
11984if test "${ac_cv_func_openpty+set}" = set; then 11873if test "${ac_cv_func_openpty+set}" = set; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6 11874 echo $ECHO_N "(cached) $ECHO_C" >&6
11986else 11875else
12147if test "${rxvt_cv_ptys+set}" = set; then 12036if test "${rxvt_cv_ptys+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6 12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12149else 12038else
12150 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then 12039 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
12151 rxvt_cv_ptys=OPENPTY 12040 rxvt_cv_ptys=OPENPTY
12041 else if test x$ac_cv_func_getpt = xyes; then
12042 rxvt_cv_ptys=GLIBC
12152 else if test x$ac_cv_func_posix_openpt = xyes; then 12043 else if test x$ac_cv_func_posix_openpt = xyes; then
12153 rxvt_cv_ptys=POSIX 12044 rxvt_cv_ptys=POSIX
12154 else if test x$ac_cv_func__getpty = xyes; then 12045 else if test x$ac_cv_func__getpty = xyes; then
12155 rxvt_cv_ptys=SGI4 12046 rxvt_cv_ptys=SGI4
12156 else if test -c /dev/ttyp20; then 12047 else if test -c /dev/ttyp20; then
12174fi 12065fi
12175fi 12066fi
12176fi 12067fi
12177fi 12068fi
12178fi 12069fi
12070fi
12179 12071
12180fi 12072fi
12181echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 12073echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
12182echo "${ECHO_T}$rxvt_cv_ptys" >&6 12074echo "${ECHO_T}$rxvt_cv_ptys" >&6
12183 12075
12076if test x$rxvt_cv_ptys = xGLIBC; then
12077
12078cat >>confdefs.h <<\_ACEOF
12079#define PTYS_ARE_GETPT 1
12080_ACEOF
12081
12082fi
12184if test x$rxvt_cv_ptys = xPOSIX; then 12083if test x$rxvt_cv_ptys = xPOSIX; then
12185 12084
12186cat >>confdefs.h <<\_ACEOF 12085cat >>confdefs.h <<\_ACEOF
12187#define PTYS_ARE_POSIX 1 12086#define PTYS_ARE_POSIX 1
12188_ACEOF 12087_ACEOF
12552cat >>confdefs.h <<\_ACEOF 12451cat >>confdefs.h <<\_ACEOF
12553#define SELECTION_SCROLLING 1 12452#define SELECTION_SCROLLING 1
12554_ACEOF 12453_ACEOF
12555 12454
12556fi 12455fi
12557if test x$support_menubar = xyes; then
12558
12559cat >>confdefs.h <<\_ACEOF
12560#define MENUBAR 1
12561_ACEOF
12562
12563fi
12564if test x$support_frills = xyes; then 12456if test x$support_frills = xyes; then
12565 12457
12566cat >>confdefs.h <<\_ACEOF 12458cat >>confdefs.h <<\_ACEOF
12567#define ENABLE_FRILLS 1 12459#define ENABLE_FRILLS 1
12568_ACEOF 12460_ACEOF
12884 PERL_O=rxvtperl.o 12776 PERL_O=rxvtperl.o
12885 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" 12777 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`"
12886 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" 12778 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`"
12887 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" 12779 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`"
12888 else 12780 else
12889 support_perl=no
12890 echo "$as_me:$LINENO: result: no, unable to link" >&5 12781 { { echo "$as_me:$LINENO: error: no, unable to link" >&5
12891echo "${ECHO_T}no, unable to link" >&6 12782echo "$as_me: error: no, unable to link" >&2;}
12783 { (exit 1); exit 1; }; }
12892 fi 12784 fi
12893 else 12785 else
12894 { { echo "$as_me:$LINENO: error: no working perl found" >&5 12786 { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5
12895echo "$as_me: error: no working perl found" >&2;} 12787echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;}
12896 { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } 12788 { (exit 1); exit 1; }; }
12897 support_perl=no
12898 fi 12789 fi
12899fi 12790fi
12900 12791
12901 12792
12902 12793
12928 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` 12819 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
12929fi 12820fi
12930 12821
12931 12822
12932 12823
12933
12934
12935MCOMMON=./autoconf/Make.common
12936 12824
12937 12825
12938test "$program_prefix" != NONE && 12826test "$program_prefix" != NONE &&
12939 program_transform_name="s,^,$program_prefix,;$program_transform_name" 12827 program_transform_name="s,^,$program_prefix,;$program_transform_name"
12940# Use a double $ so make ignores it. 12828# Use a double $ so make ignores it.
13016 include_time_h="#include <time.h>" 12904 include_time_h="#include <time.h>"
13017else 12905else
13018 include_time_h="/* #include <time.h> */" 12906 include_time_h="/* #include <time.h> */"
13019fi 12907fi
13020 12908
13021 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" 12909 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h"
13022 12910
13023cat >confcache <<\_ACEOF 12911cat >confcache <<\_ACEOF
13024# This file is a shell script that caches the results of configure 12912# This file is a shell script that caches the results of configure
13025# tests run on this system so they can be shared between configure 12913# tests run on this system so they can be shared between configure
13026# scripts and configure runs, see configure's option --config-cache. 12914# scripts and configure runs, see configure's option --config-cache.
13543cat >>$CONFIG_STATUS <<\_ACEOF 13431cat >>$CONFIG_STATUS <<\_ACEOF
13544for ac_config_target in $ac_config_targets 13432for ac_config_target in $ac_config_targets
13545do 13433do
13546 case "$ac_config_target" in 13434 case "$ac_config_target" in
13547 # Handling of arguments. 13435 # Handling of arguments.
13548 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
13549 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13436 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13550 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13437 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13551 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13438 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13552 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; 13439 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
13553 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; 13440 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
13554 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13441 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13555echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13442echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13556 { (exit 1); exit 1; }; };; 13443 { (exit 1); exit 1; }; };;
13557 esac 13444 esac
13558done 13445done
13659s,@ac_ct_CXX@,$ac_ct_CXX,;t t 13546s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13660s,@CPP@,$CPP,;t t 13547s,@CPP@,$CPP,;t t
13661s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 13548s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13662s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 13549s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13663s,@INSTALL_DATA@,$INSTALL_DATA,;t t 13550s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13664s,@AWK@,$AWK,;t t
13665s,@LINKER@,$LINKER,;t t 13551s,@LINKER@,$LINKER,;t t
13666s,@CXXCPP@,$CXXCPP,;t t 13552s,@CXXCPP@,$CXXCPP,;t t
13667s,@EGREP@,$EGREP,;t t 13553s,@EGREP@,$EGREP,;t t
13668s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 13554s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
13669s,@RXVTNAME@,$RXVTNAME,;t t 13555s,@RXVTNAME@,$RXVTNAME,;t t
13672s,@CP@,$CP,;t t 13558s,@CP@,$CP,;t t
13673s,@LN@,$LN,;t t 13559s,@LN@,$LN,;t t
13674s,@SED@,$SED,;t t 13560s,@SED@,$SED,;t t
13675s,@ECHO@,$ECHO,;t t 13561s,@ECHO@,$ECHO,;t t
13676s,@CMP@,$CMP,;t t 13562s,@CMP@,$CMP,;t t
13677s,@TBL@,$TBL,;t t
13678s,@TIC@,$TIC,;t t 13563s,@TIC@,$TIC,;t t
13679s,@X_CFLAGS@,$X_CFLAGS,;t t 13564s,@X_CFLAGS@,$X_CFLAGS,;t t
13680s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 13565s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
13681s,@X_LIBS@,$X_LIBS,;t t 13566s,@X_LIBS@,$X_LIBS,;t t
13682s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 13567s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
13711s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t 13596s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t
13712s,@include_sys_time_h@,$include_sys_time_h,;t t 13597s,@include_sys_time_h@,$include_sys_time_h,;t t
13713s,@include_time_h@,$include_time_h,;t t 13598s,@include_time_h@,$include_time_h,;t t
13714s,@LIBOBJS@,$LIBOBJS,;t t 13599s,@LIBOBJS@,$LIBOBJS,;t t
13715s,@LTLIBOBJS@,$LTLIBOBJS,;t t 13600s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13716/@MCOMMON@/r $MCOMMON
13717s,@MCOMMON@,,;t t
13718CEOF 13601CEOF
13719 13602
13720_ACEOF 13603_ACEOF
13721 13604
13722 cat >>$CONFIG_STATUS <<\_ACEOF 13605 cat >>$CONFIG_STATUS <<\_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines