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.108 by ayin, Fri Jul 27 10:09:39 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
691afterimage_config
697XPM_CPPFLAGS 692XPM_CPPFLAGS
698XPM_CFLAGS 693XPM_CFLAGS
699XPM_LIBS 694XPM_LIBS
700rxvt_int16_typedef 695rxvt_int16_typedef
701rxvt_uint16_typedef 696rxvt_uint16_typedef
709PERLLIB 704PERLLIB
710PERLFLAGS 705PERLFLAGS
711PERLPRIVLIBEXP 706PERLPRIVLIBEXP
712IF_PERL 707IF_PERL
713PERL_O 708PERL_O
714DEBUG 709AFTERIMAGE_CFLAGS
715DINCLUDE 710AFTERIMAGE_LIBS
716DLIB
717include_stdint_h 711include_stdint_h
718include_stdarg_h 712include_stdarg_h
719include_stdlib_h 713include_stdlib_h
720include_unistd_h 714include_unistd_h
721include_string_h 715include_string_h
1330 NOTE: automatically enabled with --enable-shared 1324 NOTE: automatically enabled with --enable-shared
1331 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1325 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1332 --enable-combining enable composition of base and combining characters 1326 --enable-combining enable composition of base and combining characters
1333 --enable-xft enable xft support on systems that have it 1327 --enable-xft enable xft support on systems that have it
1334 --enable-font-styles enable bold and italic support 1328 --enable-font-styles enable bold and italic support
1335 --enable-xpm-background enable XPM background pixmaps 1329 --enable-xpm-background enable background pixmaps
1330 --enable-afterimage enable integration with libAfterImage for background images
1331 --enable-afterstep enable integration with AfterStep window manager
1336 --enable-transparency enable transparent backgrounds 1332 --enable-transparency enable transparent backgrounds
1337 --enable-tinting enable tinting of transparent bg 1333 --enable-tinting enable tinting of transparent bg
1338 --enable-fading enable colors fading when off focus 1334 --enable-fading enable colors fading when off focus
1339 --enable-rxvt-scroll enable rxvt style scrollbar 1335 --enable-rxvt-scroll enable rxvt style scrollbar
1340 --enable-next-scroll enable NeXT style scrollbar 1336 --enable-next-scroll enable NeXT style scrollbar
1362 --enable-lastlog enable lastlog support (requires --enable-utmp) 1358 --enable-lastlog enable lastlog support (requires --enable-utmp)
1363 1359
1364Optional Packages: 1360Optional Packages:
1365 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1366 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1363 --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) 1364 --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) 1365 --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) 1366 --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) 1367 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1371 --with-term=NAME set the terminal to NAME (default: rxvt) 1368 --with-term=NAME set the terminal to NAME (default: rxvt)
3939 3936
3940case $host in 3937case $host in
3941 *-*-solaris* ) 3938 *-*-solaris* )
3942 3939
3943cat >>confdefs.h <<\_ACEOF 3940cat >>confdefs.h <<\_ACEOF
3944#define _XOPEN_SOURCE_EXTENDED 1
3945_ACEOF
3946
3947
3948cat >>confdefs.h <<\_ACEOF
3949#define _XOPEN_SOURCE 2 3941#define _XOPEN_SOURCE 500
3950_ACEOF
3951
3952
3953cat >>confdefs.h <<\_ACEOF
3954#define __EXTENSIONS__ 1
3955_ACEOF 3942_ACEOF
3956 3943
3957 ;; 3944 ;;
3958esac 3945esac
3959 3946
4428support_scroll_next=yes 4415support_scroll_next=yes
4429support_scroll_xterm=yes 4416support_scroll_xterm=yes
4430support_scroll_plain=yes 4417support_scroll_plain=yes
4431support_xim=yes 4418support_xim=yes
4432support_xpm=yes 4419support_xpm=yes
4420support_afterimage=yes
4421support_afterstep=yes
4433support_xft=yes 4422support_xft=yes
4434support_unicode3=no 4423support_unicode3=no
4435support_combining=yes 4424support_combining=yes
4436support_8bitctrls=no 4425support_8bitctrls=no
4437support_iso14755=yes 4426support_iso14755=yes
4471 support_scroll_plain=no 4460 support_scroll_plain=no
4472 support_utmp=no 4461 support_utmp=no
4473 support_wtmp=no 4462 support_wtmp=no
4474 support_xim=no 4463 support_xim=no
4475 support_xpm=no 4464 support_xpm=no
4465 support_afterimage=no
4466 support_afterstep=no
4476 support_xft=no 4467 support_xft=no
4477 support_unicode3=no 4468 support_unicode3=no
4478 support_combining=no 4469 support_combining=no
4479 support_8bitctrls=no 4470 support_8bitctrls=no
4480 support_iso14755=no 4471 support_iso14755=no
4500 support_scroll_plain=yes 4491 support_scroll_plain=yes
4501 support_utmp=yes 4492 support_utmp=yes
4502 support_wtmp=yes 4493 support_wtmp=yes
4503 support_xim=yes 4494 support_xim=yes
4504 support_xpm=yes 4495 support_xpm=yes
4496 support_afterimage=yes
4497 support_afterstep=yes
4505 support_xft=yes 4498 support_xft=yes
4506 support_unicode3=yes 4499 support_unicode3=yes
4507 support_combining=yes 4500 support_combining=yes
4508 #support_8bitctrls=yes 4501 #support_8bitctrls=yes
4509 support_iso14755=yes 4502 support_iso14755=yes
4553 support_xpm=$enableval 4546 support_xpm=$enableval
4554 fi 4547 fi
4555fi 4548fi
4556 4549
4557 4550
4551# Check whether --enable-afterimage was given.
4552if test "${enable_afterimage+set}" = set; then
4553 enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then
4554 support_afterimage=$enableval
4555 fi
4556fi
4557
4558
4559
4560# Check whether --with-afterimage_config was given.
4561if test "${with_afterimage_config+set}" = set; then
4562 withval=$with_afterimage_config; if test "x$withval" != x; then
4563 afterimage_config=$withval/afterimage-config
4564 fi
4565fi
4566
4567
4568# Check whether --enable-afterstep was given.
4569if test "${enable_afterstep+set}" = set; then
4570 enableval=$enable_afterstep; if test x$enableval = xyes -o x$enableval = xno; then
4571 support_afterstep=$enableval
4572 fi
4573fi
4574
4575
4558# Check whether --enable-transparency was given. 4576# Check whether --enable-transparency was given.
4559if test "${enable_transparency+set}" = set; then 4577if test "${enable_transparency+set}" = set; then
4560 enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then 4578 enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then
4561 support_inheritpixmap=$enableval 4579 support_inheritpixmap=$enableval
4562 fi 4580 fi
4850_ACEOF 4868_ACEOF
4851 terminfo="$withval" 4869 terminfo="$withval"
4852 fi 4870 fi
4853fi 4871fi
4854 4872
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 4873
5102 4874
5103# Extract the first word of "tic", so it can be a program name with args. 4875# Extract the first word of "tic", so it can be a program name with args.
5104set dummy tic; ac_word=$2 4876set dummy tic; ac_word=$2
5105{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4877{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6684 6456
6685fi 6457fi
6686 6458
6687 6459
6688 6460
6461AFTERIMAGE_CFLAGS=
6462AFTERIMAGE_LIBS=
6463AFTERIMAGE_VERSION=
6464
6689if test x$support_xpm = xyes; then 6465if test x$support_afterimage = xyes; then
6466 support_afterimage=no
6467
6468 if test "x$afterimage_config" = "x" ; then
6469 # Extract the first word of "afterimage-config", so it can be a program name with args.
6470set dummy afterimage-config; ac_word=$2
6471{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6472echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6473if test "${ac_cv_path_afterimage_config+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6475else
6476 case $afterimage_config in
6477 [\\/]* | ?:[\\/]*)
6478 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path.
6479 ;;
6480 *)
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482for as_dir in $PATH
6483do
6484 IFS=$as_save_IFS
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6488 ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext"
6489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 break 2
6491 fi
6492done
6493done
6494IFS=$as_save_IFS
6495
6496 test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no"
6497 ;;
6498esac
6499fi
6500afterimage_config=$ac_cv_path_afterimage_config
6501if test -n "$afterimage_config"; then
6502 { echo "$as_me:$LINENO: result: $afterimage_config" >&5
6503echo "${ECHO_T}$afterimage_config" >&6; }
6504else
6505 { echo "$as_me:$LINENO: result: no" >&5
6506echo "${ECHO_T}no" >&6; }
6507fi
6508
6509
6510 fi
6511 { echo "$as_me:$LINENO: checking for libAfterImage version >= 1.15" >&5
6512echo $ECHO_N "checking for libAfterImage version >= 1.15... $ECHO_C" >&6; }
6513 AFTERIMAGE_VERSION=`$afterimage_config --version`
6514 if test -n $AFTERIMAGE_VERSION ; then
6515 AFTERIMAGE_CFLAGS=`$afterimage_config --cflags`
6516 AFTERIMAGE_LIBS=`$afterimage_config --libs`
6517 if test "x$AFTERIMAGE_LIBS" != "x"; then
6518 libai_ver_major=`echo $AFTERIMAGE_VERSION | cut -f 1 -d .`
6519 libai_ver_minor=`echo $AFTERIMAGE_VERSION | cut -f 2 -d .`
6520 if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then
6521 support_afterimage=yes
6522 fi
6523 fi
6524 fi
6525
6526 if test "x$support_afterimage" = "xyes"; then
6527 { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5
6528echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; }
6529 else
6530 { echo "$as_me:$LINENO: result: no" >&5
6531echo "${ECHO_T}no" >&6; }
6532 fi
6533fi
6534
6535if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then
6690 6536
6691 6537
6692 6538
6693# Initialize some more variables set by options. 6539# Initialize some more variables set by options.
6694# The variables have the same names as the options, with 6540# The variables have the same names as the options, with
7637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7638fi 7484fi
7639{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 7485{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7640echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } 7486echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; }
7641 7487
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 7488{ echo "$as_me:$LINENO: checking for XPointer" >&5
7779echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } 7489echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; }
7780if test "${rxvt_cv_xpointer+set}" = set; then 7490if test "${rxvt_cv_xpointer+set}" = set; then
7781 echo $ECHO_N "(cached) $ECHO_C" >&6 7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7782else 7492else
7829cat >>confdefs.h <<\_ACEOF 7539cat >>confdefs.h <<\_ACEOF
7830#define HAVE_XPOINTER 1 7540#define HAVE_XPOINTER 1
7831_ACEOF 7541_ACEOF
7832 7542
7833fi 7543fi
7834LIBS=$ac_save_LIBS
7835CFLAGS=$ac_save_CFLAGS
7836 7544
7837{ echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 7545{ echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7838echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } 7546echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; }
7839if test "${rxvt_xlib_illegal_access+set}" = set; then 7547if test "${rxvt_xlib_illegal_access+set}" = set; then
7840 echo $ECHO_N "(cached) $ECHO_C" >&6 7548 echo $ECHO_N "(cached) $ECHO_C" >&6
11970 11678
11971ac_save_LIBS=$LIBS 11679ac_save_LIBS=$LIBS
11972ac_save_CFLAGS=$CFLAGS 11680ac_save_CFLAGS=$CFLAGS
11973CFLAGS="$CFLAGS $X_CFLAGS" 11681CFLAGS="$CFLAGS $X_CFLAGS"
11974LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11682LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
11975if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
11976 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
11977fi
11978{ echo "$as_me:$LINENO: checking for working Xlocale" >&5 11683{ echo "$as_me:$LINENO: checking for working Xlocale" >&5
11979echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } 11684echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; }
11980if test "${rxvt_cv_func_xlocale+set}" = set; then 11685if test "${rxvt_cv_func_xlocale+set}" = set; then
11981 echo $ECHO_N "(cached) $ECHO_C" >&6 11686 echo $ECHO_N "(cached) $ECHO_C" >&6
11982else 11687else
11983 if test "$cross_compiling" = yes; then 11688 if test "$cross_compiling" = yes; then
11984 { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 11689 :
11985echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;}
11986else 11690else
11987 cat >conftest.$ac_ext <<_ACEOF 11691 cat >conftest.$ac_ext <<_ACEOF
11988/* confdefs.h. */ 11692/* confdefs.h. */
11989_ACEOF 11693_ACEOF
11990cat confdefs.h >>conftest.$ac_ext 11694cat confdefs.h >>conftest.$ac_ext
12033 11737
12034 11738
12035fi 11739fi
12036{ echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11740{ echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
12037echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } 11741echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; }
11742if test x$support_xim = xyes; then
12038if test x$rxvt_cv_func_xlocale = xyes; then 11743 if test x$rxvt_cv_func_xlocale = xyes; then
12039 11744
12040cat >>confdefs.h <<\_ACEOF 11745cat >>confdefs.h <<\_ACEOF
12041#define HAVE_XLOCALE 1 11746#define USE_XIM 1
12042_ACEOF 11747_ACEOF
12043 11748
11749 fi
12044fi 11750fi
12045 11751
12046{ echo "$as_me:$LINENO: checking for working X setlocale" >&5 11752{ echo "$as_me:$LINENO: checking for working X setlocale" >&5
12047echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } 11753echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; }
12048if test "${rxvt_cv_func_xsetlocale+set}" = set; then 11754if test "${rxvt_cv_func_xsetlocale+set}" = set; then
13371 13077
13372fi 13078fi
13373if test x$support_inheritpixmap = xyes; then 13079if test x$support_inheritpixmap = xyes; then
13374 13080
13375cat >>confdefs.h <<\_ACEOF 13081cat >>confdefs.h <<\_ACEOF
13376#define TRANSPARENT 1 13082#define ENABLE_TRANSPARENCY 1
13377_ACEOF 13083_ACEOF
13378 13084
13379fi 13085fi
13380if test x$support_keepscrolling = xno; then 13086if test x$support_keepscrolling = xno; then
13381 13087
13389cat >>confdefs.h <<\_ACEOF 13095cat >>confdefs.h <<\_ACEOF
13390#define SELECTION_SCROLLING 1 13096#define SELECTION_SCROLLING 1
13391_ACEOF 13097_ACEOF
13392 13098
13393fi 13099fi
13394if test x$support_frills = xyes; then
13395
13396cat >>confdefs.h <<\_ACEOF
13397#define ENABLE_FRILLS 1
13398_ACEOF
13399
13400fi
13401if test x$support_mousewheel = xyes; then 13100if test x$support_mousewheel = xyes; then
13402 13101
13403cat >>confdefs.h <<\_ACEOF 13102cat >>confdefs.h <<\_ACEOF
13404#define MOUSE_WHEEL 1 13103#define MOUSE_WHEEL 1
13405_ACEOF 13104_ACEOF
13410cat >>confdefs.h <<\_ACEOF 13109cat >>confdefs.h <<\_ACEOF
13411#define MOUSE_SLIP_WHEELING 1 13110#define MOUSE_SLIP_WHEELING 1
13412_ACEOF 13111_ACEOF
13413 13112
13414fi 13113fi
13415if test x$support_xim = xyes -o x$multichar_set = xyes; then 13114if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
13416 if test x$rxvt_cv_func_xlocale = xyes; then
13417
13418cat >>confdefs.h <<\_ACEOF
13419#define USE_XIM 1
13420_ACEOF
13421
13422 fi
13423fi
13424if test x$support_xpm = xyes; then
13425 13115
13426cat >>confdefs.h <<\_ACEOF 13116cat >>confdefs.h <<\_ACEOF
13427#define XPM_BACKGROUND 1 13117#define XPM_BACKGROUND 1
13428_ACEOF 13118_ACEOF
13429 13119
13430fi 13120fi
13121
13122if test x$support_afterimage = xyes; then
13123
13124cat >>confdefs.h <<\_ACEOF
13125#define HAVE_AFTERIMAGE 1
13126_ACEOF
13127
13128fi
13129
13130if test x$support_afterstep = xyes; then
13131
13132cat >>confdefs.h <<\_ACEOF
13133#define AFTERSTEP_INTEGRATION 1
13134_ACEOF
13135
13136fi
13137
13431if test x$support_scroll_rxvt = xyes; then 13138if test x$support_scroll_rxvt = xyes; then
13432 13139
13433cat >>confdefs.h <<\_ACEOF 13140cat >>confdefs.h <<\_ACEOF
13434#define RXVT_SCROLLBAR 1 13141#define RXVT_SCROLLBAR 1
13435_ACEOF 13142_ACEOF
13707 13414
13708if test x$support_perl = xyes; then 13415if test x$support_perl = xyes; then
13709 support_frills=yes 13416 support_frills=yes
13710fi 13417fi
13711 13418
13419if test x$support_frills = xyes; then
13712 13420
13421cat >>confdefs.h <<\_ACEOF
13422#define ENABLE_FRILLS 1
13423_ACEOF
13713 13424
13714
13715
13716
13717
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 13425fi
13426
13427
13428
13429
13430
13431
13432
13433
13726 13434
13727 13435
13728 13436
13729 13437
13730 13438
14498GREP!$GREP$ac_delim 14206GREP!$GREP$ac_delim
14499EGREP!$EGREP$ac_delim 14207EGREP!$EGREP$ac_delim
14500LINKER!$LINKER$ac_delim 14208LINKER!$LINKER$ac_delim
14501INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim 14209INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim
14502RXVTNAME!$RXVTNAME$ac_delim 14210RXVTNAME!$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 14211TIC!$TIC$ac_delim
14510XMKMF!$XMKMF$ac_delim 14212XMKMF!$XMKMF$ac_delim
14511CXXCPP!$CXXCPP$ac_delim 14213CXXCPP!$CXXCPP$ac_delim
14512X_CFLAGS!$X_CFLAGS$ac_delim 14214X_CFLAGS!$X_CFLAGS$ac_delim
14513X_PRE_LIBS!$X_PRE_LIBS$ac_delim 14215X_PRE_LIBS!$X_PRE_LIBS$ac_delim
14514X_LIBS!$X_LIBS$ac_delim 14216X_LIBS!$X_LIBS$ac_delim
14515X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim 14217X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
14218afterimage_config!$afterimage_config$ac_delim
14516XPM_CPPFLAGS!$XPM_CPPFLAGS$ac_delim 14219XPM_CPPFLAGS!$XPM_CPPFLAGS$ac_delim
14517XPM_CFLAGS!$XPM_CFLAGS$ac_delim 14220XPM_CFLAGS!$XPM_CFLAGS$ac_delim
14518XPM_LIBS!$XPM_LIBS$ac_delim 14221XPM_LIBS!$XPM_LIBS$ac_delim
14519rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim 14222rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim
14520rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim 14223rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim
14527PERL!$PERL$ac_delim 14230PERL!$PERL$ac_delim
14528PERLLIB!$PERLLIB$ac_delim 14231PERLLIB!$PERLLIB$ac_delim
14529PERLFLAGS!$PERLFLAGS$ac_delim 14232PERLFLAGS!$PERLFLAGS$ac_delim
14530PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 14233PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
14531IF_PERL!$IF_PERL$ac_delim 14234IF_PERL!$IF_PERL$ac_delim
14235PERL_O!$PERL_O$ac_delim
14236AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
14237AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
14238include_stdint_h!$include_stdint_h$ac_delim
14239include_stdarg_h!$include_stdarg_h$ac_delim
14532_ACEOF 14240_ACEOF
14533 14241
14534 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 14242 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
14535 break 14243 break
14536 elif $ac_last_try; then 14244 elif $ac_last_try; then
14568 14276
14569 14277
14570ac_delim='%!_!# ' 14278ac_delim='%!_!# '
14571for ac_last_try in false false false false false :; do 14279for ac_last_try in false false false false false :; do
14572 cat >conf$$subs.sed <<_ACEOF 14280 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 14281include_stdlib_h!$include_stdlib_h$ac_delim
14580include_unistd_h!$include_unistd_h$ac_delim 14282include_unistd_h!$include_unistd_h$ac_delim
14581include_string_h!$include_string_h$ac_delim 14283include_string_h!$include_string_h$ac_delim
14582include_fcntl_h!$include_fcntl_h$ac_delim 14284include_fcntl_h!$include_fcntl_h$ac_delim
14583include_util_h!$include_util_h$ac_delim 14285include_util_h!$include_util_h$ac_delim
14589include_time_h!$include_time_h$ac_delim 14291include_time_h!$include_time_h$ac_delim
14590LIBOBJS!$LIBOBJS$ac_delim 14292LIBOBJS!$LIBOBJS$ac_delim
14591LTLIBOBJS!$LTLIBOBJS$ac_delim 14293LTLIBOBJS!$LTLIBOBJS$ac_delim
14592_ACEOF 14294_ACEOF
14593 14295
14594 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then 14296 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
14595 break 14297 break
14596 elif $ac_last_try; then 14298 elif $ac_last_try; then
14597 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14299 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14598echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14300echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14599 { (exit 1); exit 1; }; } 14301 { (exit 1); exit 1; }; }
15032 14734
15033if test x$support_xpm = xyes; then 14735if test x$support_xpm = xyes; then
15034 echo " Xpm library: $XPM_LIBS" 14736 echo " Xpm library: $XPM_LIBS"
15035fi 14737fi
15036 14738
14739if test x$support_afterimage = xyes; then
14740 echo " AfterImage support: yes"
14741fi
14742
14743if test x$support_afterstep = xyes; then
14744 echo " AfterStep integration: yes"
14745fi
14746
15037if test x$term != x; then 14747if test x$term != x; then
15038 echo " set TERM to: $term" 14748 echo " set TERM to: $term"
15039fi 14749fi
15040if test x$terminfo != x; then 14750if test x$terminfo != x; then
15041 echo " set TERMINFO to: $terminfo" 14751 echo " set TERMINFO to: $terminfo"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines