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

Comparing rxvt-unicode/configure (file contents):
Revision 1.103 by root, Sat Jun 9 13:04:27 2007 UTC vs.
Revision 1.110 by ayin, Thu Aug 2 00:29:23 2007 UTC

679GREP 679GREP
680EGREP 680EGREP
681LINKER 681LINKER
682INSTALL_LIBRXVT 682INSTALL_LIBRXVT
683RXVTNAME 683RXVTNAME
684MV
685CP
686LN
687SED
688ECHO
689CMP
690TIC 684TIC
691XMKMF 685XMKMF
692CXXCPP 686CXXCPP
693X_CFLAGS 687X_CFLAGS
694X_PRE_LIBS 688X_PRE_LIBS
695X_LIBS 689X_LIBS
696X_EXTRA_LIBS 690X_EXTRA_LIBS
697afterimage_config 691afterimage_config
698XPM_CPPFLAGS
699XPM_CFLAGS
700XPM_LIBS
701rxvt_int16_typedef 692rxvt_int16_typedef
702rxvt_uint16_typedef 693rxvt_uint16_typedef
703rxvt_int32_typedef 694rxvt_int32_typedef
704rxvt_uint32_typedef 695rxvt_uint32_typedef
705rxvt_intp_define 696rxvt_intp_define
710PERLLIB 701PERLLIB
711PERLFLAGS 702PERLFLAGS
712PERLPRIVLIBEXP 703PERLPRIVLIBEXP
713IF_PERL 704IF_PERL
714PERL_O 705PERL_O
715DEBUG
716DINCLUDE
717DLIB
718LIBAFTERIMAGE_CFLAGS 706AFTERIMAGE_CFLAGS
719AFTERIMAGE_LIBS 707AFTERIMAGE_LIBS
720include_stdint_h 708include_stdint_h
721include_stdarg_h 709include_stdarg_h
722include_stdlib_h 710include_stdlib_h
723include_unistd_h 711include_unistd_h
1333 NOTE: automatically enabled with --enable-shared 1321 NOTE: automatically enabled with --enable-shared
1334 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1322 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1335 --enable-combining enable composition of base and combining characters 1323 --enable-combining enable composition of base and combining characters
1336 --enable-xft enable xft support on systems that have it 1324 --enable-xft enable xft support on systems that have it
1337 --enable-font-styles enable bold and italic support 1325 --enable-font-styles enable bold and italic support
1338 --enable-xpm-background enable background pixmaps
1339 --enable-afterimage enable integration with libAfterImage for background images 1326 --enable-afterimage enable integration with libAfterImage for background images
1340 --enable-afterstep enable integration with AfterStep window manager
1341 --enable-transparency enable transparent backgrounds 1327 --enable-transparency enable transparent backgrounds
1342 --enable-tinting enable tinting of transparent bg 1328 --enable-tinting enable tinting of transparent bg
1343 --enable-fading enable colors fading when off focus 1329 --enable-fading enable colors fading when off focus
1344 --enable-rxvt-scroll enable rxvt style scrollbar 1330 --enable-rxvt-scroll enable rxvt style scrollbar
1345 --enable-next-scroll enable NeXT style scrollbar 1331 --enable-next-scroll enable NeXT style scrollbar
1375 --with-res-class=CLASS use this as the resource class (default: URxvt) 1361 --with-res-class=CLASS use this as the resource class (default: URxvt)
1376 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1362 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1377 --with-term=NAME set the terminal to NAME (default: rxvt) 1363 --with-term=NAME set the terminal to NAME (default: rxvt)
1378 --with-terminfo=PATH set the path to the terminfo tree to PATH 1364 --with-terminfo=PATH set the path to the terminfo tree to PATH
1379 --with-x use the X Window System 1365 --with-x use the X Window System
1380 --with-xpm-includes=DIR use XPM includes in DIR
1381 --with-xpm-library=DIR use XPM library in DIR
1382 --with-xpm use XPM
1383 1366
1384Some influential environment variables: 1367Some influential environment variables:
1385 CC C compiler command 1368 CC C compiler command
1386 CFLAGS C compiler flags 1369 CFLAGS C compiler flags
1387 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1370 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
3945 3928
3946case $host in 3929case $host in
3947 *-*-solaris* ) 3930 *-*-solaris* )
3948 3931
3949cat >>confdefs.h <<\_ACEOF 3932cat >>confdefs.h <<\_ACEOF
3950#define _XOPEN_SOURCE_EXTENDED 1
3951_ACEOF
3952
3953
3954cat >>confdefs.h <<\_ACEOF
3955#define _XOPEN_SOURCE 2 3933#define _XOPEN_SOURCE 500
3956_ACEOF
3957
3958
3959cat >>confdefs.h <<\_ACEOF
3960#define __EXTENSIONS__ 1
3961_ACEOF 3934_ACEOF
3962 3935
3963 ;; 3936 ;;
3964esac 3937esac
3965 3938
4433support_scroll_rxvt=yes 4406support_scroll_rxvt=yes
4434support_scroll_next=yes 4407support_scroll_next=yes
4435support_scroll_xterm=yes 4408support_scroll_xterm=yes
4436support_scroll_plain=yes 4409support_scroll_plain=yes
4437support_xim=yes 4410support_xim=yes
4438support_xpm=yes
4439support_afterimage=yes 4411support_afterimage=yes
4440support_afterstep=yes 4412support_afterstep=yes
4441support_xft=yes 4413support_xft=yes
4442support_unicode3=no 4414support_unicode3=no
4443support_combining=yes 4415support_combining=yes
4478 support_scroll_xterm=no 4450 support_scroll_xterm=no
4479 support_scroll_plain=no 4451 support_scroll_plain=no
4480 support_utmp=no 4452 support_utmp=no
4481 support_wtmp=no 4453 support_wtmp=no
4482 support_xim=no 4454 support_xim=no
4483 support_xpm=no
4484 support_afterimage=no 4455 support_afterimage=no
4485 support_afterstep=no 4456 support_afterstep=no
4486 support_xft=no 4457 support_xft=no
4487 support_unicode3=no 4458 support_unicode3=no
4488 support_combining=no 4459 support_combining=no
4509 support_scroll_xterm=yes 4480 support_scroll_xterm=yes
4510 support_scroll_plain=yes 4481 support_scroll_plain=yes
4511 support_utmp=yes 4482 support_utmp=yes
4512 support_wtmp=yes 4483 support_wtmp=yes
4513 support_xim=yes 4484 support_xim=yes
4514 support_xpm=yes
4515 support_afterimage=yes 4485 support_afterimage=yes
4516 support_afterstep=yes 4486 support_afterstep=yes
4517 support_xft=yes 4487 support_xft=yes
4518 support_unicode3=yes 4488 support_unicode3=yes
4519 support_combining=yes 4489 support_combining=yes
4557 support_styles=$enableval 4527 support_styles=$enableval
4558 fi 4528 fi
4559fi 4529fi
4560 4530
4561 4531
4562# Check whether --enable-xpm-background was given.
4563if test "${enable_xpm_background+set}" = set; then
4564 enableval=$enable_xpm_background; if test x$enableval = xyes -o x$enableval = xno; then
4565 support_xpm=$enableval
4566 fi
4567fi
4568
4569
4570# Check whether --enable-afterimage was given. 4532# Check whether --enable-afterimage was given.
4571if test "${enable_afterimage+set}" = set; then 4533if test "${enable_afterimage+set}" = set; then
4572 enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then 4534 enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then
4573 support_afterimage=$enableval 4535 support_afterimage=$enableval
4574 fi 4536 fi
4576 4538
4577 4539
4578 4540
4579# Check whether --with-afterimage_config was given. 4541# Check whether --with-afterimage_config was given.
4580if test "${with_afterimage_config+set}" = set; then 4542if test "${with_afterimage_config+set}" = set; then
4581 withval=$with_afterimage_config; afterimage_config="$withval" 4543 withval=$with_afterimage_config; if test "x$withval" != x; then
4582fi 4544 afterimage_config=$withval/afterimage-config
4583
4584
4585# Check whether --enable-afterstep was given.
4586if test "${enable_afterstep+set}" = set; then
4587 enableval=$enable_afterstep; if test x$enableval = xyes -o x$enableval = xno; then
4588 support_afterstep=$enableval
4589 fi 4545 fi
4590fi 4546fi
4547
4591 4548
4592 4549
4593# Check whether --enable-transparency was given. 4550# Check whether --enable-transparency was given.
4594if test "${enable_transparency+set}" = set; then 4551if test "${enable_transparency+set}" = set; then
4595 enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then 4552 enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then
4885_ACEOF 4842_ACEOF
4886 terminfo="$withval" 4843 terminfo="$withval"
4887 fi 4844 fi
4888fi 4845fi
4889 4846
4890
4891
4892# Extract the first word of "mv", so it can be a program name with args.
4893set dummy mv; ac_word=$2
4894{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4895echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4896if test "${ac_cv_path_MV+set}" = set; then
4897 echo $ECHO_N "(cached) $ECHO_C" >&6
4898else
4899 case $MV in
4900 [\\/]* | ?:[\\/]*)
4901 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4902 ;;
4903 *)
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905for as_dir in $PATH
4906do
4907 IFS=$as_save_IFS
4908 test -z "$as_dir" && as_dir=.
4909 for ac_exec_ext in '' $ac_executable_extensions; do
4910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4911 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 break 2
4914 fi
4915done
4916done
4917IFS=$as_save_IFS
4918
4919 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
4920 ;;
4921esac
4922fi
4923MV=$ac_cv_path_MV
4924if test -n "$MV"; then
4925 { echo "$as_me:$LINENO: result: $MV" >&5
4926echo "${ECHO_T}$MV" >&6; }
4927else
4928 { echo "$as_me:$LINENO: result: no" >&5
4929echo "${ECHO_T}no" >&6; }
4930fi
4931
4932
4933# Extract the first word of "cp", so it can be a program name with args.
4934set dummy cp; ac_word=$2
4935{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4936echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4937if test "${ac_cv_path_CP+set}" = set; then
4938 echo $ECHO_N "(cached) $ECHO_C" >&6
4939else
4940 case $CP in
4941 [\\/]* | ?:[\\/]*)
4942 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4943 ;;
4944 *)
4945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946for as_dir in $PATH
4947do
4948 IFS=$as_save_IFS
4949 test -z "$as_dir" && as_dir=.
4950 for ac_exec_ext in '' $ac_executable_extensions; do
4951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4952 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 break 2
4955 fi
4956done
4957done
4958IFS=$as_save_IFS
4959
4960 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
4961 ;;
4962esac
4963fi
4964CP=$ac_cv_path_CP
4965if test -n "$CP"; then
4966 { echo "$as_me:$LINENO: result: $CP" >&5
4967echo "${ECHO_T}$CP" >&6; }
4968else
4969 { echo "$as_me:$LINENO: result: no" >&5
4970echo "${ECHO_T}no" >&6; }
4971fi
4972
4973
4974# Extract the first word of "ln", so it can be a program name with args.
4975set dummy ln; ac_word=$2
4976{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4977echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4978if test "${ac_cv_path_LN+set}" = set; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4980else
4981 case $LN in
4982 [\\/]* | ?:[\\/]*)
4983 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4984 ;;
4985 *)
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987for as_dir in $PATH
4988do
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4996 fi
4997done
4998done
4999IFS=$as_save_IFS
5000
5001 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
5002 ;;
5003esac
5004fi
5005LN=$ac_cv_path_LN
5006if test -n "$LN"; then
5007 { echo "$as_me:$LINENO: result: $LN" >&5
5008echo "${ECHO_T}$LN" >&6; }
5009else
5010 { echo "$as_me:$LINENO: result: no" >&5
5011echo "${ECHO_T}no" >&6; }
5012fi
5013
5014
5015# Extract the first word of "sed", so it can be a program name with args.
5016set dummy sed; ac_word=$2
5017{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5018echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5019if test "${ac_cv_path_SED+set}" = set; then
5020 echo $ECHO_N "(cached) $ECHO_C" >&6
5021else
5022 case $SED in
5023 [\\/]* | ?:[\\/]*)
5024 ac_cv_path_SED="$SED" # Let the user override the test with a path.
5025 ;;
5026 *)
5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028for as_dir in $PATH
5029do
5030 IFS=$as_save_IFS
5031 test -z "$as_dir" && as_dir=.
5032 for ac_exec_ext in '' $ac_executable_extensions; do
5033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5034 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
5035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 break 2
5037 fi
5038done
5039done
5040IFS=$as_save_IFS
5041
5042 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
5043 ;;
5044esac
5045fi
5046SED=$ac_cv_path_SED
5047if test -n "$SED"; then
5048 { echo "$as_me:$LINENO: result: $SED" >&5
5049echo "${ECHO_T}$SED" >&6; }
5050else
5051 { echo "$as_me:$LINENO: result: no" >&5
5052echo "${ECHO_T}no" >&6; }
5053fi
5054
5055
5056# Extract the first word of "echo", so it can be a program name with args.
5057set dummy echo; ac_word=$2
5058{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5059echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5060if test "${ac_cv_path_ECHO+set}" = set; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5062else
5063 case $ECHO in
5064 [\\/]* | ?:[\\/]*)
5065 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
5066 ;;
5067 *)
5068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069for as_dir in $PATH
5070do
5071 IFS=$as_save_IFS
5072 test -z "$as_dir" && as_dir=.
5073 for ac_exec_ext in '' $ac_executable_extensions; do
5074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
5076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 break 2
5078 fi
5079done
5080done
5081IFS=$as_save_IFS
5082
5083 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
5084 ;;
5085esac
5086fi
5087ECHO=$ac_cv_path_ECHO
5088if test -n "$ECHO"; then
5089 { echo "$as_me:$LINENO: result: $ECHO" >&5
5090echo "${ECHO_T}$ECHO" >&6; }
5091else
5092 { echo "$as_me:$LINENO: result: no" >&5
5093echo "${ECHO_T}no" >&6; }
5094fi
5095
5096
5097# Extract the first word of "cmp", so it can be a program name with args.
5098set dummy cmp; ac_word=$2
5099{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5100echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5101if test "${ac_cv_path_CMP+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5103else
5104 case $CMP in
5105 [\\/]* | ?:[\\/]*)
5106 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
5107 ;;
5108 *)
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110for as_dir in $PATH
5111do
5112 IFS=$as_save_IFS
5113 test -z "$as_dir" && as_dir=.
5114 for ac_exec_ext in '' $ac_executable_extensions; do
5115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5116 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 break 2
5119 fi
5120done
5121done
5122IFS=$as_save_IFS
5123
5124 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
5125 ;;
5126esac
5127fi
5128CMP=$ac_cv_path_CMP
5129if test -n "$CMP"; then
5130 { echo "$as_me:$LINENO: result: $CMP" >&5
5131echo "${ECHO_T}$CMP" >&6; }
5132else
5133 { echo "$as_me:$LINENO: result: no" >&5
5134echo "${ECHO_T}no" >&6; }
5135fi
5136 4847
5137 4848
5138# Extract the first word of "tic", so it can be a program name with args. 4849# Extract the first word of "tic", so it can be a program name with args.
5139set dummy tic; ac_word=$2 4850set dummy tic; ac_word=$2
5140{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4851{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6718 LDFLAGS=$ac_save_LDFLAGS 6429 LDFLAGS=$ac_save_LDFLAGS
6719 6430
6720fi 6431fi
6721 6432
6722 6433
6723
6724LIBAFTERIMAGE_CFLAGS= 6434AFTERIMAGE_CFLAGS=
6725AFTERIMAGE_LIBS= 6435AFTERIMAGE_LIBS=
6726have_afterimage= 6436AFTERIMAGE_VERSION=
6727 6437
6728if test x$support_afterimage = xyes; then 6438if test x$support_afterimage = xyes; then
6729 support_afterimage=no 6439 support_afterimage=no
6730 6440
6731 if test "x$afterimage_config" = "x" ; then 6441 if test "x$afterimage_config" = "x" ; then
6732 # Extract the first word of "afterimage-config", so it can be a program name with args. 6442 # Extract the first word of "afterimage-config", so it can be a program name with args.
6733set dummy afterimage-config; ac_word=$2 6443set dummy afterimage-config; ac_word=$2
6734{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6444{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6735echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6445echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6736if test "${ac_cv_path_afterimage_config+set}" = set; then 6446if test "${ac_cv_path_afterimage_config+set}" = set; then
6768 { echo "$as_me:$LINENO: result: no" >&5 6478 { echo "$as_me:$LINENO: result: no" >&5
6769echo "${ECHO_T}no" >&6; } 6479echo "${ECHO_T}no" >&6; }
6770fi 6480fi
6771 6481
6772 6482
6773 else
6774 afterimage_config=$afterimage_config/afterimage-config
6775 fi 6483 fi
6776 6484 if test "x$afterimage_config" != "xno" ; then
6777 { echo "$as_me:$LINENO: checking for libAfterImage" >&5 6485 { echo "$as_me:$LINENO: checking for libAfterImage version >= 1.15" >&5
6778echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6; } 6486echo $ECHO_N "checking for libAfterImage version >= 1.15... $ECHO_C" >&6; }
6779 if $afterimage_config --version >/dev/null 2>&1 ; then 6487 xAFTERIMAGE_VERSION=`$afterimage_config --version`
6488 if test -n "$xAFTERIMAGE_VERSION" ; then
6780 LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` 6489 xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags`
6781 AFTERIMAGE_LIBS=`$afterimage_config --libs` 6490 xAFTERIMAGE_LIBS=`$afterimage_config --libs`
6782 if test "x$AFTERIMAGE_LIBS" != "x"; then 6491 if test "x$xAFTERIMAGE_LIBS" != "x"; then
6492 libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .`
6493 libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .`
6494 if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then
6783 support_afterimage=yes 6495 support_afterimage=yes
6784 fi 6496 AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS"
6785 fi 6497 AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS"
6786 6498 AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION"
6787 if test "x$support_afterimage" = "xyes"; then
6788 { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5
6789echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; }
6790 else
6791 { echo "$as_me:$LINENO: result: no" >&5
6792echo "${ECHO_T}no" >&6; }
6793 fi
6794fi
6795
6796if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then
6797
6798
6799
6800# Initialize some more variables set by options.
6801# The variables have the same names as the options, with
6802# dashes changed to underlines.
6803
6804# If we find XPM, set shell vars xpm_includes and xpm_libraries to the
6805# paths, otherwise set no_xpm=yes.
6806# Uses ac_ vars as temps to allow command line to override cache and checks.
6807{ echo "$as_me:$LINENO: checking for libXpm" >&5
6808echo $ECHO_N "checking for libXpm... $ECHO_C" >&6; }
6809
6810
6811# Check whether --with-xpm_includes was given.
6812if test "${with_xpm_includes+set}" = set; then
6813 withval=$with_xpm_includes; xpm_includes="$withval"
6814else
6815 xpm_includes=NO
6816fi
6817
6818
6819# Check whether --with-xpm_library was given.
6820if test "${with_xpm_library+set}" = set; then
6821 withval=$with_xpm_library; xpm_libraries="$withval"
6822else
6823 xpm_libraries=NO
6824fi
6825
6826
6827# --without-xpm overrides everything else, but does not touch the cache.
6828
6829# Check whether --with-xpm was given.
6830if test "${with_xpm+set}" = set; then
6831 withval=$with_xpm;
6832fi
6833
6834if test "$with_xpm" = no; then
6835 have_xpm=disabled
6836else
6837 if test "${ac_cv_have_xpm+set}" = set; then
6838 echo $ECHO_N "(cached) $ECHO_C" >&6
6839else
6840
6841 vt_xpm_include_X11=no
6842 if test -n "$xpm_includes"; then
6843 vt_xpm_includes=$xpm_includes
6844 else
6845 vt_xpm_includes=NO
6846 fi
6847 if test -n "$xpm_libraries"; then
6848 vt_xpm_libraries=$xpm_libraries
6849 else
6850 vt_xpm_libraries=NO
6851 fi
6852
6853 if test "$vt_xpm_includes" = NO; then
6854 # Guess where to find xpm.h
6855
6856ac_save_CPPFLAGS="$CPPFLAGS"
6857CPPFLAGS="$CPPFLAGS $X_CFLAGS"
6858
6859 # First, try using that file with no special directory specified.
6860cat >conftest.$ac_ext <<_ACEOF
6861/* confdefs.h. */
6862_ACEOF
6863cat confdefs.h >>conftest.$ac_ext
6864cat >>conftest.$ac_ext <<_ACEOF
6865/* end confdefs.h. */
6866#include <X11/xpm.h>
6867_ACEOF
6868if { (ac_try="$ac_cpp conftest.$ac_ext"
6869case "(($ac_try" in
6870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6871 *) ac_try_echo=$ac_try;;
6872esac
6873eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6875 ac_status=$?
6876 grep -v '^ *+' conftest.er1 >conftest.err
6877 rm -f conftest.er1
6878 cat conftest.err >&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); } >/dev/null && {
6881 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6882 test ! -s conftest.err
6883 }; then
6884 # We can compile using X headers with no special include directory.
6885vt_xpm_includes=
6886vt_xpm_include_X11=yes
6887else
6888 echo "$as_me: failed program was:" >&5
6889sed 's/^/| /' conftest.$ac_ext >&5
6890
6891 CPPFLAGS="$ac_save_CPPFLAGS"
6892# Look for the header file in a standard set of common directories.
6893 for ac_dir in \
6894 /usr/X11/include \
6895 /usr/X11R6/include \
6896 /usr/X11R5/include \
6897 /usr/X11R4/include \
6898 \
6899 /usr/include/X11 \
6900 /usr/include/X11R6 \
6901 /usr/include/X11R5 \
6902 /usr/include/X11R4 \
6903 \
6904 /usr/local/X11/include \
6905 /usr/local/X11R6/include \
6906 /usr/local/X11R5/include \
6907 /usr/local/X11R4/include \
6908 \
6909 /usr/local/include/X11 \
6910 /usr/local/include/X11R6 \
6911 /usr/local/include/X11R5 \
6912 /usr/local/include/X11R4 \
6913 \
6914 /usr/X386/include \
6915 /usr/x386/include \
6916 /usr/XFree86/include/X11 \
6917 \
6918 /usr/include \
6919 /usr/local/include \
6920 /usr/unsupported/include \
6921 /usr/athena/include \
6922 /usr/local/x11r5/include \
6923 /usr/lpp/Xamples/include \
6924 \
6925 /usr/openwin/include \
6926 /usr/openwin/share/include \
6927 ; \
6928 do
6929 if test -r "$ac_dir/X11/xpm.h"; then
6930 vt_xpm_includes="$ac_dir"
6931 vt_xpm_include_X11=yes
6932 break
6933 else
6934 if test -r "$ac_dir/xpm.h"; then
6935 vt_xpm_includes=$ac_dir
6936 break
6937 fi
6938 fi
6939 done
6940fi
6941
6942rm -f conftest.err conftest.$ac_ext
6943fi
6944
6945if test "$vt_xpm_libraries" = NO; then
6946 # Check for the libraries.
6947
6948 # See if we find them without any special options.
6949 # Don't add to $LIBS permanently.
6950 ac_save_LIBS="$LIBS"
6951 LIBS="$LIBS $X_LIBS -lXpm -lX11"
6952cat >conftest.$ac_ext <<_ACEOF
6953/* confdefs.h. */
6954_ACEOF
6955cat confdefs.h >>conftest.$ac_ext
6956cat >>conftest.$ac_ext <<_ACEOF
6957/* end confdefs.h. */
6958
6959int
6960main ()
6961{
6962XpmReadFileToPixmap()
6963 ;
6964 return 0;
6965}
6966_ACEOF
6967rm -f conftest.$ac_objext conftest$ac_exeext
6968if { (ac_try="$ac_link"
6969case "(($ac_try" in
6970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6971 *) ac_try_echo=$ac_try;;
6972esac
6973eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6974 (eval "$ac_link") 2>conftest.er1
6975 ac_status=$?
6976 grep -v '^ *+' conftest.er1 >conftest.err
6977 rm -f conftest.er1
6978 cat conftest.err >&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); } && {
6981 test -z "$ac_cxx_werror_flag" ||
6982 test ! -s conftest.err
6983 } && test -s conftest$ac_exeext &&
6984 $as_test_x conftest$ac_exeext; then
6985 LIBS="$ac_save_LIBS"
6986# We can link libXpm with no special library path.
6987vt_xpm_libraries=
6988else
6989 echo "$as_me: failed program was:" >&5
6990sed 's/^/| /' conftest.$ac_ext >&5
6991
6992 LIBS="$ac_save_LIBS"
6993# First see if replacing the include by lib works.
6994for ac_dir in \
6995 `echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \
6996 /usr/X11/lib \
6997 /usr/X11R6/lib \
6998 /usr/X11R5/lib \
6999 /usr/X11R4/lib \
7000 \
7001 /usr/lib/X11 \
7002 /usr/lib/X11R6 \
7003 /usr/lib/X11R5 \
7004 /usr/lib/X11R4 \
7005 \
7006 /usr/local/X11/lib \
7007 /usr/local/X11R6/lib \
7008 /usr/local/X11R5/lib \
7009 /usr/local/X11R4/lib \
7010 \
7011 /usr/local/lib/X11 \
7012 /usr/local/lib/X11R6 \
7013 /usr/local/lib/X11R5 \
7014 /usr/local/lib/X11R4 \
7015 \
7016 /usr/X386/lib \
7017 /usr/x386/lib \
7018 /usr/XFree86/lib/X11 \
7019 \
7020 /usr/lib \
7021 /usr/local/lib \
7022 /usr/unsupported/lib \
7023 /usr/athena/lib \
7024 /usr/local/x11r5/lib \
7025 /usr/lpp/Xamples/lib \
7026 \
7027 /usr/openwin/lib \
7028 /usr/openwin/share/lib \
7029 ; \
7030do
7031 for ac_extension in a so sl; do
7032 if test -r $ac_dir/libXpm.$ac_extension; then
7033 vt_xpm_libraries=$ac_dir
7034 break 2
7035 fi
7036 done
7037done
7038fi
7039
7040rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7041 conftest$ac_exeext conftest.$ac_ext
7042fi
7043
7044
7045 if test "$vt_xpm_includes" = NO -o "$vt_xpm_libraries" = NO; then
7046 ac_cv_have_xpm="have_xpm=no"
7047 else
7048 ac_cv_have_xpm="have_xpm=yes \
7049 vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \
7050 vt_xpm_include_X11=$vt_xpm_include_X11"
7051 fi
7052fi
7053 eval "$ac_cv_have_xpm"
7054fi
7055
7056if test "$have_xpm" != yes; then
7057 { echo "$as_me:$LINENO: result: $have_xpm" >&5
7058echo "${ECHO_T}$have_xpm" >&6; }
7059 no_xpm=yes
7060else
7061 if test "$xpm_includes" != NO; then
7062 if test "$xpm_includes" = "$vt_xpm_includes"; then
7063 if test -r "$xpm_includes/X11/xpm.h"; then
7064 vt_xpm_include_X11=yes
7065 fi
7066 else
7067 vt_xpm_include_X11=no
7068 if test -z "$xpm_includes"; then
7069 cat >conftest.$ac_ext <<_ACEOF
7070/* confdefs.h. */
7071_ACEOF
7072cat confdefs.h >>conftest.$ac_ext
7073cat >>conftest.$ac_ext <<_ACEOF
7074/* end confdefs.h. */
7075#include <X11/xpm.h>
7076_ACEOF
7077if { (ac_try="$ac_cpp conftest.$ac_ext"
7078case "(($ac_try" in
7079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7080 *) ac_try_echo=$ac_try;;
7081esac
7082eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7084 ac_status=$?
7085 grep -v '^ *+' conftest.er1 >conftest.err
7086 rm -f conftest.er1
7087 cat conftest.err >&5
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); } >/dev/null && {
7090 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7091 test ! -s conftest.err
7092 }; then
7093 vt_xpm_include_X11=yes
7094else
7095 echo "$as_me: failed program was:" >&5
7096sed 's/^/| /' conftest.$ac_ext >&5
7097
7098
7099fi
7100
7101rm -f conftest.err conftest.$ac_ext
7102 else
7103 if test -r "$xpm_includes/X11/xpm.h"; then
7104 vt_xpm_include_X11=yes
7105 fi 6499 fi
7106 fi 6500 fi
7107 fi 6501 fi
7108 vt_xpm_includes=$xpm_includes 6502 if test "x$support_afterimage" = "xyes"; then
6503 { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5
6504echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; }
6505 else
6506 { echo "$as_me:$LINENO: result: no" >&5
6507echo "${ECHO_T}no" >&6; }
7109 fi 6508 fi
7110 if test "x$xpm_libraries" != xNO; then
7111 vt_xpm_libraries=$xpm_libraries
7112 fi
7113 # Update the cache value to reflect the command line values.
7114 ac_cv_have_xpm="have_xpm=yes \
7115 vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \
7116 vt_xpm_include_X11=$vt_xpm_include_X11"
7117 eval "$ac_cv_have_xpm"
7118 { echo "$as_me:$LINENO: result: -I$vt_xpm_includes, -L$vt_xpm_libraries" >&5
7119echo "${ECHO_T}-I$vt_xpm_includes, -L$vt_xpm_libraries" >&6; }
7120 if test -n "$vt_xpm_includes"; then
7121 XPM_CPPFLAGS="-DHAVE_LIBXPM"
7122 fi
7123 if test -n "$vt_xpm_includes"; then
7124 XPM_CFLAGS="-I$vt_xpm_includes"
7125 fi
7126 XPM_LIBS="-lXpm"
7127 if test -n "$vt_xpm_libraries"; then
7128 XPM_LIBS="-L$vt_xpm_libraries $XPM_LIBS"
7129 fi
7130 if test "x$vt_xpm_include_X11" = xyes; then
7131
7132cat >>confdefs.h <<\_ACEOF
7133#define XPM_INC_X11 1
7134_ACEOF
7135
7136 fi
7137fi
7138
7139
7140
7141
7142
7143 if test x$no_xpm = xyes; then
7144 support_xpm=needsmanualspecification
7145 fi 6509 fi
7146fi 6510fi
7147 6511
7148{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 6512{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7149echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } 6513echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
7744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7745fi 7109fi
7746{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 7110{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7747echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } 7111echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; }
7748 7112
7749if test -n "$GCC"; then
7750 LDARG="-Wl,"
7751else
7752 LDARG=""
7753fi
7754R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g'
7755
7756ac_save_CFLAGS=$CFLAGS
7757ac_save_LIBS=$LIBS
7758CFLAGS="$CFLAGS $X_CFLAGS"
7759LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7760{ echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5
7761echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6; }
7762if test "${rxvt_cv_rpath+set}" = set; then
7763 echo $ECHO_N "(cached) $ECHO_C" >&6
7764else
7765 if test "$cross_compiling" = yes; then
7766 { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5
7767echo "$as_me: WARNING: You may need to check the LIBS line" >&2;}
7768else
7769 cat >conftest.$ac_ext <<_ACEOF
7770/* confdefs.h. */
7771_ACEOF
7772cat confdefs.h >>conftest.$ac_ext
7773cat >>conftest.$ac_ext <<_ACEOF
7774/* end confdefs.h. */
7775#include <X11/Xlib.h>
7776#include <stdlib.h>
7777main()
7778{
7779 exit(0);
7780 (void) XOpenDisplay("foobar");
7781}
7782_ACEOF
7783rm -f conftest$ac_exeext
7784if { (ac_try="$ac_link"
7785case "(($ac_try" in
7786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7787 *) ac_try_echo=$ac_try;;
7788esac
7789eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7790 (eval "$ac_link") 2>&5
7791 ac_status=$?
7792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7794 { (case "(($ac_try" in
7795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7796 *) ac_try_echo=$ac_try;;
7797esac
7798eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7799 (eval "$ac_try") 2>&5
7800 ac_status=$?
7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 (exit $ac_status); }; }; then
7803 rxvt_cv_rpath=yes
7804else
7805 echo "$as_me: program exited with status $ac_status" >&5
7806echo "$as_me: failed program was:" >&5
7807sed 's/^/| /' conftest.$ac_ext >&5
7808
7809( exit $ac_status )
7810rxvt_cv_rpath=no
7811fi
7812rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7813fi
7814
7815
7816fi
7817{ echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5
7818echo "${ECHO_T}$rxvt_cv_rpath" >&6; }
7819if test x$rxvt_cv_rpath != xyes; then
7820 R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g'
7821 LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7822 { echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5
7823echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6; }
7824if test "${rxvt_cv_R+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7826else
7827 if test "$cross_compiling" = yes; then
7828 rxvt_cv_R=no
7829else
7830 cat >conftest.$ac_ext <<_ACEOF
7831/* confdefs.h. */
7832_ACEOF
7833cat confdefs.h >>conftest.$ac_ext
7834cat >>conftest.$ac_ext <<_ACEOF
7835/* end confdefs.h. */
7836#include <X11/Xlib.h>
7837#include <stdlib.h>
7838main()
7839{
7840 exit(0);
7841 (void) XOpenDisplay("foobar");
7842}
7843_ACEOF
7844rm -f conftest$ac_exeext
7845if { (ac_try="$ac_link"
7846case "(($ac_try" in
7847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7848 *) ac_try_echo=$ac_try;;
7849esac
7850eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7851 (eval "$ac_link") 2>&5
7852 ac_status=$?
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7855 { (case "(($ac_try" in
7856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7857 *) ac_try_echo=$ac_try;;
7858esac
7859eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7860 (eval "$ac_try") 2>&5
7861 ac_status=$?
7862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); }; }; then
7864 rxvt_cv_R=yes
7865else
7866 echo "$as_me: program exited with status $ac_status" >&5
7867echo "$as_me: failed program was:" >&5
7868sed 's/^/| /' conftest.$ac_ext >&5
7869
7870( exit $ac_status )
7871rxvt_cv_R=no
7872fi
7873rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7874fi
7875
7876
7877fi
7878{ echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5
7879echo "${ECHO_T}$rxvt_cv_R" >&6; }
7880 if test x$rxvt_cv_R != xyes; then
7881 LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7882 fi
7883fi
7884
7885{ echo "$as_me:$LINENO: checking for XPointer" >&5 7113{ echo "$as_me:$LINENO: checking for XPointer" >&5
7886echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } 7114echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; }
7887if test "${rxvt_cv_xpointer+set}" = set; then 7115if test "${rxvt_cv_xpointer+set}" = set; then
7888 echo $ECHO_N "(cached) $ECHO_C" >&6 7116 echo $ECHO_N "(cached) $ECHO_C" >&6
7889else 7117else
7936cat >>confdefs.h <<\_ACEOF 7164cat >>confdefs.h <<\_ACEOF
7937#define HAVE_XPOINTER 1 7165#define HAVE_XPOINTER 1
7938_ACEOF 7166_ACEOF
7939 7167
7940fi 7168fi
7941LIBS=$ac_save_LIBS
7942CFLAGS=$ac_save_CFLAGS
7943 7169
7944{ echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 7170{ echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7945echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } 7171echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; }
7946if test "${rxvt_xlib_illegal_access+set}" = set; then 7172if test "${rxvt_xlib_illegal_access+set}" = set; then
7947 echo $ECHO_N "(cached) $ECHO_C" >&6 7173 echo $ECHO_N "(cached) $ECHO_C" >&6
12077 11303
12078ac_save_LIBS=$LIBS 11304ac_save_LIBS=$LIBS
12079ac_save_CFLAGS=$CFLAGS 11305ac_save_CFLAGS=$CFLAGS
12080CFLAGS="$CFLAGS $X_CFLAGS" 11306CFLAGS="$CFLAGS $X_CFLAGS"
12081LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11307LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
12082if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
12083 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
12084fi
12085{ echo "$as_me:$LINENO: checking for working Xlocale" >&5 11308{ echo "$as_me:$LINENO: checking for working Xlocale" >&5
12086echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } 11309echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; }
12087if test "${rxvt_cv_func_xlocale+set}" = set; then 11310if test "${rxvt_cv_func_xlocale+set}" = set; then
12088 echo $ECHO_N "(cached) $ECHO_C" >&6 11311 echo $ECHO_N "(cached) $ECHO_C" >&6
12089else 11312else
12090 if test "$cross_compiling" = yes; then 11313 if test "$cross_compiling" = yes; then
12091 { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 11314 :
12092echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;}
12093else 11315else
12094 cat >conftest.$ac_ext <<_ACEOF 11316 cat >conftest.$ac_ext <<_ACEOF
12095/* confdefs.h. */ 11317/* confdefs.h. */
12096_ACEOF 11318_ACEOF
12097cat confdefs.h >>conftest.$ac_ext 11319cat confdefs.h >>conftest.$ac_ext
12140 11362
12141 11363
12142fi 11364fi
12143{ echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11365{ echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
12144echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } 11366echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; }
11367if test x$support_xim = xyes; then
12145if test x$rxvt_cv_func_xlocale = xyes; then 11368 if test x$rxvt_cv_func_xlocale = xyes; then
12146 11369
12147cat >>confdefs.h <<\_ACEOF 11370cat >>confdefs.h <<\_ACEOF
12148#define HAVE_XLOCALE 1 11371#define USE_XIM 1
12149_ACEOF 11372_ACEOF
12150 11373
11374 fi
12151fi 11375fi
12152 11376
12153{ echo "$as_me:$LINENO: checking for working X setlocale" >&5 11377{ echo "$as_me:$LINENO: checking for working X setlocale" >&5
12154echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } 11378echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; }
12155if test "${rxvt_cv_func_xsetlocale+set}" = set; then 11379if test "${rxvt_cv_func_xsetlocale+set}" = set; then
13478 12702
13479fi 12703fi
13480if test x$support_inheritpixmap = xyes; then 12704if test x$support_inheritpixmap = xyes; then
13481 12705
13482cat >>confdefs.h <<\_ACEOF 12706cat >>confdefs.h <<\_ACEOF
13483#define TRANSPARENT 1 12707#define ENABLE_TRANSPARENCY 1
13484_ACEOF 12708_ACEOF
13485 12709
13486fi 12710fi
13487if test x$support_keepscrolling = xno; then 12711if test x$support_keepscrolling = xno; then
13488 12712
13496cat >>confdefs.h <<\_ACEOF 12720cat >>confdefs.h <<\_ACEOF
13497#define SELECTION_SCROLLING 1 12721#define SELECTION_SCROLLING 1
13498_ACEOF 12722_ACEOF
13499 12723
13500fi 12724fi
13501if test x$support_frills = xyes; then
13502
13503cat >>confdefs.h <<\_ACEOF
13504#define ENABLE_FRILLS 1
13505_ACEOF
13506
13507fi
13508if test x$support_mousewheel = xyes; then 12725if test x$support_mousewheel = xyes; then
13509 12726
13510cat >>confdefs.h <<\_ACEOF 12727cat >>confdefs.h <<\_ACEOF
13511#define MOUSE_WHEEL 1 12728#define MOUSE_WHEEL 1
13512_ACEOF 12729_ACEOF
13517cat >>confdefs.h <<\_ACEOF 12734cat >>confdefs.h <<\_ACEOF
13518#define MOUSE_SLIP_WHEELING 1 12735#define MOUSE_SLIP_WHEELING 1
13519_ACEOF 12736_ACEOF
13520 12737
13521fi 12738fi
13522if test x$support_xim = xyes -o x$multichar_set = xyes; then 12739if test x$support_afterimage = xyes; then
13523 if test x$rxvt_cv_func_xlocale = xyes; then
13524 12740
13525cat >>confdefs.h <<\_ACEOF 12741cat >>confdefs.h <<\_ACEOF
13526#define USE_XIM 1 12742#define HAVE_AFTERIMAGE 1
13527_ACEOF 12743_ACEOF
13528 12744
13529 fi
13530fi
13531if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
13532 12745
13533cat >>confdefs.h <<\_ACEOF 12746cat >>confdefs.h <<\_ACEOF
13534#define XPM_BACKGROUND 1 12747#define XPM_BACKGROUND 1
13535_ACEOF 12748_ACEOF
13536 12749
13537fi 12750fi
13538 12751
13539if test x$support_afterimage = xyes; then
13540
13541cat >>confdefs.h <<\_ACEOF
13542#define HAVE_AFTERIMAGE 1
13543_ACEOF
13544
13545fi
13546
13547if test x$support_afterstep = xyes; then
13548
13549cat >>confdefs.h <<\_ACEOF
13550#define AFTERSTEP_INTEGRATION 1
13551_ACEOF
13552
13553fi
13554 12752
13555if test x$support_scroll_rxvt = xyes; then 12753if test x$support_scroll_rxvt = xyes; then
13556 12754
13557cat >>confdefs.h <<\_ACEOF 12755cat >>confdefs.h <<\_ACEOF
13558#define RXVT_SCROLLBAR 1 12756#define RXVT_SCROLLBAR 1
13831 13029
13832if test x$support_perl = xyes; then 13030if test x$support_perl = xyes; then
13833 support_frills=yes 13031 support_frills=yes
13834fi 13032fi
13835 13033
13034if test x$support_frills = xyes; then
13836 13035
13036cat >>confdefs.h <<\_ACEOF
13037#define ENABLE_FRILLS 1
13038_ACEOF
13837 13039
13838
13839
13840
13841
13842
13843if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
13844 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
13845 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
13846 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
13847 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
13848 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
13849fi 13040fi
13041
13042
13043
13044
13045
13850 13046
13851 13047
13852 13048
13853 13049
13854 13050
14625GREP!$GREP$ac_delim 13821GREP!$GREP$ac_delim
14626EGREP!$EGREP$ac_delim 13822EGREP!$EGREP$ac_delim
14627LINKER!$LINKER$ac_delim 13823LINKER!$LINKER$ac_delim
14628INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim 13824INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim
14629RXVTNAME!$RXVTNAME$ac_delim 13825RXVTNAME!$RXVTNAME$ac_delim
14630MV!$MV$ac_delim
14631CP!$CP$ac_delim
14632LN!$LN$ac_delim
14633SED!$SED$ac_delim
14634ECHO!$ECHO$ac_delim
14635CMP!$CMP$ac_delim
14636TIC!$TIC$ac_delim 13826TIC!$TIC$ac_delim
14637XMKMF!$XMKMF$ac_delim 13827XMKMF!$XMKMF$ac_delim
14638CXXCPP!$CXXCPP$ac_delim 13828CXXCPP!$CXXCPP$ac_delim
14639X_CFLAGS!$X_CFLAGS$ac_delim 13829X_CFLAGS!$X_CFLAGS$ac_delim
14640X_PRE_LIBS!$X_PRE_LIBS$ac_delim 13830X_PRE_LIBS!$X_PRE_LIBS$ac_delim
14641X_LIBS!$X_LIBS$ac_delim 13831X_LIBS!$X_LIBS$ac_delim
14642X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim 13832X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
14643afterimage_config!$afterimage_config$ac_delim 13833afterimage_config!$afterimage_config$ac_delim
14644XPM_CPPFLAGS!$XPM_CPPFLAGS$ac_delim
14645XPM_CFLAGS!$XPM_CFLAGS$ac_delim
14646XPM_LIBS!$XPM_LIBS$ac_delim
14647rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim 13834rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim
14648rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim 13835rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim
14649rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim 13836rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim
14650rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim 13837rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim
14651rxvt_intp_define!$rxvt_intp_define$ac_delim 13838rxvt_intp_define!$rxvt_intp_define$ac_delim
14654XFT_CONFIG!$XFT_CONFIG$ac_delim 13841XFT_CONFIG!$XFT_CONFIG$ac_delim
14655PERL!$PERL$ac_delim 13842PERL!$PERL$ac_delim
14656PERLLIB!$PERLLIB$ac_delim 13843PERLLIB!$PERLLIB$ac_delim
14657PERLFLAGS!$PERLFLAGS$ac_delim 13844PERLFLAGS!$PERLFLAGS$ac_delim
14658PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 13845PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
13846IF_PERL!$IF_PERL$ac_delim
13847PERL_O!$PERL_O$ac_delim
13848AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
13849AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
13850include_stdint_h!$include_stdint_h$ac_delim
13851include_stdarg_h!$include_stdarg_h$ac_delim
13852include_stdlib_h!$include_stdlib_h$ac_delim
13853include_unistd_h!$include_unistd_h$ac_delim
13854include_string_h!$include_string_h$ac_delim
14659_ACEOF 13855_ACEOF
14660 13856
14661 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 13857 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
14662 break 13858 break
14663 elif $ac_last_try; then 13859 elif $ac_last_try; then
14695 13891
14696 13892
14697ac_delim='%!_!# ' 13893ac_delim='%!_!# '
14698for ac_last_try in false false false false false :; do 13894for ac_last_try in false false false false false :; do
14699 cat >conf$$subs.sed <<_ACEOF 13895 cat >conf$$subs.sed <<_ACEOF
14700IF_PERL!$IF_PERL$ac_delim
14701PERL_O!$PERL_O$ac_delim
14702DEBUG!$DEBUG$ac_delim
14703DINCLUDE!$DINCLUDE$ac_delim
14704DLIB!$DLIB$ac_delim
14705LIBAFTERIMAGE_CFLAGS!$LIBAFTERIMAGE_CFLAGS$ac_delim
14706AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
14707include_stdint_h!$include_stdint_h$ac_delim
14708include_stdarg_h!$include_stdarg_h$ac_delim
14709include_stdlib_h!$include_stdlib_h$ac_delim
14710include_unistd_h!$include_unistd_h$ac_delim
14711include_string_h!$include_string_h$ac_delim
14712include_fcntl_h!$include_fcntl_h$ac_delim 13896include_fcntl_h!$include_fcntl_h$ac_delim
14713include_util_h!$include_util_h$ac_delim 13897include_util_h!$include_util_h$ac_delim
14714include_assert_h!$include_assert_h$ac_delim 13898include_assert_h!$include_assert_h$ac_delim
14715include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim 13899include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim
14716include_sys_select_h!$include_sys_select_h$ac_delim 13900include_sys_select_h!$include_sys_select_h$ac_delim
14719include_time_h!$include_time_h$ac_delim 13903include_time_h!$include_time_h$ac_delim
14720LIBOBJS!$LIBOBJS$ac_delim 13904LIBOBJS!$LIBOBJS$ac_delim
14721LTLIBOBJS!$LTLIBOBJS$ac_delim 13905LTLIBOBJS!$LTLIBOBJS$ac_delim
14722_ACEOF 13906_ACEOF
14723 13907
14724 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then 13908 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
14725 break 13909 break
14726 elif $ac_last_try; then 13910 elif $ac_last_try; then
14727 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13911 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14728echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13912echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14729 { (exit 1); exit 1; }; } 13913 { (exit 1); exit 1; }; }
15158 Install path: ${prefix}/bin 14342 Install path: ${prefix}/bin
15159 Compiler: $CXX 14343 Compiler: $CXX
15160 Compiler flags: $CXXFLAGS 14344 Compiler flags: $CXXFLAGS
15161 Linker: $LINKER" 14345 Linker: $LINKER"
15162 14346
15163if test x$support_xpm = xyes; then
15164 echo " Xpm library: $XPM_LIBS"
15165fi
15166
15167if test x$support_afterimage = xyes; then
15168 echo " AfterImage support: yes"
15169fi
15170
15171if test x$support_afterstep = xyes; then
15172 echo " AfterStep intergration: yes"
15173fi
15174
15175if test x$term != x; then 14347if test x$term != x; then
15176 echo " set TERM to: $term" 14348 echo " set TERM to: $term"
15177fi 14349fi
15178if test x$terminfo != x; then 14350if test x$terminfo != x; then
15179 echo " set TERMINFO to: $terminfo" 14351 echo " set TERMINFO to: $terminfo"
15183if test x$RESFALLBACK != x; then 14355if test x$RESFALLBACK != x; then
15184 echo " resource class fallback: $RESFALLBACK" 14356 echo " resource class fallback: $RESFALLBACK"
15185fi 14357fi
15186echo 14358echo
15187echo " embedded perl: $support_perl" 14359echo " embedded perl: $support_perl"
14360echo " libafterimage: $support_afterimage"
15188echo 14361echo
15189if test x$support_xpm = xneedsmanualspecification; then
15190 echo ".----------------------------------------------------------------."
15191 echo ". WARNING: --enable-xpm-background was specified however the ."
15192 echo ". XPM includes files and libraries could not be found. ."
15193 echo ". XPM backgrounds are now being DISABLED! If you want ."
15194 echo ". to use them you should rerun configure with the ."
15195 echo ". appropriate --with-xpm-includes=/path/to/xpm/includes ."
15196 echo ". and --with-xpm-library=/path/to/xpm/library lines. ."
15197 echo ".----------------------------------------------------------------."
15198fi
15199if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then 14362if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then
15200 echo ".----------------------------------------------------------------." 14363 echo ".----------------------------------------------------------------."
15201 echo ". WARNING: --enable-xim was specified however the locale support ." 14364 echo ". WARNING: --enable-xim was specified however the locale support ."
15202 echo ". functions could not be found. ." 14365 echo ". functions could not be found. ."
15203 echo ". XIM is now being DISABLED! ." 14366 echo ". XIM is now being DISABLED! ."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines