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

Comparing rxvt-unicode/configure (file contents):
Revision 1.152 by root, Thu Jan 19 17:10:54 2012 UTC vs.
Revision 1.154 by root, Thu May 10 22:42:03 2012 UTC

598PERLPRIVLIBEXP 598PERLPRIVLIBEXP
599PERLFLAGS 599PERLFLAGS
600PERLLIB 600PERLLIB
601PERL 601PERL
602XFT_CONFIG 602XFT_CONFIG
603AFTERIMAGE_LIBS
604AFTERIMAGE_CFLAGS
605afterimage_config
606STARTUP_NOTIFICATION_LIBS 603STARTUP_NOTIFICATION_LIBS
607STARTUP_NOTIFICATION_CFLAGS 604STARTUP_NOTIFICATION_CFLAGS
608PIXBUF_LIBS 605PIXBUF_LIBS
609PIXBUF_CFLAGS 606PIXBUF_CFLAGS
610PKG_CONFIG 607PKG_CONFIG
617CXXCPP 614CXXCPP
618RXVTNAME 615RXVTNAME
619LINKER 616LINKER
620EGREP 617EGREP
621GREP 618GREP
619CPP
622INSTALL_DATA 620INSTALL_DATA
623INSTALL_SCRIPT 621INSTALL_SCRIPT
624INSTALL_PROGRAM 622INSTALL_PROGRAM
625CPP
626ac_ct_CXX 623ac_ct_CXX
627CXXFLAGS 624CXXFLAGS
628CXX 625CXX
629OBJEXT 626OBJEXT
630EXEEXT 627EXEEXT
690enable_256_color 687enable_256_color
691enable_unicode3 688enable_unicode3
692enable_combining 689enable_combining
693enable_xft 690enable_xft
694enable_font_styles 691enable_font_styles
695enable_afterimage
696with_afterimage_config
697enable_pixbuf 692enable_pixbuf
698enable_startup_notification 693enable_startup_notification
699enable_transparency 694enable_transparency
700enable_fading 695enable_fading
701enable_rxvt_scroll 696enable_rxvt_scroll
1367 --enable-256-color enable 256-color support 1362 --enable-256-color enable 256-color support
1368 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1363 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1369 --enable-combining enable composition of base and combining characters 1364 --enable-combining enable composition of base and combining characters
1370 --enable-xft enable xft support on systems that have it 1365 --enable-xft enable xft support on systems that have it
1371 --enable-font-styles enable bold and italic support 1366 --enable-font-styles enable bold and italic support
1372 --enable-afterimage enable integration with libAfterImage for background images (deprecated)
1373 --enable-pixbuf enable integration with gdk-pixbuf for background images 1367 --enable-pixbuf enable integration with gdk-pixbuf for background images
1374 --enable-startup-notification enable freedesktop startup notification support 1368 --enable-startup-notification enable freedesktop startup notification support
1375 --enable-transparency enable transparent backgrounds 1369 --enable-transparency enable transparent backgrounds
1376 --enable-fading enable colors fading when off focus 1370 --enable-fading enable colors fading when off focus
1377 --enable-rxvt-scroll enable rxvt style scrollbar 1371 --enable-rxvt-scroll enable rxvt style scrollbar
1399 --enable-lastlog enable lastlog support (requires --enable-utmp) 1393 --enable-lastlog enable lastlog support (requires --enable-utmp)
1400 1394
1401Optional Packages: 1395Optional Packages:
1402 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1396 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1403 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1397 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1404 --with-afterimage-config=DIR use libAfterImage config script in DIR
1405 --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) 1398 --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
1406 --with-res-name=NAME use this as default resource name (default: urxvt) 1399 --with-res-name=NAME use this as default resource name (default: urxvt)
1407 --with-res-class=CLASS use this as the resource class (default: URxvt) 1400 --with-res-class=CLASS use this as the resource class (default: URxvt)
1408 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1401 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1409 --with-term=NAME set the terminal to NAME (default: rxvt) 1402 --with-term=NAME set the terminal to NAME (default: rxvt)
3794ac_cpp='$CPP $CPPFLAGS' 3787ac_cpp='$CPP $CPPFLAGS'
3795ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3788ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3796ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3789ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3797ac_compiler_gnu=$ac_cv_c_compiler_gnu 3790ac_compiler_gnu=$ac_cv_c_compiler_gnu
3798 3791
3799ac_ext=c
3800ac_cpp='$CPP $CPPFLAGS'
3801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3802ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3803ac_compiler_gnu=$ac_cv_c_compiler_gnu
3804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3805$as_echo_n "checking how to run the C preprocessor... " >&6; }
3806# On Suns, sometimes $CPP names a directory.
3807if test -n "$CPP" && test -d "$CPP"; then
3808 CPP=
3809fi
3810if test -z "$CPP"; then
3811 if test "${ac_cv_prog_CPP+set}" = set; then :
3812 $as_echo_n "(cached) " >&6
3813else
3814 # Double quotes because CPP needs to be expanded
3815 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3816 do
3817 ac_preproc_ok=false
3818for ac_c_preproc_warn_flag in '' yes
3819do
3820 # Use a header file that comes with gcc, so configuring glibc
3821 # with a fresh cross-compiler works.
3822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3823 # <limits.h> exists even on freestanding compilers.
3824 # On the NeXT, cc -E runs the code through the compiler's parser,
3825 # not just through cpp. "Syntax error" is here to catch this case.
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827/* end confdefs.h. */
3828#ifdef __STDC__
3829# include <limits.h>
3830#else
3831# include <assert.h>
3832#endif
3833 Syntax error
3834_ACEOF
3835if ac_fn_c_try_cpp "$LINENO"; then :
3836
3837else
3838 # Broken: fails on valid input.
3839continue
3840fi
3841rm -f conftest.err conftest.i conftest.$ac_ext
3842
3843 # OK, works on sane cases. Now check whether nonexistent headers
3844 # can be detected and how.
3845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3846/* end confdefs.h. */
3847#include <ac_nonexistent.h>
3848_ACEOF
3849if ac_fn_c_try_cpp "$LINENO"; then :
3850 # Broken: success on invalid input.
3851continue
3852else
3853 # Passes both tests.
3854ac_preproc_ok=:
3855break
3856fi
3857rm -f conftest.err conftest.i conftest.$ac_ext
3858
3859done
3860# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3861rm -f conftest.i conftest.err conftest.$ac_ext
3862if $ac_preproc_ok; then :
3863 break
3864fi
3865
3866 done
3867 ac_cv_prog_CPP=$CPP
3868
3869fi
3870 CPP=$ac_cv_prog_CPP
3871else
3872 ac_cv_prog_CPP=$CPP
3873fi
3874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3875$as_echo "$CPP" >&6; }
3876ac_preproc_ok=false
3877for ac_c_preproc_warn_flag in '' yes
3878do
3879 # Use a header file that comes with gcc, so configuring glibc
3880 # with a fresh cross-compiler works.
3881 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3882 # <limits.h> exists even on freestanding compilers.
3883 # On the NeXT, cc -E runs the code through the compiler's parser,
3884 # not just through cpp. "Syntax error" is here to catch this case.
3885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886/* end confdefs.h. */
3887#ifdef __STDC__
3888# include <limits.h>
3889#else
3890# include <assert.h>
3891#endif
3892 Syntax error
3893_ACEOF
3894if ac_fn_c_try_cpp "$LINENO"; then :
3895
3896else
3897 # Broken: fails on valid input.
3898continue
3899fi
3900rm -f conftest.err conftest.i conftest.$ac_ext
3901
3902 # OK, works on sane cases. Now check whether nonexistent headers
3903 # can be detected and how.
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905/* end confdefs.h. */
3906#include <ac_nonexistent.h>
3907_ACEOF
3908if ac_fn_c_try_cpp "$LINENO"; then :
3909 # Broken: success on invalid input.
3910continue
3911else
3912 # Passes both tests.
3913ac_preproc_ok=:
3914break
3915fi
3916rm -f conftest.err conftest.i conftest.$ac_ext
3917
3918done
3919# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3920rm -f conftest.i conftest.err conftest.$ac_ext
3921if $ac_preproc_ok; then :
3922
3923else
3924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3927See \`config.log' for more details" "$LINENO" 5 ; }
3928fi
3929
3930ac_ext=c
3931ac_cpp='$CPP $CPPFLAGS'
3932ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3933ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3934ac_compiler_gnu=$ac_cv_c_compiler_gnu
3935
3936# Find a good install program. We prefer a C program (faster), 3792# Find a good install program. We prefer a C program (faster),
3937# so one script is as good as another. But avoid the broken or 3793# so one script is as good as another. But avoid the broken or
3938# incompatible versions: 3794# incompatible versions:
3939# SysV /etc/install, /usr/sbin/install 3795# SysV /etc/install, /usr/sbin/install
3940# SunOS /usr/etc/install 3796# SunOS /usr/etc/install
4025test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3881test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4026 3882
4027test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3883test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4028 3884
4029 3885
3886
3887ac_ext=c
3888ac_cpp='$CPP $CPPFLAGS'
3889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3891ac_compiler_gnu=$ac_cv_c_compiler_gnu
3892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3893$as_echo_n "checking how to run the C preprocessor... " >&6; }
3894# On Suns, sometimes $CPP names a directory.
3895if test -n "$CPP" && test -d "$CPP"; then
3896 CPP=
3897fi
3898if test -z "$CPP"; then
3899 if test "${ac_cv_prog_CPP+set}" = set; then :
3900 $as_echo_n "(cached) " >&6
3901else
3902 # Double quotes because CPP needs to be expanded
3903 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3904 do
3905 ac_preproc_ok=false
3906for ac_c_preproc_warn_flag in '' yes
3907do
3908 # Use a header file that comes with gcc, so configuring glibc
3909 # with a fresh cross-compiler works.
3910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3911 # <limits.h> exists even on freestanding compilers.
3912 # On the NeXT, cc -E runs the code through the compiler's parser,
3913 # not just through cpp. "Syntax error" is here to catch this case.
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915/* end confdefs.h. */
3916#ifdef __STDC__
3917# include <limits.h>
3918#else
3919# include <assert.h>
3920#endif
3921 Syntax error
3922_ACEOF
3923if ac_fn_c_try_cpp "$LINENO"; then :
3924
3925else
3926 # Broken: fails on valid input.
3927continue
3928fi
3929rm -f conftest.err conftest.i conftest.$ac_ext
3930
3931 # OK, works on sane cases. Now check whether nonexistent headers
3932 # can be detected and how.
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934/* end confdefs.h. */
3935#include <ac_nonexistent.h>
3936_ACEOF
3937if ac_fn_c_try_cpp "$LINENO"; then :
3938 # Broken: success on invalid input.
3939continue
3940else
3941 # Passes both tests.
3942ac_preproc_ok=:
3943break
3944fi
3945rm -f conftest.err conftest.i conftest.$ac_ext
3946
3947done
3948# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3949rm -f conftest.i conftest.err conftest.$ac_ext
3950if $ac_preproc_ok; then :
3951 break
3952fi
3953
3954 done
3955 ac_cv_prog_CPP=$CPP
3956
3957fi
3958 CPP=$ac_cv_prog_CPP
3959else
3960 ac_cv_prog_CPP=$CPP
3961fi
3962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3963$as_echo "$CPP" >&6; }
3964ac_preproc_ok=false
3965for ac_c_preproc_warn_flag in '' yes
3966do
3967 # Use a header file that comes with gcc, so configuring glibc
3968 # with a fresh cross-compiler works.
3969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3970 # <limits.h> exists even on freestanding compilers.
3971 # On the NeXT, cc -E runs the code through the compiler's parser,
3972 # not just through cpp. "Syntax error" is here to catch this case.
3973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3974/* end confdefs.h. */
3975#ifdef __STDC__
3976# include <limits.h>
3977#else
3978# include <assert.h>
3979#endif
3980 Syntax error
3981_ACEOF
3982if ac_fn_c_try_cpp "$LINENO"; then :
3983
3984else
3985 # Broken: fails on valid input.
3986continue
3987fi
3988rm -f conftest.err conftest.i conftest.$ac_ext
3989
3990 # OK, works on sane cases. Now check whether nonexistent headers
3991 # can be detected and how.
3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993/* end confdefs.h. */
3994#include <ac_nonexistent.h>
3995_ACEOF
3996if ac_fn_c_try_cpp "$LINENO"; then :
3997 # Broken: success on invalid input.
3998continue
3999else
4000 # Passes both tests.
4001ac_preproc_ok=:
4002break
4003fi
4004rm -f conftest.err conftest.i conftest.$ac_ext
4005
4006done
4007# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4008rm -f conftest.i conftest.err conftest.$ac_ext
4009if $ac_preproc_ok; then :
4010
4011else
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4015See \`config.log' for more details" "$LINENO" 5 ; }
4016fi
4017
4018ac_ext=c
4019ac_cpp='$CPP $CPPFLAGS'
4020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4022ac_compiler_gnu=$ac_cv_c_compiler_gnu
4030 4023
4031 4024
4032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4033$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4026$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4034if test "${ac_cv_path_GREP+set}" = set; then : 4027if test "${ac_cv_path_GREP+set}" = set; then :
4829 support_styles=$enableval 4822 support_styles=$enableval
4830 fi 4823 fi
4831fi 4824fi
4832 4825
4833 4826
4834# Check whether --enable-afterimage was given.
4835if test "${enable_afterimage+set}" = set; then :
4836 enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then
4837 support_afterimage=$enableval
4838 fi
4839fi
4840
4841
4842
4843# Check whether --with-afterimage_config was given.
4844if test "${with_afterimage_config+set}" = set; then :
4845 withval=$with_afterimage_config; if test "x$withval" != x; then
4846 afterimage_config=$withval/afterimage-config
4847 fi
4848fi
4849
4850
4851# Check whether --enable-pixbuf was given. 4827# Check whether --enable-pixbuf was given.
4852if test "${enable_pixbuf+set}" = set; then : 4828if test "${enable_pixbuf+set}" = set; then :
4853 enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then 4829 enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then
4854 support_pixbuf=$enableval 4830 support_pixbuf=$enableval
4855 fi 4831 fi
6326 6302
6327 if test x$support_pixbuf = xyes; then 6303 if test x$support_pixbuf = xyes; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6329$as_echo "ok" >&6; } 6305$as_echo "ok" >&6; }
6330 image_lib=gdk-pixbuf 6306 image_lib=gdk-pixbuf
6331 support_afterimage=no
6332 6307
6333$as_echo "#define HAVE_PIXBUF 1" >>confdefs.h 6308$as_echo "#define HAVE_PIXBUF 1" >>confdefs.h
6334 6309
6335 6310
6336$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h 6311$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
6411fi 6386fi
6412 6387
6413 6388
6414 6389
6415 6390
6416AFTERIMAGE_CFLAGS=
6417AFTERIMAGE_LIBS=
6418
6419if test x$support_afterimage = xyes; then
6420 support_afterimage=no
6421
6422 if test "x$afterimage_config" = "x" ; then
6423 # Extract the first word of "afterimage-config", so it can be a program name with args.
6424set dummy afterimage-config; ac_word=$2
6425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426$as_echo_n "checking for $ac_word... " >&6; }
6427if test "${ac_cv_path_afterimage_config+set}" = set; then :
6428 $as_echo_n "(cached) " >&6
6429else
6430 case $afterimage_config in
6431 [\\/]* | ?:[\\/]*)
6432 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path.
6433 ;;
6434 *)
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436for as_dir in $PATH
6437do
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6445 fi
6446done
6447 done
6448IFS=$as_save_IFS
6449
6450 test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no"
6451 ;;
6452esac
6453fi
6454afterimage_config=$ac_cv_path_afterimage_config
6455if test -n "$afterimage_config"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $afterimage_config" >&5
6457$as_echo "$afterimage_config" >&6; }
6458else
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460$as_echo "no" >&6; }
6461fi
6462
6463
6464 fi
6465 if test "x$afterimage_config" != "xno" ; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5
6467$as_echo_n "checking for libAfterImage version >= 1.15... " >&6; }
6468 AFTERIMAGE_VERSION=`$afterimage_config --version`
6469 if test -n "$AFTERIMAGE_VERSION" ; then
6470 AFTERIMAGE_CFLAGS=`$afterimage_config --cflags`
6471 AFTERIMAGE_LIBS=`$afterimage_config --libs`
6472 if test "x$AFTERIMAGE_LIBS" != "x"; then
6473 libai_ver_major=`echo $AFTERIMAGE_VERSION | cut -f 1 -d .`
6474 libai_ver_minor=`echo $AFTERIMAGE_VERSION | cut -f 2 -d .`
6475 if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then
6476 support_afterimage=yes
6477 fi
6478 fi
6479 fi
6480 if test "x$support_afterimage" = "xyes"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5
6482$as_echo "$AFTERIMAGE_LIBS" >&6; }
6483 image_lib=libafterimage
6484
6485$as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h
6486
6487
6488$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
6489
6490 else
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492$as_echo "no" >&6; }
6493 AFTERIMAGE_CFLAGS=
6494 AFTERIMAGE_LIBS=
6495 fi
6496 fi
6497fi
6498
6499
6500
6501
6502for ac_header in \ 6391for ac_header in \
6503 sys/byteorder.h \ 6392 sys/byteorder.h \
6504 sys/ioctl.h \ 6393 sys/ioctl.h \
6505 sys/sockio.h \ 6394 sys/sockio.h \
6506 sys/strredir.h \ 6395 sys/strredir.h \
7193$as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h 7082$as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h
7194 7083
7195fi 7084fi
7196LIBS=$save_LIBS 7085LIBS=$save_LIBS
7197CFLAGS=$save_CFLAGS 7086CFLAGS=$save_CFLAGS
7198
7199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5
7200$as_echo_n "checking for working plain setlocale... " >&6; }
7201if test "${rxvt_cv_func_setlocale+set}" = set; then :
7202 $as_echo_n "(cached) " >&6
7203else
7204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7205/* end confdefs.h. */
7206#include <locale.h>
7207int
7208main ()
7209{
7210setlocale(LC_CTYPE, "");
7211 ;
7212 return 0;
7213}
7214_ACEOF
7215if ac_fn_cxx_try_link "$LINENO"; then :
7216 rxvt_cv_func_setlocale=yes
7217else
7218 rxvt_cv_func_setlocale=no
7219fi
7220rm -f core conftest.err conftest.$ac_objext \
7221 conftest$ac_exeext conftest.$ac_ext
7222fi
7223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_setlocale" >&5
7224$as_echo "$rxvt_cv_func_setlocale" >&6; }
7225if test x$rxvt_cv_func_setlocale = xyes; then
7226
7227$as_echo "#define HAVE_SETLOCALE 1" >>confdefs.h
7228
7229fi
7230 7087
7231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 7088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5
7232$as_echo_n "checking for working nl_langinfo... " >&6; } 7089$as_echo_n "checking for working nl_langinfo... " >&6; }
7233if test "${rxvt_cv_func_nl_langinfo+set}" = set; then : 7090if test "${rxvt_cv_func_nl_langinfo+set}" = set; then :
7234 $as_echo_n "(cached) " >&6 7091 $as_echo_n "(cached) " >&6
7393for ac_header in \ 7250for ac_header in \
7394 pty.h \ 7251 pty.h \
7395 util.h \ 7252 util.h \
7396 libutil.h \ 7253 libutil.h \
7397 sys/ioctl.h \ 7254 sys/ioctl.h \
7398 sys/stropts.h \
7399 stropts.h \ 7255 stropts.h \
7400 7256
7401do : 7257do :
7402 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7258 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7403ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7259ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8019 fi 7875 fi
8020done 7876done
8021 done 7877 done
8022IFS=$as_save_IFS 7878IFS=$as_save_IFS
8023 7879
8024 ;; 7880 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
8025esac
8026fi
8027PERL=$ac_cv_path_PERL
8028if test -n "$PERL"; then
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
8030$as_echo "$PERL" >&6; }
8031else
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8033$as_echo "no" >&6; }
8034fi
8035
8036
8037 # Extract the first word of "perl", so it can be a program name with args.
8038set dummy perl; ac_word=$2
8039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8040$as_echo_n "checking for $ac_word... " >&6; }
8041if test "${ac_cv_path_PERL+set}" = set; then :
8042 $as_echo_n "(cached) " >&6
8043else
8044 case $PERL in
8045 [\\/]* | ?:[\\/]*)
8046 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
8047 ;;
8048 *)
8049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8050for as_dir in $PATH
8051do
8052 IFS=$as_save_IFS
8053 test -z "$as_dir" && as_dir=.
8054 for ac_exec_ext in '' $ac_executable_extensions; do
8055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8056 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
8057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 break 2
8059 fi
8060done
8061 done
8062IFS=$as_save_IFS
8063
8064 ;; 7881 ;;
8065esac 7882esac
8066fi 7883fi
8067PERL=$ac_cv_path_PERL 7884PERL=$ac_cv_path_PERL
8068if test -n "$PERL"; then 7885if test -n "$PERL"; then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines