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

Comparing rxvt-unicode/configure (file contents):
Revision 1.68 by root, Mon Jan 16 09:28:44 2006 UTC vs.
Revision 1.74 by root, Tue Jan 17 09:07:40 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"
10174 10154
10175 10155
10176 10156
10177 10157
10178 10158
10159
10179for ac_func in \ 10160for ac_func in \
10180 atexit \ 10161 atexit \
10181 revoke \ 10162 revoke \
10182 unsetenv \ 10163 unsetenv \
10183 setutent \ 10164 setutent \
10185 setreuid \ 10166 setreuid \
10186 setsid \ 10167 setsid \
10187 setpgrp \ 10168 setpgrp \
10188 setpgid \ 10169 setpgid \
10189 _getpty \ 10170 _getpty \
10171 getpt \
10190 posix_openpt \ 10172 posix_openpt \
10191 grantpt \ 10173 grantpt \
10192 unlockpt \ 10174 unlockpt \
10193 isastream \ 10175 isastream \
10194 on_exit \ 10176 on_exit \
11976#define XIMCB_PROTO_BROKEN 1 11958#define XIMCB_PROTO_BROKEN 1
11977_ACEOF 11959_ACEOF
11978 11960
11979fi 11961fi
11980 11962
11981if test x$rxvt_cv_func_posix_openpt = xno; then 11963if 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 11964 echo "$as_me:$LINENO: checking for openpty" >&5
11983echo $ECHO_N "checking for openpty... $ECHO_C" >&6 11965echo $ECHO_N "checking for openpty... $ECHO_C" >&6
11984if test "${ac_cv_func_openpty+set}" = set; then 11966if test "${ac_cv_func_openpty+set}" = set; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6 11967 echo $ECHO_N "(cached) $ECHO_C" >&6
11986else 11968else
12147if test "${rxvt_cv_ptys+set}" = set; then 12129if test "${rxvt_cv_ptys+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6 12130 echo $ECHO_N "(cached) $ECHO_C" >&6
12149else 12131else
12150 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then 12132 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
12151 rxvt_cv_ptys=OPENPTY 12133 rxvt_cv_ptys=OPENPTY
12134 else if test x$ac_cv_func_getpt = xyes; then
12135 rxvt_cv_ptys=GLIBC
12152 else if test x$ac_cv_func_posix_openpt = xyes; then 12136 else if test x$ac_cv_func_posix_openpt = xyes; then
12153 rxvt_cv_ptys=POSIX 12137 rxvt_cv_ptys=POSIX
12154 else if test x$ac_cv_func__getpty = xyes; then 12138 else if test x$ac_cv_func__getpty = xyes; then
12155 rxvt_cv_ptys=SGI4 12139 rxvt_cv_ptys=SGI4
12156 else if test -c /dev/ttyp20; then 12140 else if test -c /dev/ttyp20; then
12174fi 12158fi
12175fi 12159fi
12176fi 12160fi
12177fi 12161fi
12178fi 12162fi
12163fi
12179 12164
12180fi 12165fi
12181echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 12166echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
12182echo "${ECHO_T}$rxvt_cv_ptys" >&6 12167echo "${ECHO_T}$rxvt_cv_ptys" >&6
12183 12168
12169if test x$rxvt_cv_ptys = xGLIBC; then
12170
12171cat >>confdefs.h <<\_ACEOF
12172#define PTYS_ARE_GETPT 1
12173_ACEOF
12174
12175fi
12184if test x$rxvt_cv_ptys = xPOSIX; then 12176if test x$rxvt_cv_ptys = xPOSIX; then
12185 12177
12186cat >>confdefs.h <<\_ACEOF 12178cat >>confdefs.h <<\_ACEOF
12187#define PTYS_ARE_POSIX 1 12179#define PTYS_ARE_POSIX 1
12188_ACEOF 12180_ACEOF
12221cat >>confdefs.h <<\_ACEOF 12213cat >>confdefs.h <<\_ACEOF
12222#define PTYS_ARE__GETPTY 1 12214#define PTYS_ARE__GETPTY 1
12223_ACEOF 12215_ACEOF
12224 12216
12225fi 12217fi
12226if test x$rxvt_cv_ptys = xGLIBC; then
12227
12228cat >>confdefs.h <<\_ACEOF
12229#define PTYS_ARE_GETPT 1
12230_ACEOF
12231
12232fi
12233if test x$rxvt_cv_ptys = xHPUX; then 12218if test x$rxvt_cv_ptys = xHPUX; then
12234 12219
12235cat >>confdefs.h <<\_ACEOF 12220cat >>confdefs.h <<\_ACEOF
12236#define PTYS_ARE_CLONE 1 12221#define PTYS_ARE_CLONE 1
12237_ACEOF 12222_ACEOF
12238 12223
12239fi 12224fi
12240if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then 12225if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then
12241 12226
12242cat >>confdefs.h <<\_ACEOF 12227cat >>confdefs.h <<\_ACEOF
12243#define PTYS_ARE_SEARCHED 1 12228#define PTYS_ARE_SEARCHED 1
12244_ACEOF 12229_ACEOF
12245 12230
12559cat >>confdefs.h <<\_ACEOF 12544cat >>confdefs.h <<\_ACEOF
12560#define SELECTION_SCROLLING 1 12545#define SELECTION_SCROLLING 1
12561_ACEOF 12546_ACEOF
12562 12547
12563fi 12548fi
12564if test x$support_menubar = xyes; then
12565
12566cat >>confdefs.h <<\_ACEOF
12567#define MENUBAR 1
12568_ACEOF
12569
12570fi
12571if test x$support_frills = xyes; then 12549if test x$support_frills = xyes; then
12572 12550
12573cat >>confdefs.h <<\_ACEOF 12551cat >>confdefs.h <<\_ACEOF
12574#define ENABLE_FRILLS 1 12552#define ENABLE_FRILLS 1
12575_ACEOF 12553_ACEOF
12937 12915
12938 12916
12939 12917
12940 12918
12941 12919
12942MCOMMON=./autoconf/Make.common
12943
12944
12945test "$program_prefix" != NONE && 12920test "$program_prefix" != NONE &&
12946 program_transform_name="s,^,$program_prefix,;$program_transform_name" 12921 program_transform_name="s,^,$program_prefix,;$program_transform_name"
12947# Use a double $ so make ignores it. 12922# Use a double $ so make ignores it.
12948test "$program_suffix" != NONE && 12923test "$program_suffix" != NONE &&
12949 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 12924 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
13023 include_time_h="#include <time.h>" 12998 include_time_h="#include <time.h>"
13024else 12999else
13025 include_time_h="/* #include <time.h> */" 13000 include_time_h="/* #include <time.h> */"
13026fi 13001fi
13027 13002
13028 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" 13003 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h"
13029 13004
13030cat >confcache <<\_ACEOF 13005cat >confcache <<\_ACEOF
13031# This file is a shell script that caches the results of configure 13006# This file is a shell script that caches the results of configure
13032# tests run on this system so they can be shared between configure 13007# tests run on this system so they can be shared between configure
13033# scripts and configure runs, see configure's option --config-cache. 13008# scripts and configure runs, see configure's option --config-cache.
13550cat >>$CONFIG_STATUS <<\_ACEOF 13525cat >>$CONFIG_STATUS <<\_ACEOF
13551for ac_config_target in $ac_config_targets 13526for ac_config_target in $ac_config_targets
13552do 13527do
13553 case "$ac_config_target" in 13528 case "$ac_config_target" in
13554 # Handling of arguments. 13529 # Handling of arguments.
13555 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
13556 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13530 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13557 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13531 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13558 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13532 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13559 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; 13533 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
13560 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; 13534 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;;
13718s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t 13692s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t
13719s,@include_sys_time_h@,$include_sys_time_h,;t t 13693s,@include_sys_time_h@,$include_sys_time_h,;t t
13720s,@include_time_h@,$include_time_h,;t t 13694s,@include_time_h@,$include_time_h,;t t
13721s,@LIBOBJS@,$LIBOBJS,;t t 13695s,@LIBOBJS@,$LIBOBJS,;t t
13722s,@LTLIBOBJS@,$LTLIBOBJS,;t t 13696s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13723/@MCOMMON@/r $MCOMMON
13724s,@MCOMMON@,,;t t
13725CEOF 13697CEOF
13726 13698
13727_ACEOF 13699_ACEOF
13728 13700
13729 cat >>$CONFIG_STATUS <<\_ACEOF 13701 cat >>$CONFIG_STATUS <<\_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines