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

Comparing rxvt-unicode/configure (file contents):
Revision 1.71 by root, Mon Jan 16 14:48:39 2006 UTC vs.
Revision 1.76 by root, Tue Jan 17 12:22:59 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
882 --enable-rxvt-scroll enable rxvt style scrollbar 882 --enable-rxvt-scroll enable rxvt style scrollbar
883 --enable-next-scroll enable NeXT style scrollbar 883 --enable-next-scroll enable NeXT style scrollbar
884 --enable-xterm-scroll enable Xterm style scrollbar 884 --enable-xterm-scroll enable Xterm style scrollbar
885 --enable-perl enable embedded perl interpreter 885 --enable-perl enable embedded perl interpreter
886 --enable-plain-scroll enable plain style scrollbar 886 --enable-plain-scroll enable plain style scrollbar
887 --enable-half-shadow use half width/height shadow on rxvt scrollbar
888 --enable-xim XIM (X Input Method) protocol support 887 --enable-xim XIM (X Input Method) protocol support
889 --enable-ttygid enable tty setting to group named "tty" 888 --enable-ttygid enable tty setting to group named "tty"
890 --disable-backspace-key disable handling of the backspace key 889 --disable-backspace-key disable handling of the backspace key
891 --disable-delete-key disable handling of the delete key 890 --disable-delete-key disable handling of the delete key
892 --disable-resources disable all resource checking 891 --disable-resources disable all resource checking
1370 1369
1371 1370
1372 1371
1373 1372
1374 1373
1374
1375 ac_config_headers="$ac_config_headers config.h:config.h.in"
1376
1377
1375ac_aux_dir= 1378ac_aux_dir=
1376for ac_dir in autoconf $srcdir/autoconf; do 1379for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1377 if test -f $ac_dir/install-sh; then 1380 if test -f $ac_dir/install-sh; then
1378 ac_aux_dir=$ac_dir 1381 ac_aux_dir=$ac_dir
1379 ac_install_sh="$ac_aux_dir/install-sh -c" 1382 ac_install_sh="$ac_aux_dir/install-sh -c"
1380 break 1383 break
1381 elif test -f $ac_dir/install.sh; then 1384 elif test -f $ac_dir/install.sh; then
1387 ac_install_sh="$ac_aux_dir/shtool install -c" 1390 ac_install_sh="$ac_aux_dir/shtool install -c"
1388 break 1391 break
1389 fi 1392 fi
1390done 1393done
1391if test -z "$ac_aux_dir"; then 1394if test -z "$ac_aux_dir"; then
1392 { { 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
1393echo "$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;}
1394 { (exit 1); exit 1; }; } 1397 { (exit 1); exit 1; }; }
1395fi 1398fi
1396ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1399ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1397ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1400ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1398ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1401ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1399
1400 ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in"
1401
1402 1402
1403# Make sure we can run config.sub. 1403# Make sure we can run config.sub.
1404$ac_config_sub sun4 >/dev/null 2>&1 || 1404$ac_config_sub sun4 >/dev/null 2>&1 ||
1405 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1405 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1406echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1406echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1458VERSION=`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`
1459DATE=`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`
1460echo "" 1460echo ""
1461echo "configuring for rxvt $VERSION" 1461echo "configuring for rxvt $VERSION"
1462echo "" 1462echo ""
1463
1464orig_CXXFLAGS="$CXXFLAGS"
1463 1465
1464 1466
1465ac_ext=c 1467ac_ext=c
1466ac_cpp='$CPP $CPPFLAGS' 1468ac_cpp='$CPP $CPPFLAGS'
1467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3097ac_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'
3098ac_compiler_gnu=$ac_cv_c_compiler_gnu 3100ac_compiler_gnu=$ac_cv_c_compiler_gnu
3099 3101
3100 3102
3101if test -z "$orig_CXXFLAGS"; then 3103if test -z "$orig_CXXFLAGS"; then
3102 CXXFLAGS='-O'
3103 if test x$GCC = xyes && test "x$GXX" = xyes; then 3104 if test x$GCC = xyes && test "x$GXX" = xyes; then
3104 CXXFLAGS="-g -O3" 3105 CXXFLAGS="-g -O3"
3106 else
3107 CXXFLAGS="-O"
3105 fi 3108 fi
3106 CFLAGS="$CXXFLAGS" 3109 CFLAGS="$CXXFLAGS"
3107fi 3110fi
3108 3111
3109LINKER="$CXX" 3112LINKER="$CXX"
4549 if test x$enableval = xyes -o x$enableval = xno; then 4552 if test x$enableval = xyes -o x$enableval = xno; then
4550 support_scroll_plain=$enableval 4553 support_scroll_plain=$enableval
4551 fi 4554 fi
4552fi; 4555fi;
4553 4556
4554# Check whether --enable-half-shadow or --disable-half-shadow was given.
4555if test "${enable_half_shadow+set}" = set; then
4556 enableval="$enable_half_shadow"
4557 if test x$enableval = xyes; then
4558
4559cat >>confdefs.h <<\_ACEOF
4560#define HALFSHADOW 1
4561_ACEOF
4562
4563 fi
4564fi;
4565 4557
4566 4558
4567# Check whether --with-codesets or --without-codesets was given. 4559# Check whether --with-codesets or --without-codesets was given.
4568if test "${with_codesets+set}" = set; then 4560if test "${with_codesets+set}" = set; then
4569 withval="$with_codesets" 4561 withval="$with_codesets"
10162 10154
10163 10155
10164 10156
10165 10157
10166 10158
10159
10167for ac_func in \ 10160for ac_func in \
10168 atexit \ 10161 atexit \
10169 revoke \ 10162 revoke \
10170 unsetenv \ 10163 unsetenv \
10171 setutent \ 10164 setutent \
10173 setreuid \ 10166 setreuid \
10174 setsid \ 10167 setsid \
10175 setpgrp \ 10168 setpgrp \
10176 setpgid \ 10169 setpgid \
10177 _getpty \ 10170 _getpty \
10171 getpt \
10178 posix_openpt \ 10172 posix_openpt \
10179 grantpt \ 10173 grantpt \
10180 unlockpt \ 10174 unlockpt \
10181 isastream \ 10175 isastream \
10182 on_exit \ 10176 on_exit \
11964#define XIMCB_PROTO_BROKEN 1 11958#define XIMCB_PROTO_BROKEN 1
11965_ACEOF 11959_ACEOF
11966 11960
11967fi 11961fi
11968 11962
11969if test x$ac_cv_func_posix_openpt = xno; then 11963if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then
11970 echo "$as_me:$LINENO: checking for openpty" >&5 11964 echo "$as_me:$LINENO: checking for openpty" >&5
11971echo $ECHO_N "checking for openpty... $ECHO_C" >&6 11965echo $ECHO_N "checking for openpty... $ECHO_C" >&6
11972if test "${ac_cv_func_openpty+set}" = set; then 11966if test "${ac_cv_func_openpty+set}" = set; then
11973 echo $ECHO_N "(cached) $ECHO_C" >&6 11967 echo $ECHO_N "(cached) $ECHO_C" >&6
11974else 11968else
12135if test "${rxvt_cv_ptys+set}" = set; then 12129if test "${rxvt_cv_ptys+set}" = set; then
12136 echo $ECHO_N "(cached) $ECHO_C" >&6 12130 echo $ECHO_N "(cached) $ECHO_C" >&6
12137else 12131else
12138 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
12139 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
12140 else if test x$ac_cv_func_posix_openpt = xyes; then 12136 else if test x$ac_cv_func_posix_openpt = xyes; then
12141 rxvt_cv_ptys=POSIX 12137 rxvt_cv_ptys=POSIX
12142 else if test x$ac_cv_func__getpty = xyes; then 12138 else if test x$ac_cv_func__getpty = xyes; then
12143 rxvt_cv_ptys=SGI4 12139 rxvt_cv_ptys=SGI4
12144 else if test -c /dev/ttyp20; then 12140 else if test -c /dev/ttyp20; then
12162fi 12158fi
12163fi 12159fi
12164fi 12160fi
12165fi 12161fi
12166fi 12162fi
12163fi
12167 12164
12168fi 12165fi
12169echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 12166echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
12170echo "${ECHO_T}$rxvt_cv_ptys" >&6 12167echo "${ECHO_T}$rxvt_cv_ptys" >&6
12171 12168
12169if test x$rxvt_cv_ptys = xGLIBC; then
12170
12171cat >>confdefs.h <<\_ACEOF
12172#define PTYS_ARE_GETPT 1
12173_ACEOF
12174
12175fi
12172if test x$rxvt_cv_ptys = xPOSIX; then 12176if test x$rxvt_cv_ptys = xPOSIX; then
12173 12177
12174cat >>confdefs.h <<\_ACEOF 12178cat >>confdefs.h <<\_ACEOF
12175#define PTYS_ARE_POSIX 1 12179#define PTYS_ARE_POSIX 1
12176_ACEOF 12180_ACEOF
12911 12915
12912 12916
12913 12917
12914 12918
12915 12919
12916MCOMMON=./autoconf/Make.common
12917
12918
12919test "$program_prefix" != NONE && 12920test "$program_prefix" != NONE &&
12920 program_transform_name="s,^,$program_prefix,;$program_transform_name" 12921 program_transform_name="s,^,$program_prefix,;$program_transform_name"
12921# Use a double $ so make ignores it. 12922# Use a double $ so make ignores it.
12922test "$program_suffix" != NONE && 12923test "$program_suffix" != NONE &&
12923 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 12924 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
12997 include_time_h="#include <time.h>" 12998 include_time_h="#include <time.h>"
12998else 12999else
12999 include_time_h="/* #include <time.h> */" 13000 include_time_h="/* #include <time.h> */"
13000fi 13001fi
13001 13002
13002 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"
13003 13004
13004cat >confcache <<\_ACEOF 13005cat >confcache <<\_ACEOF
13005# 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
13006# 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
13007# scripts and configure runs, see configure's option --config-cache. 13008# scripts and configure runs, see configure's option --config-cache.
13524cat >>$CONFIG_STATUS <<\_ACEOF 13525cat >>$CONFIG_STATUS <<\_ACEOF
13525for ac_config_target in $ac_config_targets 13526for ac_config_target in $ac_config_targets
13526do 13527do
13527 case "$ac_config_target" in 13528 case "$ac_config_target" in
13528 # Handling of arguments. 13529 # Handling of arguments.
13529 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
13530 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13530 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13531 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13531 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13532 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13532 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13533 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; 13533 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
13534 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; 13534 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
13535 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13535 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13536echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13536echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13537 { (exit 1); exit 1; }; };; 13537 { (exit 1); exit 1; }; };;
13538 esac 13538 esac
13539done 13539done
13692s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t 13692s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t
13693s,@include_sys_time_h@,$include_sys_time_h,;t t 13693s,@include_sys_time_h@,$include_sys_time_h,;t t
13694s,@include_time_h@,$include_time_h,;t t 13694s,@include_time_h@,$include_time_h,;t t
13695s,@LIBOBJS@,$LIBOBJS,;t t 13695s,@LIBOBJS@,$LIBOBJS,;t t
13696s,@LTLIBOBJS@,$LTLIBOBJS,;t t 13696s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13697/@MCOMMON@/r $MCOMMON
13698s,@MCOMMON@,,;t t
13699CEOF 13697CEOF
13700 13698
13701_ACEOF 13699_ACEOF
13702 13700
13703 cat >>$CONFIG_STATUS <<\_ACEOF 13701 cat >>$CONFIG_STATUS <<\_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines