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

Comparing rxvt-unicode/configure (file contents):
Revision 1.102 by ayin, Tue May 8 11:24:45 2007 UTC vs.
Revision 1.112 by sasha, Wed Sep 12 21:06:07 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
697XPM_CPPFLAGS 691afterimage_config
698XPM_CFLAGS
699XPM_LIBS
700rxvt_int16_typedef 692rxvt_int16_typedef
701rxvt_uint16_typedef 693rxvt_uint16_typedef
702rxvt_int32_typedef 694rxvt_int32_typedef
703rxvt_uint32_typedef 695rxvt_uint32_typedef
704rxvt_intp_define 696rxvt_intp_define
709PERLLIB 701PERLLIB
710PERLFLAGS 702PERLFLAGS
711PERLPRIVLIBEXP 703PERLPRIVLIBEXP
712IF_PERL 704IF_PERL
713PERL_O 705PERL_O
714DEBUG 706AFTERIMAGE_CFLAGS
715DINCLUDE 707AFTERIMAGE_LIBS
716DLIB
717include_stdint_h 708include_stdint_h
718include_stdarg_h 709include_stdarg_h
719include_stdlib_h 710include_stdlib_h
720include_unistd_h 711include_unistd_h
721include_string_h 712include_string_h
1330 NOTE: automatically enabled with --enable-shared 1321 NOTE: automatically enabled with --enable-shared
1331 --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
1332 --enable-combining enable composition of base and combining characters 1323 --enable-combining enable composition of base and combining characters
1333 --enable-xft enable xft support on systems that have it 1324 --enable-xft enable xft support on systems that have it
1334 --enable-font-styles enable bold and italic support 1325 --enable-font-styles enable bold and italic support
1335 --enable-xpm-background enable XPM background pixmaps 1326 --enable-afterimage enable integration with libAfterImage for background images
1336 --enable-transparency enable transparent backgrounds 1327 --enable-transparency enable transparent backgrounds
1337 --enable-tinting enable tinting of transparent bg
1338 --enable-fading enable colors fading when off focus 1328 --enable-fading enable colors fading when off focus
1339 --enable-rxvt-scroll enable rxvt style scrollbar 1329 --enable-rxvt-scroll enable rxvt style scrollbar
1340 --enable-next-scroll enable NeXT style scrollbar 1330 --enable-next-scroll enable NeXT style scrollbar
1341 --enable-xterm-scroll enable Xterm style scrollbar 1331 --enable-xterm-scroll enable Xterm style scrollbar
1342 --enable-perl enable embedded perl interpreter 1332 --enable-perl enable embedded perl interpreter
1362 --enable-lastlog enable lastlog support (requires --enable-utmp) 1352 --enable-lastlog enable lastlog support (requires --enable-utmp)
1363 1353
1364Optional Packages: 1354Optional Packages:
1365 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1355 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1366 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1356 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1357 --with-afterimage-config=DIR use libAfterImage config script in DIR
1367 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) 1358 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
1368 --with-res-name=NAME use this as default resource name (default: urxvt) 1359 --with-res-name=NAME use this as default resource name (default: urxvt)
1369 --with-res-class=CLASS use this as the resource class (default: URxvt) 1360 --with-res-class=CLASS use this as the resource class (default: URxvt)
1370 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1361 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1371 --with-term=NAME set the terminal to NAME (default: rxvt) 1362 --with-term=NAME set the terminal to NAME (default: rxvt)
1372 --with-terminfo=PATH set the path to the terminfo tree to PATH 1363 --with-terminfo=PATH set the path to the terminfo tree to PATH
1373 --with-x use the X Window System 1364 --with-x use the X Window System
1374 --with-xpm-includes=DIR use XPM includes in DIR
1375 --with-xpm-library=DIR use XPM library in DIR
1376 --with-xpm use XPM
1377 1365
1378Some influential environment variables: 1366Some influential environment variables:
1379 CC C compiler command 1367 CC C compiler command
1380 CFLAGS C compiler flags 1368 CFLAGS C compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1369 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
3939 3927
3940case $host in 3928case $host in
3941 *-*-solaris* ) 3929 *-*-solaris* )
3942 3930
3943cat >>confdefs.h <<\_ACEOF 3931cat >>confdefs.h <<\_ACEOF
3944#define _XOPEN_SOURCE_EXTENDED 1
3945_ACEOF
3946
3947
3948cat >>confdefs.h <<\_ACEOF
3949#define _XOPEN_SOURCE 2 3932#define _XOPEN_SOURCE 500
3950_ACEOF
3951
3952
3953cat >>confdefs.h <<\_ACEOF
3954#define __EXTENSIONS__ 1
3955_ACEOF 3933_ACEOF
3956 3934
3957 ;; 3935 ;;
3958esac 3936esac
3959 3937
4414 4392
4415 4393
4416 4394
4417support_frills=yes 4395support_frills=yes
4418support_inheritpixmap=yes 4396support_inheritpixmap=yes
4419support_tinting=yes
4420support_fading=yes 4397support_fading=yes
4421support_keepscrolling=yes 4398support_keepscrolling=yes
4422support_selectionscrolling=yes 4399support_selectionscrolling=yes
4423support_mousewheel=yes 4400support_mousewheel=yes
4424support_mouseslipwheel=yes 4401support_mouseslipwheel=yes
4427support_scroll_rxvt=yes 4404support_scroll_rxvt=yes
4428support_scroll_next=yes 4405support_scroll_next=yes
4429support_scroll_xterm=yes 4406support_scroll_xterm=yes
4430support_scroll_plain=yes 4407support_scroll_plain=yes
4431support_xim=yes 4408support_xim=yes
4432support_xpm=yes 4409support_afterimage=yes
4410support_afterstep=yes
4433support_xft=yes 4411support_xft=yes
4434support_unicode3=no 4412support_unicode3=no
4435support_combining=yes 4413support_combining=yes
4436support_8bitctrls=no 4414support_8bitctrls=no
4437support_iso14755=yes 4415support_iso14755=yes
4454if test "${enable_everything+set}" = set; then 4432if test "${enable_everything+set}" = set; then
4455 enableval=$enable_everything; 4433 enableval=$enable_everything;
4456 if test x$enableval = xno; then 4434 if test x$enableval = xno; then
4457 support_frills=no 4435 support_frills=no
4458 support_inheritpixmap=no 4436 support_inheritpixmap=no
4459 support_tinting=no
4460 support_fading=no 4437 support_fading=no
4461 support_keepscrolling=no 4438 support_keepscrolling=no
4462 support_selectionscrolling=no 4439 support_selectionscrolling=no
4463 support_lastlog=no 4440 support_lastlog=no
4464 support_mousewheel=no 4441 support_mousewheel=no
4470 support_scroll_xterm=no 4447 support_scroll_xterm=no
4471 support_scroll_plain=no 4448 support_scroll_plain=no
4472 support_utmp=no 4449 support_utmp=no
4473 support_wtmp=no 4450 support_wtmp=no
4474 support_xim=no 4451 support_xim=no
4452 support_afterimage=no
4475 support_xpm=no 4453 support_afterstep=no
4476 support_xft=no 4454 support_xft=no
4477 support_unicode3=no 4455 support_unicode3=no
4478 support_combining=no 4456 support_combining=no
4479 support_8bitctrls=no 4457 support_8bitctrls=no
4480 support_iso14755=no 4458 support_iso14755=no
4483 codesets= 4461 codesets=
4484 fi 4462 fi
4485 if test x$enableval = xyes; then 4463 if test x$enableval = xyes; then
4486 support_frills=yes 4464 support_frills=yes
4487 support_inheritpixmap=yes 4465 support_inheritpixmap=yes
4488 support_tinting=yes
4489 support_fading=yes 4466 support_fading=yes
4490 support_keepscrolling=yes 4467 support_keepscrolling=yes
4491 support_selectionscrolling=yes 4468 support_selectionscrolling=yes
4492 support_lastlog=yes 4469 support_lastlog=yes
4493 support_mousewheel=yes 4470 support_mousewheel=yes
4499 support_scroll_xterm=yes 4476 support_scroll_xterm=yes
4500 support_scroll_plain=yes 4477 support_scroll_plain=yes
4501 support_utmp=yes 4478 support_utmp=yes
4502 support_wtmp=yes 4479 support_wtmp=yes
4503 support_xim=yes 4480 support_xim=yes
4481 support_afterimage=yes
4504 support_xpm=yes 4482 support_afterstep=yes
4505 support_xft=yes 4483 support_xft=yes
4506 support_unicode3=yes 4484 support_unicode3=yes
4507 support_combining=yes 4485 support_combining=yes
4508 #support_8bitctrls=yes 4486 #support_8bitctrls=yes
4509 support_iso14755=yes 4487 support_iso14755=yes
4545 support_styles=$enableval 4523 support_styles=$enableval
4546 fi 4524 fi
4547fi 4525fi
4548 4526
4549 4527
4550# Check whether --enable-xpm-background was given. 4528# Check whether --enable-afterimage was given.
4551if test "${enable_xpm_background+set}" = set; then 4529if test "${enable_afterimage+set}" = set; then
4552 enableval=$enable_xpm_background; if test x$enableval = xyes -o x$enableval = xno; then 4530 enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then
4553 support_xpm=$enableval 4531 support_afterimage=$enableval
4554 fi 4532 fi
4555fi 4533fi
4534
4535
4536
4537# Check whether --with-afterimage_config was given.
4538if test "${with_afterimage_config+set}" = set; then
4539 withval=$with_afterimage_config; if test "x$withval" != x; then
4540 afterimage_config=$withval/afterimage-config
4541 fi
4542fi
4543
4556 4544
4557 4545
4558# Check whether --enable-transparency was given. 4546# Check whether --enable-transparency was given.
4559if test "${enable_transparency+set}" = set; then 4547if test "${enable_transparency+set}" = set; then
4560 enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then 4548 enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then
4561 support_inheritpixmap=$enableval 4549 support_inheritpixmap=$enableval
4562 fi
4563fi
4564
4565
4566# Check whether --enable-tinting was given.
4567if test "${enable_tinting+set}" = set; then
4568 enableval=$enable_tinting; if test x$enableval = xyes -o x$enableval = xno; then
4569 support_tinting=$enableval
4570 fi 4550 fi
4571fi 4551fi
4572 4552
4573 4553
4574# Check whether --enable-fading was given. 4554# Check whether --enable-fading was given.
4850_ACEOF 4830_ACEOF
4851 terminfo="$withval" 4831 terminfo="$withval"
4852 fi 4832 fi
4853fi 4833fi
4854 4834
4855
4856
4857# Extract the first word of "mv", so it can be a program name with args.
4858set dummy mv; ac_word=$2
4859{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4860echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4861if test "${ac_cv_path_MV+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4863else
4864 case $MV in
4865 [\\/]* | ?:[\\/]*)
4866 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4867 ;;
4868 *)
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870for as_dir in $PATH
4871do
4872 IFS=$as_save_IFS
4873 test -z "$as_dir" && as_dir=.
4874 for ac_exec_ext in '' $ac_executable_extensions; do
4875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4876 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4878 break 2
4879 fi
4880done
4881done
4882IFS=$as_save_IFS
4883
4884 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
4885 ;;
4886esac
4887fi
4888MV=$ac_cv_path_MV
4889if test -n "$MV"; then
4890 { echo "$as_me:$LINENO: result: $MV" >&5
4891echo "${ECHO_T}$MV" >&6; }
4892else
4893 { echo "$as_me:$LINENO: result: no" >&5
4894echo "${ECHO_T}no" >&6; }
4895fi
4896
4897
4898# Extract the first word of "cp", so it can be a program name with args.
4899set dummy cp; ac_word=$2
4900{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4901echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4902if test "${ac_cv_path_CP+set}" = set; then
4903 echo $ECHO_N "(cached) $ECHO_C" >&6
4904else
4905 case $CP in
4906 [\\/]* | ?:[\\/]*)
4907 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4908 ;;
4909 *)
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911for as_dir in $PATH
4912do
4913 IFS=$as_save_IFS
4914 test -z "$as_dir" && as_dir=.
4915 for ac_exec_ext in '' $ac_executable_extensions; do
4916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4917 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4919 break 2
4920 fi
4921done
4922done
4923IFS=$as_save_IFS
4924
4925 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
4926 ;;
4927esac
4928fi
4929CP=$ac_cv_path_CP
4930if test -n "$CP"; then
4931 { echo "$as_me:$LINENO: result: $CP" >&5
4932echo "${ECHO_T}$CP" >&6; }
4933else
4934 { echo "$as_me:$LINENO: result: no" >&5
4935echo "${ECHO_T}no" >&6; }
4936fi
4937
4938
4939# Extract the first word of "ln", so it can be a program name with args.
4940set dummy ln; ac_word=$2
4941{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4942echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4943if test "${ac_cv_path_LN+set}" = set; then
4944 echo $ECHO_N "(cached) $ECHO_C" >&6
4945else
4946 case $LN in
4947 [\\/]* | ?:[\\/]*)
4948 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4949 ;;
4950 *)
4951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952for as_dir in $PATH
4953do
4954 IFS=$as_save_IFS
4955 test -z "$as_dir" && as_dir=.
4956 for ac_exec_ext in '' $ac_executable_extensions; do
4957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4958 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 break 2
4961 fi
4962done
4963done
4964IFS=$as_save_IFS
4965
4966 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
4967 ;;
4968esac
4969fi
4970LN=$ac_cv_path_LN
4971if test -n "$LN"; then
4972 { echo "$as_me:$LINENO: result: $LN" >&5
4973echo "${ECHO_T}$LN" >&6; }
4974else
4975 { echo "$as_me:$LINENO: result: no" >&5
4976echo "${ECHO_T}no" >&6; }
4977fi
4978
4979
4980# Extract the first word of "sed", so it can be a program name with args.
4981set dummy sed; ac_word=$2
4982{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4983echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4984if test "${ac_cv_path_SED+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4986else
4987 case $SED in
4988 [\\/]* | ?:[\\/]*)
4989 ac_cv_path_SED="$SED" # Let the user override the test with a path.
4990 ;;
4991 *)
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993for as_dir in $PATH
4994do
4995 IFS=$as_save_IFS
4996 test -z "$as_dir" && as_dir=.
4997 for ac_exec_ext in '' $ac_executable_extensions; do
4998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4999 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
5000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 break 2
5002 fi
5003done
5004done
5005IFS=$as_save_IFS
5006
5007 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
5008 ;;
5009esac
5010fi
5011SED=$ac_cv_path_SED
5012if test -n "$SED"; then
5013 { echo "$as_me:$LINENO: result: $SED" >&5
5014echo "${ECHO_T}$SED" >&6; }
5015else
5016 { echo "$as_me:$LINENO: result: no" >&5
5017echo "${ECHO_T}no" >&6; }
5018fi
5019
5020
5021# Extract the first word of "echo", so it can be a program name with args.
5022set dummy echo; ac_word=$2
5023{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5024echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5025if test "${ac_cv_path_ECHO+set}" = set; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
5027else
5028 case $ECHO in
5029 [\\/]* | ?:[\\/]*)
5030 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
5031 ;;
5032 *)
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034for as_dir in $PATH
5035do
5036 IFS=$as_save_IFS
5037 test -z "$as_dir" && as_dir=.
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5040 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
5041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 break 2
5043 fi
5044done
5045done
5046IFS=$as_save_IFS
5047
5048 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
5049 ;;
5050esac
5051fi
5052ECHO=$ac_cv_path_ECHO
5053if test -n "$ECHO"; then
5054 { echo "$as_me:$LINENO: result: $ECHO" >&5
5055echo "${ECHO_T}$ECHO" >&6; }
5056else
5057 { echo "$as_me:$LINENO: result: no" >&5
5058echo "${ECHO_T}no" >&6; }
5059fi
5060
5061
5062# Extract the first word of "cmp", so it can be a program name with args.
5063set dummy cmp; ac_word=$2
5064{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5065echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5066if test "${ac_cv_path_CMP+set}" = set; then
5067 echo $ECHO_N "(cached) $ECHO_C" >&6
5068else
5069 case $CMP in
5070 [\\/]* | ?:[\\/]*)
5071 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
5072 ;;
5073 *)
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075for as_dir in $PATH
5076do
5077 IFS=$as_save_IFS
5078 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
5082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 break 2
5084 fi
5085done
5086done
5087IFS=$as_save_IFS
5088
5089 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
5090 ;;
5091esac
5092fi
5093CMP=$ac_cv_path_CMP
5094if test -n "$CMP"; then
5095 { echo "$as_me:$LINENO: result: $CMP" >&5
5096echo "${ECHO_T}$CMP" >&6; }
5097else
5098 { echo "$as_me:$LINENO: result: no" >&5
5099echo "${ECHO_T}no" >&6; }
5100fi
5101 4835
5102 4836
5103# Extract the first word of "tic", so it can be a program name with args. 4837# Extract the first word of "tic", so it can be a program name with args.
5104set dummy tic; ac_word=$2 4838set dummy tic; ac_word=$2
5105{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4839{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6683 LDFLAGS=$ac_save_LDFLAGS 6417 LDFLAGS=$ac_save_LDFLAGS
6684 6418
6685fi 6419fi
6686 6420
6687 6421
6422AFTERIMAGE_CFLAGS=
6423AFTERIMAGE_LIBS=
6424AFTERIMAGE_VERSION=
6688 6425
6689if test x$support_xpm = xyes; then 6426if test x$support_afterimage = xyes; then
6427 support_afterimage=no
6690 6428
6691 6429 if test "x$afterimage_config" = "x" ; then
6692 6430 # Extract the first word of "afterimage-config", so it can be a program name with args.
6693# Initialize some more variables set by options. 6431set dummy afterimage-config; ac_word=$2
6694# The variables have the same names as the options, with
6695# dashes changed to underlines.
6696
6697# If we find XPM, set shell vars xpm_includes and xpm_libraries to the
6698# paths, otherwise set no_xpm=yes.
6699# Uses ac_ vars as temps to allow command line to override cache and checks.
6700{ echo "$as_me:$LINENO: checking for libXpm" >&5 6432{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6701echo $ECHO_N "checking for libXpm... $ECHO_C" >&6; } 6433echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6702
6703
6704# Check whether --with-xpm_includes was given.
6705if test "${with_xpm_includes+set}" = set; then
6706 withval=$with_xpm_includes; xpm_includes="$withval"
6707else
6708 xpm_includes=NO
6709fi
6710
6711
6712# Check whether --with-xpm_library was given.
6713if test "${with_xpm_library+set}" = set; then
6714 withval=$with_xpm_library; xpm_libraries="$withval"
6715else
6716 xpm_libraries=NO
6717fi
6718
6719
6720# --without-xpm overrides everything else, but does not touch the cache.
6721
6722# Check whether --with-xpm was given.
6723if test "${with_xpm+set}" = set; then
6724 withval=$with_xpm;
6725fi
6726
6727if test "$with_xpm" = no; then
6728 have_xpm=disabled
6729else
6730 if test "${ac_cv_have_xpm+set}" = set; then 6434if test "${ac_cv_path_afterimage_config+set}" = set; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6 6435 echo $ECHO_N "(cached) $ECHO_C" >&6
6732else 6436else
6733 6437 case $afterimage_config in
6734 vt_xpm_include_X11=no 6438 [\\/]* | ?:[\\/]*)
6735 if test -n "$xpm_includes"; then 6439 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path.
6736 vt_xpm_includes=$xpm_includes 6440 ;;
6737 else 6441 *)
6738 vt_xpm_includes=NO 6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443for as_dir in $PATH
6444do
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext"
6450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6739 fi 6452 fi
6740 if test -n "$xpm_libraries"; then 6453done
6741 vt_xpm_libraries=$xpm_libraries 6454done
6455IFS=$as_save_IFS
6456
6457 test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no"
6458 ;;
6459esac
6460fi
6461afterimage_config=$ac_cv_path_afterimage_config
6462if test -n "$afterimage_config"; then
6463 { echo "$as_me:$LINENO: result: $afterimage_config" >&5
6464echo "${ECHO_T}$afterimage_config" >&6; }
6742 else 6465else
6743 vt_xpm_libraries=NO 6466 { echo "$as_me:$LINENO: result: no" >&5
6467echo "${ECHO_T}no" >&6; }
6468fi
6469
6470
6744 fi 6471 fi
6745 6472 if test "x$afterimage_config" != "xno" ; then
6746 if test "$vt_xpm_includes" = NO; then 6473 { echo "$as_me:$LINENO: checking for libAfterImage version >= 1.15" >&5
6747 # Guess where to find xpm.h 6474echo $ECHO_N "checking for libAfterImage version >= 1.15... $ECHO_C" >&6; }
6748 6475 xAFTERIMAGE_VERSION=`$afterimage_config --version`
6749ac_save_CPPFLAGS="$CPPFLAGS" 6476 if test -n "$xAFTERIMAGE_VERSION" ; then
6750CPPFLAGS="$CPPFLAGS $X_CFLAGS" 6477 xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags`
6751 6478 xAFTERIMAGE_LIBS=`$afterimage_config --libs`
6752 # First, try using that file with no special directory specified. 6479 if test "x$xAFTERIMAGE_LIBS" != "x"; then
6753cat >conftest.$ac_ext <<_ACEOF 6480 libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .`
6754/* confdefs.h. */ 6481 libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .`
6755_ACEOF 6482 if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then
6756cat confdefs.h >>conftest.$ac_ext 6483 support_afterimage=yes
6757cat >>conftest.$ac_ext <<_ACEOF 6484 AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS"
6758/* end confdefs.h. */ 6485 AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS"
6759#include <X11/xpm.h> 6486 AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION"
6760_ACEOF
6761if { (ac_try="$ac_cpp conftest.$ac_ext"
6762case "(($ac_try" in
6763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6764 *) ac_try_echo=$ac_try;;
6765esac
6766eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6767 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6768 ac_status=$?
6769 grep -v '^ *+' conftest.er1 >conftest.err
6770 rm -f conftest.er1
6771 cat conftest.err >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); } >/dev/null && {
6774 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6775 test ! -s conftest.err
6776 }; then
6777 # We can compile using X headers with no special include directory.
6778vt_xpm_includes=
6779vt_xpm_include_X11=yes
6780else
6781 echo "$as_me: failed program was:" >&5
6782sed 's/^/| /' conftest.$ac_ext >&5
6783
6784 CPPFLAGS="$ac_save_CPPFLAGS"
6785# Look for the header file in a standard set of common directories.
6786 for ac_dir in \
6787 /usr/X11/include \
6788 /usr/X11R6/include \
6789 /usr/X11R5/include \
6790 /usr/X11R4/include \
6791 \
6792 /usr/include/X11 \
6793 /usr/include/X11R6 \
6794 /usr/include/X11R5 \
6795 /usr/include/X11R4 \
6796 \
6797 /usr/local/X11/include \
6798 /usr/local/X11R6/include \
6799 /usr/local/X11R5/include \
6800 /usr/local/X11R4/include \
6801 \
6802 /usr/local/include/X11 \
6803 /usr/local/include/X11R6 \
6804 /usr/local/include/X11R5 \
6805 /usr/local/include/X11R4 \
6806 \
6807 /usr/X386/include \
6808 /usr/x386/include \
6809 /usr/XFree86/include/X11 \
6810 \
6811 /usr/include \
6812 /usr/local/include \
6813 /usr/unsupported/include \
6814 /usr/athena/include \
6815 /usr/local/x11r5/include \
6816 /usr/lpp/Xamples/include \
6817 \
6818 /usr/openwin/include \
6819 /usr/openwin/share/include \
6820 ; \
6821 do
6822 if test -r "$ac_dir/X11/xpm.h"; then
6823 vt_xpm_includes="$ac_dir"
6824 vt_xpm_include_X11=yes
6825 break
6826 else
6827 if test -r "$ac_dir/xpm.h"; then
6828 vt_xpm_includes=$ac_dir
6829 break
6830 fi
6831 fi
6832 done
6833fi
6834
6835rm -f conftest.err conftest.$ac_ext
6836fi
6837
6838if test "$vt_xpm_libraries" = NO; then
6839 # Check for the libraries.
6840
6841 # See if we find them without any special options.
6842 # Don't add to $LIBS permanently.
6843 ac_save_LIBS="$LIBS"
6844 LIBS="$LIBS $X_LIBS -lXpm -lX11"
6845cat >conftest.$ac_ext <<_ACEOF
6846/* confdefs.h. */
6847_ACEOF
6848cat confdefs.h >>conftest.$ac_ext
6849cat >>conftest.$ac_ext <<_ACEOF
6850/* end confdefs.h. */
6851
6852int
6853main ()
6854{
6855XpmReadFileToPixmap()
6856 ;
6857 return 0;
6858}
6859_ACEOF
6860rm -f conftest.$ac_objext conftest$ac_exeext
6861if { (ac_try="$ac_link"
6862case "(($ac_try" in
6863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6864 *) ac_try_echo=$ac_try;;
6865esac
6866eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6867 (eval "$ac_link") 2>conftest.er1
6868 ac_status=$?
6869 grep -v '^ *+' conftest.er1 >conftest.err
6870 rm -f conftest.er1
6871 cat conftest.err >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); } && {
6874 test -z "$ac_cxx_werror_flag" ||
6875 test ! -s conftest.err
6876 } && test -s conftest$ac_exeext &&
6877 $as_test_x conftest$ac_exeext; then
6878 LIBS="$ac_save_LIBS"
6879# We can link libXpm with no special library path.
6880vt_xpm_libraries=
6881else
6882 echo "$as_me: failed program was:" >&5
6883sed 's/^/| /' conftest.$ac_ext >&5
6884
6885 LIBS="$ac_save_LIBS"
6886# First see if replacing the include by lib works.
6887for ac_dir in \
6888 `echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \
6889 /usr/X11/lib \
6890 /usr/X11R6/lib \
6891 /usr/X11R5/lib \
6892 /usr/X11R4/lib \
6893 \
6894 /usr/lib/X11 \
6895 /usr/lib/X11R6 \
6896 /usr/lib/X11R5 \
6897 /usr/lib/X11R4 \
6898 \
6899 /usr/local/X11/lib \
6900 /usr/local/X11R6/lib \
6901 /usr/local/X11R5/lib \
6902 /usr/local/X11R4/lib \
6903 \
6904 /usr/local/lib/X11 \
6905 /usr/local/lib/X11R6 \
6906 /usr/local/lib/X11R5 \
6907 /usr/local/lib/X11R4 \
6908 \
6909 /usr/X386/lib \
6910 /usr/x386/lib \
6911 /usr/XFree86/lib/X11 \
6912 \
6913 /usr/lib \
6914 /usr/local/lib \
6915 /usr/unsupported/lib \
6916 /usr/athena/lib \
6917 /usr/local/x11r5/lib \
6918 /usr/lpp/Xamples/lib \
6919 \
6920 /usr/openwin/lib \
6921 /usr/openwin/share/lib \
6922 ; \
6923do
6924 for ac_extension in a so sl; do
6925 if test -r $ac_dir/libXpm.$ac_extension; then
6926 vt_xpm_libraries=$ac_dir
6927 break 2
6928 fi
6929 done
6930done
6931fi
6932
6933rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6934 conftest$ac_exeext conftest.$ac_ext
6935fi
6936
6937
6938 if test "$vt_xpm_includes" = NO -o "$vt_xpm_libraries" = NO; then
6939 ac_cv_have_xpm="have_xpm=no"
6940 else
6941 ac_cv_have_xpm="have_xpm=yes \
6942 vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \
6943 vt_xpm_include_X11=$vt_xpm_include_X11"
6944 fi
6945fi
6946 eval "$ac_cv_have_xpm"
6947fi
6948
6949if test "$have_xpm" != yes; then
6950 { echo "$as_me:$LINENO: result: $have_xpm" >&5
6951echo "${ECHO_T}$have_xpm" >&6; }
6952 no_xpm=yes
6953else
6954 if test "$xpm_includes" != NO; then
6955 if test "$xpm_includes" = "$vt_xpm_includes"; then
6956 if test -r "$xpm_includes/X11/xpm.h"; then
6957 vt_xpm_include_X11=yes
6958 fi
6959 else
6960 vt_xpm_include_X11=no
6961 if test -z "$xpm_includes"; then
6962 cat >conftest.$ac_ext <<_ACEOF
6963/* confdefs.h. */
6964_ACEOF
6965cat confdefs.h >>conftest.$ac_ext
6966cat >>conftest.$ac_ext <<_ACEOF
6967/* end confdefs.h. */
6968#include <X11/xpm.h>
6969_ACEOF
6970if { (ac_try="$ac_cpp conftest.$ac_ext"
6971case "(($ac_try" in
6972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6973 *) ac_try_echo=$ac_try;;
6974esac
6975eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6977 ac_status=$?
6978 grep -v '^ *+' conftest.er1 >conftest.err
6979 rm -f conftest.er1
6980 cat conftest.err >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); } >/dev/null && {
6983 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6984 test ! -s conftest.err
6985 }; then
6986 vt_xpm_include_X11=yes
6987else
6988 echo "$as_me: failed program was:" >&5
6989sed 's/^/| /' conftest.$ac_ext >&5
6990
6991
6992fi
6993
6994rm -f conftest.err conftest.$ac_ext
6995 else
6996 if test -r "$xpm_includes/X11/xpm.h"; then
6997 vt_xpm_include_X11=yes
6998 fi 6487 fi
6999 fi 6488 fi
7000 fi 6489 fi
7001 vt_xpm_includes=$xpm_includes 6490 if test "x$support_afterimage" = "xyes"; then
6491 { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5
6492echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; }
6493 else
6494 { echo "$as_me:$LINENO: result: no" >&5
6495echo "${ECHO_T}no" >&6; }
7002 fi 6496 fi
7003 if test "x$xpm_libraries" != xNO; then
7004 vt_xpm_libraries=$xpm_libraries
7005 fi
7006 # Update the cache value to reflect the command line values.
7007 ac_cv_have_xpm="have_xpm=yes \
7008 vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \
7009 vt_xpm_include_X11=$vt_xpm_include_X11"
7010 eval "$ac_cv_have_xpm"
7011 { echo "$as_me:$LINENO: result: -I$vt_xpm_includes, -L$vt_xpm_libraries" >&5
7012echo "${ECHO_T}-I$vt_xpm_includes, -L$vt_xpm_libraries" >&6; }
7013 if test -n "$vt_xpm_includes"; then
7014 XPM_CPPFLAGS="-DHAVE_LIBXPM"
7015 fi
7016 if test -n "$vt_xpm_includes"; then
7017 XPM_CFLAGS="-I$vt_xpm_includes"
7018 fi
7019 XPM_LIBS="-lXpm"
7020 if test -n "$vt_xpm_libraries"; then
7021 XPM_LIBS="-L$vt_xpm_libraries $XPM_LIBS"
7022 fi
7023 if test "x$vt_xpm_include_X11" = xyes; then
7024
7025cat >>confdefs.h <<\_ACEOF
7026#define XPM_INC_X11 1
7027_ACEOF
7028
7029 fi
7030fi
7031
7032
7033
7034
7035
7036 if test x$no_xpm = xyes; then
7037 support_xpm=needsmanualspecification
7038 fi 6497 fi
7039fi 6498fi
7040 6499
7041{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 6500{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7042echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } 6501echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
7637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7638fi 7097fi
7639{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 7098{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7640echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } 7099echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; }
7641 7100
7642if test -n "$GCC"; then
7643 LDARG="-Wl,"
7644else
7645 LDARG=""
7646fi
7647R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g'
7648
7649ac_save_CFLAGS=$CFLAGS
7650ac_save_LIBS=$LIBS
7651CFLAGS="$CFLAGS $X_CFLAGS"
7652LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7653{ echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5
7654echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6; }
7655if test "${rxvt_cv_rpath+set}" = set; then
7656 echo $ECHO_N "(cached) $ECHO_C" >&6
7657else
7658 if test "$cross_compiling" = yes; then
7659 { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5
7660echo "$as_me: WARNING: You may need to check the LIBS line" >&2;}
7661else
7662 cat >conftest.$ac_ext <<_ACEOF
7663/* confdefs.h. */
7664_ACEOF
7665cat confdefs.h >>conftest.$ac_ext
7666cat >>conftest.$ac_ext <<_ACEOF
7667/* end confdefs.h. */
7668#include <X11/Xlib.h>
7669#include <stdlib.h>
7670main()
7671{
7672 exit(0);
7673 (void) XOpenDisplay("foobar");
7674}
7675_ACEOF
7676rm -f conftest$ac_exeext
7677if { (ac_try="$ac_link"
7678case "(($ac_try" in
7679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7680 *) ac_try_echo=$ac_try;;
7681esac
7682eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7683 (eval "$ac_link") 2>&5
7684 ac_status=$?
7685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7687 { (case "(($ac_try" in
7688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7689 *) ac_try_echo=$ac_try;;
7690esac
7691eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7692 (eval "$ac_try") 2>&5
7693 ac_status=$?
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); }; }; then
7696 rxvt_cv_rpath=yes
7697else
7698 echo "$as_me: program exited with status $ac_status" >&5
7699echo "$as_me: failed program was:" >&5
7700sed 's/^/| /' conftest.$ac_ext >&5
7701
7702( exit $ac_status )
7703rxvt_cv_rpath=no
7704fi
7705rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7706fi
7707
7708
7709fi
7710{ echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5
7711echo "${ECHO_T}$rxvt_cv_rpath" >&6; }
7712if test x$rxvt_cv_rpath != xyes; then
7713 R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g'
7714 LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7715 { echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5
7716echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6; }
7717if test "${rxvt_cv_R+set}" = set; then
7718 echo $ECHO_N "(cached) $ECHO_C" >&6
7719else
7720 if test "$cross_compiling" = yes; then
7721 rxvt_cv_R=no
7722else
7723 cat >conftest.$ac_ext <<_ACEOF
7724/* confdefs.h. */
7725_ACEOF
7726cat confdefs.h >>conftest.$ac_ext
7727cat >>conftest.$ac_ext <<_ACEOF
7728/* end confdefs.h. */
7729#include <X11/Xlib.h>
7730#include <stdlib.h>
7731main()
7732{
7733 exit(0);
7734 (void) XOpenDisplay("foobar");
7735}
7736_ACEOF
7737rm -f conftest$ac_exeext
7738if { (ac_try="$ac_link"
7739case "(($ac_try" in
7740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7741 *) ac_try_echo=$ac_try;;
7742esac
7743eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7744 (eval "$ac_link") 2>&5
7745 ac_status=$?
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7748 { (case "(($ac_try" in
7749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7750 *) ac_try_echo=$ac_try;;
7751esac
7752eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7753 (eval "$ac_try") 2>&5
7754 ac_status=$?
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; }; then
7757 rxvt_cv_R=yes
7758else
7759 echo "$as_me: program exited with status $ac_status" >&5
7760echo "$as_me: failed program was:" >&5
7761sed 's/^/| /' conftest.$ac_ext >&5
7762
7763( exit $ac_status )
7764rxvt_cv_R=no
7765fi
7766rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7767fi
7768
7769
7770fi
7771{ echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5
7772echo "${ECHO_T}$rxvt_cv_R" >&6; }
7773 if test x$rxvt_cv_R != xyes; then
7774 LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7775 fi
7776fi
7777
7778{ echo "$as_me:$LINENO: checking for XPointer" >&5 7101{ echo "$as_me:$LINENO: checking for XPointer" >&5
7779echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } 7102echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; }
7780if test "${rxvt_cv_xpointer+set}" = set; then 7103if test "${rxvt_cv_xpointer+set}" = set; then
7781 echo $ECHO_N "(cached) $ECHO_C" >&6 7104 echo $ECHO_N "(cached) $ECHO_C" >&6
7782else 7105else
7829cat >>confdefs.h <<\_ACEOF 7152cat >>confdefs.h <<\_ACEOF
7830#define HAVE_XPOINTER 1 7153#define HAVE_XPOINTER 1
7831_ACEOF 7154_ACEOF
7832 7155
7833fi 7156fi
7834LIBS=$ac_save_LIBS
7835CFLAGS=$ac_save_CFLAGS
7836 7157
7837{ echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 7158{ echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7838echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } 7159echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; }
7839if test "${rxvt_xlib_illegal_access+set}" = set; then 7160if test "${rxvt_xlib_illegal_access+set}" = set; then
7840 echo $ECHO_N "(cached) $ECHO_C" >&6 7161 echo $ECHO_N "(cached) $ECHO_C" >&6
11970 11291
11971ac_save_LIBS=$LIBS 11292ac_save_LIBS=$LIBS
11972ac_save_CFLAGS=$CFLAGS 11293ac_save_CFLAGS=$CFLAGS
11973CFLAGS="$CFLAGS $X_CFLAGS" 11294CFLAGS="$CFLAGS $X_CFLAGS"
11974LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11295LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
11975if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then 11296if test x$support_xim = xyes; then
11976 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
11977fi
11978{ echo "$as_me:$LINENO: checking for working Xlocale" >&5 11297 { echo "$as_me:$LINENO: checking for working Xlocale" >&5
11979echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } 11298echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; }
11980if test "${rxvt_cv_func_xlocale+set}" = set; then 11299if test "${rxvt_cv_func_xlocale+set}" = set; then
11981 echo $ECHO_N "(cached) $ECHO_C" >&6 11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11982else 11301else
11983 if test "$cross_compiling" = yes; then 11302 if test "$cross_compiling" = yes; then
11984 { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 11303 :
11985echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;}
11986else 11304else
11987 cat >conftest.$ac_ext <<_ACEOF 11305 cat >conftest.$ac_ext <<_ACEOF
11988/* confdefs.h. */ 11306/* confdefs.h. */
11989_ACEOF 11307_ACEOF
11990cat confdefs.h >>conftest.$ac_ext 11308cat confdefs.h >>conftest.$ac_ext
11991cat >>conftest.$ac_ext <<_ACEOF 11309cat >>conftest.$ac_ext <<_ACEOF
11992/* end confdefs.h. */ 11310/* end confdefs.h. */
11993#include <X11/Xlib.h> 11311#include <X11/Xlib.h>
11994#include <stdlib.h> 11312 #include <stdlib.h>
11995main() { 11313 main() {
11996char *p; 11314 char *p;
11997if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 11315 if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
11998exit (XSupportsLocale() ? 0 : 1); 11316 exit (XSupportsLocale() ? 0 : 1);
11999else 11317 else
12000exit (1);} 11318 exit (1);}
12001_ACEOF 11319_ACEOF
12002rm -f conftest$ac_exeext 11320rm -f conftest$ac_exeext
12003if { (ac_try="$ac_link" 11321if { (ac_try="$ac_link"
12004case "(($ac_try" in 11322case "(($ac_try" in
12005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12017eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11335eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12018 (eval "$ac_try") 2>&5 11336 (eval "$ac_try") 2>&5
12019 ac_status=$? 11337 ac_status=$?
12020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021 (exit $ac_status); }; }; then 11339 (exit $ac_status); }; }; then
12022 rxvt_cv_func_xlocale=yes 11340 rxvt_cv_func_xlocale=yes
12023else 11341else
12024 echo "$as_me: program exited with status $ac_status" >&5 11342 echo "$as_me: program exited with status $ac_status" >&5
12025echo "$as_me: failed program was:" >&5 11343echo "$as_me: failed program was:" >&5
12026sed 's/^/| /' conftest.$ac_ext >&5 11344sed 's/^/| /' conftest.$ac_ext >&5
12027 11345
12033 11351
12034 11352
12035fi 11353fi
12036{ echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11354{ echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
12037echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } 11355echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; }
12038if test x$rxvt_cv_func_xlocale = xyes; then 11356 if test x$rxvt_cv_func_xlocale = xyes; then
12039 11357
12040cat >>confdefs.h <<\_ACEOF 11358cat >>confdefs.h <<\_ACEOF
12041#define HAVE_XLOCALE 1 11359#define USE_XIM 1
12042_ACEOF 11360_ACEOF
12043 11361
11362 { echo "$as_me:$LINENO: checking for broken XIM callback" >&5
11363echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; }
11364if test "${rxvt_broken_ximcb+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11366else
11367 cat >conftest.$ac_ext <<_ACEOF
11368
11369 #include <X11/Xlib.h>
11370
11371 void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
11372
11373 void f() {
11374 XIMCallback cb;
11375 cb.callback = im_destroy_cb;
11376 }
11377
11378_ACEOF
11379rm -f conftest.$ac_objext
11380if { (ac_try="$ac_compile"
11381case "(($ac_try" in
11382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11383 *) ac_try_echo=$ac_try;;
11384esac
11385eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11386 (eval "$ac_compile") 2>conftest.er1
11387 ac_status=$?
11388 grep -v '^ *+' conftest.er1 >conftest.err
11389 rm -f conftest.er1
11390 cat conftest.err >&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } && {
11393 test -z "$ac_cxx_werror_flag" ||
11394 test ! -s conftest.err
11395 } && test -s conftest.$ac_objext; then
11396 rxvt_broken_ximcb=yes
11397else
11398 echo "$as_me: failed program was:" >&5
11399sed 's/^/| /' conftest.$ac_ext >&5
11400
11401 rxvt_broken_ximcb=no
11402fi
11403
11404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11405fi
11406{ echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
11407echo "${ECHO_T}$rxvt_broken_ximcb" >&6; }
11408
11409 if test x$rxvt_broken_ximcb = xyes; then
11410
11411cat >>confdefs.h <<\_ACEOF
11412#define XIMCB_PROTO_BROKEN 1
11413_ACEOF
11414
11415 fi
11416 fi
12044fi 11417fi
12045 11418
12046{ echo "$as_me:$LINENO: checking for working X setlocale" >&5 11419{ echo "$as_me:$LINENO: checking for working X setlocale" >&5
12047echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } 11420echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; }
12048if test "${rxvt_cv_func_xsetlocale+set}" = set; then 11421if test "${rxvt_cv_func_xsetlocale+set}" = set; then
12314 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 11687 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5
12315echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} 11688echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
12316 { (exit 1); exit 1; }; } 11689 { (exit 1); exit 1; }; }
12317fi 11690fi
12318 11691
12319
12320{ echo "$as_me:$LINENO: checking for broken XIM callback" >&5
12321echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; }
12322if test "${rxvt_broken_ximcb+set}" = set; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12324else
12325 cat >conftest.$ac_ext <<_ACEOF
12326
12327#include <X11/Xlib.h>
12328
12329void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
12330
12331void f() {
12332 XIMCallback cb;
12333 cb.callback = im_destroy_cb;
12334}
12335
12336_ACEOF
12337rm -f conftest.$ac_objext
12338if { (ac_try="$ac_compile"
12339case "(($ac_try" in
12340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12341 *) ac_try_echo=$ac_try;;
12342esac
12343eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12344 (eval "$ac_compile") 2>conftest.er1
12345 ac_status=$?
12346 grep -v '^ *+' conftest.er1 >conftest.err
12347 rm -f conftest.er1
12348 cat conftest.err >&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } && {
12351 test -z "$ac_cxx_werror_flag" ||
12352 test ! -s conftest.err
12353 } && test -s conftest.$ac_objext; then
12354 rxvt_broken_ximcb=yes
12355else
12356 echo "$as_me: failed program was:" >&5
12357sed 's/^/| /' conftest.$ac_ext >&5
12358
12359 rxvt_broken_ximcb=no
12360fi
12361
12362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12363fi
12364{ echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
12365echo "${ECHO_T}$rxvt_broken_ximcb" >&6; }
12366
12367if test x$rxvt_broken_ximcb = xyes; then
12368
12369cat >>confdefs.h <<\_ACEOF
12370#define XIMCB_PROTO_BROKEN 1
12371_ACEOF
12372
12373fi
12374 11692
12375 11693
12376 11694
12377 11695
12378 11696
13361cat >>confdefs.h <<\_ACEOF 12679cat >>confdefs.h <<\_ACEOF
13362#define OFF_FOCUS_FADING 1 12680#define OFF_FOCUS_FADING 1
13363_ACEOF 12681_ACEOF
13364 12682
13365fi 12683fi
13366if test x$support_tinting = xyes; then 12684if test x$support_inheritpixmap = xyes; then
13367 12685
13368cat >>confdefs.h <<\_ACEOF 12686cat >>confdefs.h <<\_ACEOF
13369#define TINTING 1
13370_ACEOF
13371
13372fi
13373if test x$support_inheritpixmap = xyes; then
13374
13375cat >>confdefs.h <<\_ACEOF
13376#define TRANSPARENT 1 12687#define ENABLE_TRANSPARENCY 1
13377_ACEOF 12688_ACEOF
13378 12689
13379fi 12690fi
13380if test x$support_keepscrolling = xno; then 12691if test x$support_keepscrolling = xno; then
13381 12692
13410cat >>confdefs.h <<\_ACEOF 12721cat >>confdefs.h <<\_ACEOF
13411#define MOUSE_SLIP_WHEELING 1 12722#define MOUSE_SLIP_WHEELING 1
13412_ACEOF 12723_ACEOF
13413 12724
13414fi 12725fi
13415if test x$support_xim = xyes -o x$multichar_set = xyes; then 12726if test x$support_afterimage = xyes; then
13416 if test x$rxvt_cv_func_xlocale = xyes; then
13417 12727
13418cat >>confdefs.h <<\_ACEOF 12728cat >>confdefs.h <<\_ACEOF
13419#define USE_XIM 1 12729#define HAVE_AFTERIMAGE 1
13420_ACEOF 12730_ACEOF
13421 12731
13422 fi
13423fi
13424if test x$support_xpm = xyes; then
13425 12732
13426cat >>confdefs.h <<\_ACEOF 12733cat >>confdefs.h <<\_ACEOF
13427#define XPM_BACKGROUND 1 12734#define BG_IMAGE_FROM_FILE 1
13428_ACEOF 12735_ACEOF
13429 12736
13430fi 12737fi
12738
12739
13431if test x$support_scroll_rxvt = xyes; then 12740if test x$support_scroll_rxvt = xyes; then
13432 12741
13433cat >>confdefs.h <<\_ACEOF 12742cat >>confdefs.h <<\_ACEOF
13434#define RXVT_SCROLLBAR 1 12743#define RXVT_SCROLLBAR 1
13435_ACEOF 12744_ACEOF
13703 13012
13704 13013
13705 13014
13706 13015
13707 13016
13708if test x$support_perl = xyes; then
13709 support_frills=yes
13710fi
13711 13017
13712 13018
13713 13019
13714 13020
13715 13021
13716 13022
13717 13023
13718
13719if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
13720 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
13721 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
13722 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
13723 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
13724 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
13725fi
13726 13024
13727 13025
13728 13026
13729 13027
13730 13028
14498GREP!$GREP$ac_delim 13796GREP!$GREP$ac_delim
14499EGREP!$EGREP$ac_delim 13797EGREP!$EGREP$ac_delim
14500LINKER!$LINKER$ac_delim 13798LINKER!$LINKER$ac_delim
14501INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim 13799INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim
14502RXVTNAME!$RXVTNAME$ac_delim 13800RXVTNAME!$RXVTNAME$ac_delim
14503MV!$MV$ac_delim
14504CP!$CP$ac_delim
14505LN!$LN$ac_delim
14506SED!$SED$ac_delim
14507ECHO!$ECHO$ac_delim
14508CMP!$CMP$ac_delim
14509TIC!$TIC$ac_delim 13801TIC!$TIC$ac_delim
14510XMKMF!$XMKMF$ac_delim 13802XMKMF!$XMKMF$ac_delim
14511CXXCPP!$CXXCPP$ac_delim 13803CXXCPP!$CXXCPP$ac_delim
14512X_CFLAGS!$X_CFLAGS$ac_delim 13804X_CFLAGS!$X_CFLAGS$ac_delim
14513X_PRE_LIBS!$X_PRE_LIBS$ac_delim 13805X_PRE_LIBS!$X_PRE_LIBS$ac_delim
14514X_LIBS!$X_LIBS$ac_delim 13806X_LIBS!$X_LIBS$ac_delim
14515X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim 13807X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
14516XPM_CPPFLAGS!$XPM_CPPFLAGS$ac_delim 13808afterimage_config!$afterimage_config$ac_delim
14517XPM_CFLAGS!$XPM_CFLAGS$ac_delim
14518XPM_LIBS!$XPM_LIBS$ac_delim
14519rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim 13809rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim
14520rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim 13810rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim
14521rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim 13811rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim
14522rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim 13812rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim
14523rxvt_intp_define!$rxvt_intp_define$ac_delim 13813rxvt_intp_define!$rxvt_intp_define$ac_delim
14527PERL!$PERL$ac_delim 13817PERL!$PERL$ac_delim
14528PERLLIB!$PERLLIB$ac_delim 13818PERLLIB!$PERLLIB$ac_delim
14529PERLFLAGS!$PERLFLAGS$ac_delim 13819PERLFLAGS!$PERLFLAGS$ac_delim
14530PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 13820PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
14531IF_PERL!$IF_PERL$ac_delim 13821IF_PERL!$IF_PERL$ac_delim
13822PERL_O!$PERL_O$ac_delim
13823AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
13824AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
13825include_stdint_h!$include_stdint_h$ac_delim
13826include_stdarg_h!$include_stdarg_h$ac_delim
13827include_stdlib_h!$include_stdlib_h$ac_delim
13828include_unistd_h!$include_unistd_h$ac_delim
13829include_string_h!$include_string_h$ac_delim
14532_ACEOF 13830_ACEOF
14533 13831
14534 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 13832 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
14535 break 13833 break
14536 elif $ac_last_try; then 13834 elif $ac_last_try; then
14568 13866
14569 13867
14570ac_delim='%!_!# ' 13868ac_delim='%!_!# '
14571for ac_last_try in false false false false false :; do 13869for ac_last_try in false false false false false :; do
14572 cat >conf$$subs.sed <<_ACEOF 13870 cat >conf$$subs.sed <<_ACEOF
14573PERL_O!$PERL_O$ac_delim
14574DEBUG!$DEBUG$ac_delim
14575DINCLUDE!$DINCLUDE$ac_delim
14576DLIB!$DLIB$ac_delim
14577include_stdint_h!$include_stdint_h$ac_delim
14578include_stdarg_h!$include_stdarg_h$ac_delim
14579include_stdlib_h!$include_stdlib_h$ac_delim
14580include_unistd_h!$include_unistd_h$ac_delim
14581include_string_h!$include_string_h$ac_delim
14582include_fcntl_h!$include_fcntl_h$ac_delim 13871include_fcntl_h!$include_fcntl_h$ac_delim
14583include_util_h!$include_util_h$ac_delim 13872include_util_h!$include_util_h$ac_delim
14584include_assert_h!$include_assert_h$ac_delim 13873include_assert_h!$include_assert_h$ac_delim
14585include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim 13874include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim
14586include_sys_select_h!$include_sys_select_h$ac_delim 13875include_sys_select_h!$include_sys_select_h$ac_delim
14589include_time_h!$include_time_h$ac_delim 13878include_time_h!$include_time_h$ac_delim
14590LIBOBJS!$LIBOBJS$ac_delim 13879LIBOBJS!$LIBOBJS$ac_delim
14591LTLIBOBJS!$LTLIBOBJS$ac_delim 13880LTLIBOBJS!$LTLIBOBJS$ac_delim
14592_ACEOF 13881_ACEOF
14593 13882
14594 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then 13883 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
14595 break 13884 break
14596 elif $ac_last_try; then 13885 elif $ac_last_try; then
14597 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13886 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14598echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13887echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14599 { (exit 1); exit 1; }; } 13888 { (exit 1); exit 1; }; }
15028 Install path: ${prefix}/bin 14317 Install path: ${prefix}/bin
15029 Compiler: $CXX 14318 Compiler: $CXX
15030 Compiler flags: $CXXFLAGS 14319 Compiler flags: $CXXFLAGS
15031 Linker: $LINKER" 14320 Linker: $LINKER"
15032 14321
15033if test x$support_xpm = xyes; then
15034 echo " Xpm library: $XPM_LIBS"
15035fi
15036
15037if test x$term != x; then 14322if test x$term != x; then
15038 echo " set TERM to: $term" 14323 echo " set TERM to: $term"
15039fi 14324fi
15040if test x$terminfo != x; then 14325if test x$terminfo != x; then
15041 echo " set TERMINFO to: $terminfo" 14326 echo " set TERMINFO to: $terminfo"
15045if test x$RESFALLBACK != x; then 14330if test x$RESFALLBACK != x; then
15046 echo " resource class fallback: $RESFALLBACK" 14331 echo " resource class fallback: $RESFALLBACK"
15047fi 14332fi
15048echo 14333echo
15049echo " embedded perl: $support_perl" 14334echo " embedded perl: $support_perl"
14335echo " libafterimage: $support_afterimage"
15050echo 14336echo
15051if test x$support_xpm = xneedsmanualspecification; then
15052 echo ".----------------------------------------------------------------."
15053 echo ". WARNING: --enable-xpm-background was specified however the ."
15054 echo ". XPM includes files and libraries could not be found. ."
15055 echo ". XPM backgrounds are now being DISABLED! If you want ."
15056 echo ". to use them you should rerun configure with the ."
15057 echo ". appropriate --with-xpm-includes=/path/to/xpm/includes ."
15058 echo ". and --with-xpm-library=/path/to/xpm/library lines. ."
15059 echo ".----------------------------------------------------------------."
15060fi
15061if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then 14337if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then
15062 echo ".----------------------------------------------------------------." 14338 echo ".----------------------------------------------------------------."
15063 echo ". WARNING: --enable-xim was specified however the locale support ." 14339 echo ". WARNING: --enable-xim was specified however the locale support ."
15064 echo ". functions could not be found. ." 14340 echo ". functions could not be found. ."
15065 echo ". XIM is now being DISABLED! ." 14341 echo ". XIM is now being DISABLED! ."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines