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.75 by root, Tue Jan 17 11:53:07 2006 UTC

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 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=''
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
1376ac_aux_dir= 1375ac_aux_dir=
1377for ac_dir in autoconf $srcdir/autoconf; do 1376for ac_dir in autoconf $srcdir/autoconf; do
1378 if test -f $ac_dir/install-sh; then 1377 if test -f $ac_dir/install-sh; then
1379 ac_aux_dir=$ac_dir 1378 ac_aux_dir=$ac_dir
1380 ac_install_sh="$ac_aux_dir/install-sh -c" 1379 ac_install_sh="$ac_aux_dir/install-sh -c"
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'
3098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099ac_compiler_gnu=$ac_cv_c_compiler_gnu 3100ac_compiler_gnu=$ac_cv_c_compiler_gnu
3100 3101
3101 3102
3102if test -z "$orig_CXXFLAGS"; then 3103if test -z "$orig_CXXFLAGS"; then
3103 CXXFLAGS='-O'
3104 if test x$GCC = xyes && test "x$GXX" = xyes; then 3104 if test x$GCC = xyes && test "x$GXX" = xyes; then
3105 CXXFLAGS="-g -O3" 3105 CXXFLAGS="-g -O3"
3106 else
3107 CXXFLAGS="-O"
3106 fi 3108 fi
3107 CFLAGS="$CXXFLAGS" 3109 CFLAGS="$CXXFLAGS"
3108fi 3110fi
3109 3111
3110LINKER="$CXX" 3112LINKER="$CXX"
4322support_inheritpixmap=yes 4324support_inheritpixmap=yes
4323support_tinting=yes 4325support_tinting=yes
4324support_fading=yes 4326support_fading=yes
4325support_keepscrolling=yes 4327support_keepscrolling=yes
4326support_selectionscrolling=yes 4328support_selectionscrolling=yes
4327support_menubar=no
4328support_mousewheel=yes 4329support_mousewheel=yes
4329support_mouseslipwheel=yes 4330support_mouseslipwheel=yes
4330support_utmp=yes 4331support_utmp=yes
4331support_wtmp=yes 4332support_wtmp=yes
4332support_lastlog=yes 4333support_lastlog=yes
4369 support_tinting=no 4370 support_tinting=no
4370 support_fading=no 4371 support_fading=no
4371 support_keepscrolling=no 4372 support_keepscrolling=no
4372 support_selectionscrolling=no 4373 support_selectionscrolling=no
4373 support_lastlog=no 4374 support_lastlog=no
4374 support_menubar=no
4375 support_mousewheel=no 4375 support_mousewheel=no
4376 support_mouseslipwheel=no 4376 support_mouseslipwheel=no
4377 support_text_blink=no 4377 support_text_blink=no
4378 support_pointer_blank=no 4378 support_pointer_blank=no
4379 support_scroll_rxvt=no 4379 support_scroll_rxvt=no
4400 support_tinting=yes 4400 support_tinting=yes
4401 support_fading=yes 4401 support_fading=yes
4402 support_keepscrolling=yes 4402 support_keepscrolling=yes
4403 support_selectionscrolling=yes 4403 support_selectionscrolling=yes
4404 support_lastlog=yes 4404 support_lastlog=yes
4405 support_menubar=yes
4406 support_mousewheel=yes 4405 support_mousewheel=yes
4407 support_mouseslipwheel=yes 4406 support_mouseslipwheel=yes
4408 support_text_blink=yes 4407 support_text_blink=yes
4409 support_pointer_blank=yes 4408 support_pointer_blank=yes
4410 support_scroll_rxvt=yes 4409 support_scroll_rxvt=yes
4513 if test x$enableval = xyes -o x$enableval = xno; then 4512 if test x$enableval = xyes -o x$enableval = xno; then
4514 support_fading=$enableval 4513 support_fading=$enableval
4515 fi 4514 fi
4516fi; 4515fi;
4517 4516
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. 4517# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given.
4527if test "${enable_rxvt_scroll+set}" = set; then 4518if test "${enable_rxvt_scroll+set}" = set; then
4528 enableval="$enable_rxvt_scroll" 4519 enableval="$enable_rxvt_scroll"
4529 if test x$enableval = xyes -o x$enableval = xno; then 4520 if test x$enableval = xyes -o x$enableval = xno; then
4530 support_scroll_rxvt=$enableval 4521 support_scroll_rxvt=$enableval
4561 if test x$enableval = xyes -o x$enableval = xno; then 4552 if test x$enableval = xyes -o x$enableval = xno; then
4562 support_scroll_plain=$enableval 4553 support_scroll_plain=$enableval
4563 fi 4554 fi
4564fi; 4555fi;
4565 4556
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 4557
4578 4558
4579# Check whether --with-codesets or --without-codesets was given. 4559# Check whether --with-codesets or --without-codesets was given.
4580if test "${with_codesets+set}" = set; then 4560if test "${with_codesets+set}" = set; then
4581 withval="$with_codesets" 4561 withval="$with_codesets"
10150#define RETSIGTYPE $ac_cv_type_signal 10130#define RETSIGTYPE $ac_cv_type_signal
10151_ACEOF 10131_ACEOF
10152 10132
10153 10133
10154 10134
10155case "$host_alias" in
10156 *ultrix) ac_cv_func_setsid='no' ;;
10157 *) break;;
10158esac
10159
10160
10161
10162
10163 10135
10164 10136
10165 10137
10166 10138
10167 10139
10175 10147
10176 10148
10177 10149
10178 10150
10179for ac_func in \ 10151for ac_func in \
10180 atexit \
10181 revoke \ 10152 revoke \
10182 unsetenv \ 10153 unsetenv \
10183 setutent \ 10154 setutent \
10184 seteuid \ 10155 seteuid \
10185 setreuid \ 10156 setreuid \
10186 setsid \
10187 setpgrp \
10188 setpgid \
10189 _getpty \ 10157 _getpty \
10158 getpt \
10190 posix_openpt \ 10159 posix_openpt \
10191 grantpt \ 10160 grantpt \
10192 unlockpt \ 10161 unlockpt \
10193 isastream \ 10162 isastream \
10194 on_exit \ 10163 on_exit \
11976#define XIMCB_PROTO_BROKEN 1 11945#define XIMCB_PROTO_BROKEN 1
11977_ACEOF 11946_ACEOF
11978 11947
11979fi 11948fi
11980 11949
11981if test x$rxvt_cv_func_posix_openpt = xno; then 11950if 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 11951 echo "$as_me:$LINENO: checking for openpty" >&5
11983echo $ECHO_N "checking for openpty... $ECHO_C" >&6 11952echo $ECHO_N "checking for openpty... $ECHO_C" >&6
11984if test "${ac_cv_func_openpty+set}" = set; then 11953if test "${ac_cv_func_openpty+set}" = set; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6 11954 echo $ECHO_N "(cached) $ECHO_C" >&6
11986else 11955else
12147if test "${rxvt_cv_ptys+set}" = set; then 12116if test "${rxvt_cv_ptys+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6 12117 echo $ECHO_N "(cached) $ECHO_C" >&6
12149else 12118else
12150 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then 12119 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
12151 rxvt_cv_ptys=OPENPTY 12120 rxvt_cv_ptys=OPENPTY
12121 else if test x$ac_cv_func_getpt = xyes; then
12122 rxvt_cv_ptys=GLIBC
12152 else if test x$ac_cv_func_posix_openpt = xyes; then 12123 else if test x$ac_cv_func_posix_openpt = xyes; then
12153 rxvt_cv_ptys=POSIX 12124 rxvt_cv_ptys=POSIX
12154 else if test x$ac_cv_func__getpty = xyes; then 12125 else if test x$ac_cv_func__getpty = xyes; then
12155 rxvt_cv_ptys=SGI4 12126 rxvt_cv_ptys=SGI4
12156 else if test -c /dev/ttyp20; then 12127 else if test -c /dev/ttyp20; then
12174fi 12145fi
12175fi 12146fi
12176fi 12147fi
12177fi 12148fi
12178fi 12149fi
12150fi
12179 12151
12180fi 12152fi
12181echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 12153echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
12182echo "${ECHO_T}$rxvt_cv_ptys" >&6 12154echo "${ECHO_T}$rxvt_cv_ptys" >&6
12183 12155
12156if test x$rxvt_cv_ptys = xGLIBC; then
12157
12158cat >>confdefs.h <<\_ACEOF
12159#define PTYS_ARE_GETPT 1
12160_ACEOF
12161
12162fi
12184if test x$rxvt_cv_ptys = xPOSIX; then 12163if test x$rxvt_cv_ptys = xPOSIX; then
12185 12164
12186cat >>confdefs.h <<\_ACEOF 12165cat >>confdefs.h <<\_ACEOF
12187#define PTYS_ARE_POSIX 1 12166#define PTYS_ARE_POSIX 1
12188_ACEOF 12167_ACEOF
12552cat >>confdefs.h <<\_ACEOF 12531cat >>confdefs.h <<\_ACEOF
12553#define SELECTION_SCROLLING 1 12532#define SELECTION_SCROLLING 1
12554_ACEOF 12533_ACEOF
12555 12534
12556fi 12535fi
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 12536if test x$support_frills = xyes; then
12565 12537
12566cat >>confdefs.h <<\_ACEOF 12538cat >>confdefs.h <<\_ACEOF
12567#define ENABLE_FRILLS 1 12539#define ENABLE_FRILLS 1
12568_ACEOF 12540_ACEOF
12930 12902
12931 12903
12932 12904
12933 12905
12934 12906
12935MCOMMON=./autoconf/Make.common
12936
12937
12938test "$program_prefix" != NONE && 12907test "$program_prefix" != NONE &&
12939 program_transform_name="s,^,$program_prefix,;$program_transform_name" 12908 program_transform_name="s,^,$program_prefix,;$program_transform_name"
12940# Use a double $ so make ignores it. 12909# Use a double $ so make ignores it.
12941test "$program_suffix" != NONE && 12910test "$program_suffix" != NONE &&
12942 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 12911 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
13016 include_time_h="#include <time.h>" 12985 include_time_h="#include <time.h>"
13017else 12986else
13018 include_time_h="/* #include <time.h> */" 12987 include_time_h="/* #include <time.h> */"
13019fi 12988fi
13020 12989
13021 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" 12990 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h"
13022 12991
13023cat >confcache <<\_ACEOF 12992cat >confcache <<\_ACEOF
13024# This file is a shell script that caches the results of configure 12993# 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 12994# tests run on this system so they can be shared between configure
13026# scripts and configure runs, see configure's option --config-cache. 12995# scripts and configure runs, see configure's option --config-cache.
13543cat >>$CONFIG_STATUS <<\_ACEOF 13512cat >>$CONFIG_STATUS <<\_ACEOF
13544for ac_config_target in $ac_config_targets 13513for ac_config_target in $ac_config_targets
13545do 13514do
13546 case "$ac_config_target" in 13515 case "$ac_config_target" in
13547 # Handling of arguments. 13516 # Handling of arguments.
13548 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
13549 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13517 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13550 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13518 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13551 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13519 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13552 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; 13520 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
13553 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; 13521 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;;
13711s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t 13679s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t
13712s,@include_sys_time_h@,$include_sys_time_h,;t t 13680s,@include_sys_time_h@,$include_sys_time_h,;t t
13713s,@include_time_h@,$include_time_h,;t t 13681s,@include_time_h@,$include_time_h,;t t
13714s,@LIBOBJS@,$LIBOBJS,;t t 13682s,@LIBOBJS@,$LIBOBJS,;t t
13715s,@LTLIBOBJS@,$LTLIBOBJS,;t t 13683s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13716/@MCOMMON@/r $MCOMMON
13717s,@MCOMMON@,,;t t
13718CEOF 13684CEOF
13719 13685
13720_ACEOF 13686_ACEOF
13721 13687
13722 cat >>$CONFIG_STATUS <<\_ACEOF 13688 cat >>$CONFIG_STATUS <<\_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines