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

Comparing rxvt-unicode/configure (file contents):
Revision 1.122 by ayin, Tue Dec 11 18:32:08 2007 UTC vs.
Revision 1.130 by root, Sat Dec 26 10:24:04 2009 UTC

694PERLPRIVLIBEXP 694PERLPRIVLIBEXP
695IF_PERL 695IF_PERL
696PERL_O 696PERL_O
697AFTERIMAGE_CFLAGS 697AFTERIMAGE_CFLAGS
698AFTERIMAGE_LIBS 698AFTERIMAGE_LIBS
699include_stdint_h
700include_sys_ioctl_h
701include_sys_strredir_h
702LIBOBJS 699LIBOBJS
703LTLIBOBJS' 700LTLIBOBJS'
704ac_subst_files='' 701ac_subst_files=''
705 ac_precious_vars='build_alias 702 ac_precious_vars='build_alias
706host_alias 703host_alias
1296 1293
1297Optional Features: 1294Optional Features:
1298 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1295 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1299 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1296 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1300 --enable-everything enable standard non-multichoice features 1297 --enable-everything enable standard non-multichoice features
1301 NOTE: this option is order dependent 1298 NOTE: this option is order dependent
1299 --enable-assert enable assertions
1302 --enable-warnings turn on g++ warnings 1300 --enable-warnings turn on g++ warnings
1303 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1301 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1304 --enable-combining enable composition of base and combining characters 1302 --enable-combining enable composition of base and combining characters
1305 --enable-xft enable xft support on systems that have it 1303 --enable-xft enable xft support on systems that have it
1306 --enable-font-styles enable bold and italic support 1304 --enable-font-styles enable bold and italic support
1307 --enable-afterimage enable integration with libAfterImage for background images 1305 --enable-afterimage enable integration with libAfterImage for background images
1308 --enable-transparency enable transparent backgrounds 1306 --enable-transparency enable transparent backgrounds
1309 --enable-fading enable colors fading when off focus 1307 --enable-fading enable colors fading when off focus
1310 --enable-rxvt-scroll enable rxvt style scrollbar 1308 --enable-rxvt-scroll enable rxvt style scrollbar
1311 --enable-next-scroll enable NeXT style scrollbar 1309 --enable-next-scroll enable NeXT style scrollbar
1312 --enable-xterm-scroll enable Xterm style scrollbar 1310 --enable-xterm-scroll enable Xterm style scrollbar
1313 --enable-plain-scroll enable plain style scrollbar
1314 --enable-perl enable embedded perl interpreter 1311 --enable-perl enable embedded perl interpreter
1315 --enable-xim XIM (X Input Method) protocol support 1312 --enable-xim XIM (X Input Method) protocol support
1316 --disable-backspace-key disable handling of the backspace key 1313 --disable-backspace-key disable handling of the backspace key
1317 --disable-delete-key disable handling of the delete key 1314 --disable-delete-key disable handling of the delete key
1318 --disable-resources disable all resource checking 1315 --disable-resources disable all resource checking
4369fi 4366fi
4370 4367
4371fi 4368fi
4372 4369
4373 4370
4374
4375support_frills=yes 4371support_frills=yes
4376support_inheritpixmap=yes 4372support_inheritpixmap=yes
4377support_fading=yes 4373support_fading=yes
4378support_keepscrolling=yes 4374support_keepscrolling=yes
4379support_selectionscrolling=yes 4375support_selectionscrolling=yes
4382support_text_blink=yes 4378support_text_blink=yes
4383support_pointer_blank=yes 4379support_pointer_blank=yes
4384support_scroll_rxvt=yes 4380support_scroll_rxvt=yes
4385support_scroll_next=yes 4381support_scroll_next=yes
4386support_scroll_xterm=yes 4382support_scroll_xterm=yes
4387support_scroll_plain=yes
4388support_xim=yes 4383support_xim=yes
4389support_afterimage=yes 4384support_afterimage=yes
4390support_afterstep=yes 4385support_afterstep=yes
4391support_xft=yes 4386support_xft=yes
4392support_unicode3=no 4387support_unicode3=no
4394support_8bitctrls=no 4389support_8bitctrls=no
4395support_iso14755=yes 4390support_iso14755=yes
4396support_styles=yes 4391support_styles=yes
4397support_perl=yes 4392support_perl=yes
4398codesets=all 4393codesets=all
4399
4400 4394
4401 4395
4402# Check whether --enable-everything was given. 4396# Check whether --enable-everything was given.
4403if test "${enable_everything+set}" = set; then 4397if test "${enable_everything+set}" = set; then
4404 enableval=$enable_everything; 4398 enableval=$enable_everything;
4414 support_text_blink=no 4408 support_text_blink=no
4415 support_pointer_blank=no 4409 support_pointer_blank=no
4416 support_scroll_rxvt=no 4410 support_scroll_rxvt=no
4417 support_scroll_next=no 4411 support_scroll_next=no
4418 support_scroll_xterm=no 4412 support_scroll_xterm=no
4419 support_scroll_plain=no
4420 support_utmp=no 4413 support_utmp=no
4421 support_wtmp=no 4414 support_wtmp=no
4422 support_xim=no 4415 support_xim=no
4423 support_afterimage=no 4416 support_afterimage=no
4424 support_afterstep=no 4417 support_afterstep=no
4443 support_text_blink=yes 4436 support_text_blink=yes
4444 support_pointer_blank=yes 4437 support_pointer_blank=yes
4445 support_scroll_rxvt=yes 4438 support_scroll_rxvt=yes
4446 support_scroll_next=yes 4439 support_scroll_next=yes
4447 support_scroll_xterm=yes 4440 support_scroll_xterm=yes
4448 support_scroll_plain=yes
4449 support_utmp=yes 4441 support_utmp=yes
4450 support_wtmp=yes 4442 support_wtmp=yes
4451 support_xim=yes 4443 support_xim=yes
4452 support_afterimage=yes 4444 support_afterimage=yes
4453 support_afterstep=yes 4445 support_afterstep=yes
4462 fi 4454 fi
4463 4455
4464fi 4456fi
4465 4457
4466 4458
4459ASSERTIONS=no
4460# Check whether --enable-assert was given.
4461if test "${enable_assert+set}" = set; then
4462 enableval=$enable_assert; if test x$enableval = xyes; then
4463 ASSERTIONS=yes
4464 fi
4465fi
4466
4467if test x$ASSERTIONS = xno; then
4468
4469cat >>confdefs.h <<\_ACEOF
4470#define NDEBUG 1
4471_ACEOF
4472
4473fi
4474
4467WARNINGS=no 4475WARNINGS=no
4468# Check whether --enable-warnings was given. 4476# Check whether --enable-warnings was given.
4469if test "${enable_warnings+set}" = set; then 4477if test "${enable_warnings+set}" = set; then
4470 enableval=$enable_warnings; if test x$enableval = xyes; then 4478 enableval=$enable_warnings; if test x$enableval = xyes; then
4471 WARNINGS=yes 4479 WARNINGS=yes
4606 4614
4607# Check whether --enable-xterm-scroll was given. 4615# Check whether --enable-xterm-scroll was given.
4608if test "${enable_xterm_scroll+set}" = set; then 4616if test "${enable_xterm_scroll+set}" = set; then
4609 enableval=$enable_xterm_scroll; if test x$enableval = xyes -o x$enableval = xno; then 4617 enableval=$enable_xterm_scroll; if test x$enableval = xyes -o x$enableval = xno; then
4610 support_scroll_xterm=$enableval 4618 support_scroll_xterm=$enableval
4611 fi
4612fi
4613
4614
4615# Check whether --enable-plain-scroll was given.
4616if test "${enable_plain_scroll+set}" = set; then
4617 enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then
4618 support_scroll_plain=$enableval
4619 fi 4619 fi
4620fi 4620fi
4621 4621
4622 4622
4623# Check whether --enable-perl was given. 4623# Check whether --enable-perl was given.
5340 5340
5341 5341
5342 5342
5343 5343
5344 5344
5345
5346
5345for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h 5347for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h
5346do 5348do
5347as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5349as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5348if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5350if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5349 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5350echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5352echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5486 5488
5487 5489
5488 5490
5489 5491
5490 5492
5493
5494
5491for ac_func in inotify_init epoll_ctl kqueue port_create poll select 5495for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd
5492do 5496do
5493as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5497as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5494{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5498{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5495echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5499echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5496if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5500if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5665echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } 5669echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; }
5666if test $ac_cv_func_clock_gettime = yes; then 5670if test $ac_cv_func_clock_gettime = yes; then
5667 : 5671 :
5668else 5672else
5669 5673
5670 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 5674 if test $(uname) = Linux; then
5675 { echo "$as_me:$LINENO: checking for clock_gettime syscall" >&5
5676echo $ECHO_N "checking for clock_gettime syscall... $ECHO_C" >&6; }
5677 cat >conftest.$ac_ext <<_ACEOF
5678/* confdefs.h. */
5679_ACEOF
5680cat confdefs.h >>conftest.$ac_ext
5681cat >>conftest.$ac_ext <<_ACEOF
5682/* end confdefs.h. */
5683#include <syscall.h>
5684 #include <time.h>
5685int
5686main ()
5687{
5688struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts)
5689 ;
5690 return 0;
5691}
5692_ACEOF
5693rm -f conftest.$ac_objext conftest$ac_exeext
5694if { (ac_try="$ac_link"
5695case "(($ac_try" in
5696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5698esac
5699eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5700 (eval "$ac_link") 2>conftest.er1
5701 ac_status=$?
5702 grep -v '^ *+' conftest.er1 >conftest.err
5703 rm -f conftest.er1
5704 cat conftest.err >&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); } && {
5707 test -z "$ac_cxx_werror_flag" ||
5708 test ! -s conftest.err
5709 } && test -s conftest$ac_exeext &&
5710 $as_test_x conftest$ac_exeext; then
5711 ac_have_clock_syscall=1
5712
5713cat >>confdefs.h <<\_ACEOF
5714#define HAVE_CLOCK_SYSCALL 1
5715_ACEOF
5716
5717 { echo "$as_me:$LINENO: result: yes" >&5
5718echo "${ECHO_T}yes" >&6; }
5719else
5720 echo "$as_me: failed program was:" >&5
5721sed 's/^/| /' conftest.$ac_ext >&5
5722
5723 { echo "$as_me:$LINENO: result: no" >&5
5724echo "${ECHO_T}no" >&6; }
5725fi
5726
5727rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5728 conftest$ac_exeext conftest.$ac_ext
5729 fi
5730 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then
5671 5731
5672{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 5732{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
5673echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } 5733echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
5674if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 5734if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
5675 echo $ECHO_N "(cached) $ECHO_C" >&6 5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5837 fi 5897 fi
5838 5898
5839fi 5899fi
5840 5900
5841 5901
5902{ echo "$as_me:$LINENO: checking for nanosleep" >&5
5903echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; }
5904if test "${ac_cv_func_nanosleep+set}" = set; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5906else
5907 cat >conftest.$ac_ext <<_ACEOF
5908/* confdefs.h. */
5909_ACEOF
5910cat confdefs.h >>conftest.$ac_ext
5911cat >>conftest.$ac_ext <<_ACEOF
5912/* end confdefs.h. */
5913/* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep.
5914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5915#define nanosleep innocuous_nanosleep
5916
5917/* System header to define __stub macros and hopefully few prototypes,
5918 which can conflict with char nanosleep (); below.
5919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5920 <limits.h> exists even on freestanding compilers. */
5921
5922#ifdef __STDC__
5923# include <limits.h>
5924#else
5925# include <assert.h>
5926#endif
5927
5928#undef nanosleep
5929
5930/* Override any GCC internal prototype to avoid an error.
5931 Use char because int might match the return type of a GCC
5932 builtin and then its argument prototype would still apply. */
5933#ifdef __cplusplus
5934extern "C"
5935#endif
5936char nanosleep ();
5937/* The GNU C library defines this for functions which it implements
5938 to always fail with ENOSYS. Some functions are actually named
5939 something starting with __ and the normal name is an alias. */
5940#if defined __stub_nanosleep || defined __stub___nanosleep
5941choke me
5942#endif
5943
5944int
5945main ()
5946{
5947return nanosleep ();
5948 ;
5949 return 0;
5950}
5951_ACEOF
5952rm -f conftest.$ac_objext conftest$ac_exeext
5953if { (ac_try="$ac_link"
5954case "(($ac_try" in
5955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5956 *) ac_try_echo=$ac_try;;
5957esac
5958eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5959 (eval "$ac_link") 2>conftest.er1
5960 ac_status=$?
5961 grep -v '^ *+' conftest.er1 >conftest.err
5962 rm -f conftest.er1
5963 cat conftest.err >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } && {
5966 test -z "$ac_cxx_werror_flag" ||
5967 test ! -s conftest.err
5968 } && test -s conftest$ac_exeext &&
5969 $as_test_x conftest$ac_exeext; then
5970 ac_cv_func_nanosleep=yes
5971else
5972 echo "$as_me: failed program was:" >&5
5973sed 's/^/| /' conftest.$ac_ext >&5
5974
5975 ac_cv_func_nanosleep=no
5976fi
5977
5978rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5979 conftest$ac_exeext conftest.$ac_ext
5980fi
5981{ echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5
5982echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; }
5983if test $ac_cv_func_nanosleep = yes; then
5984 :
5985else
5986
5987 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
5988
5989{ echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
5990echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; }
5991if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
5992 echo $ECHO_N "(cached) $ECHO_C" >&6
5993else
5994 ac_check_lib_save_LIBS=$LIBS
5995LIBS="-lrt $LIBS"
5996cat >conftest.$ac_ext <<_ACEOF
5997/* confdefs.h. */
5998_ACEOF
5999cat confdefs.h >>conftest.$ac_ext
6000cat >>conftest.$ac_ext <<_ACEOF
6001/* end confdefs.h. */
6002
6003/* Override any GCC internal prototype to avoid an error.
6004 Use char because int might match the return type of a GCC
6005 builtin and then its argument prototype would still apply. */
6006#ifdef __cplusplus
6007extern "C"
6008#endif
6009char nanosleep ();
6010int
6011main ()
6012{
6013return nanosleep ();
6014 ;
6015 return 0;
6016}
6017_ACEOF
6018rm -f conftest.$ac_objext conftest$ac_exeext
6019if { (ac_try="$ac_link"
6020case "(($ac_try" in
6021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6022 *) ac_try_echo=$ac_try;;
6023esac
6024eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6025 (eval "$ac_link") 2>conftest.er1
6026 ac_status=$?
6027 grep -v '^ *+' conftest.er1 >conftest.err
6028 rm -f conftest.er1
6029 cat conftest.err >&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); } && {
6032 test -z "$ac_cxx_werror_flag" ||
6033 test ! -s conftest.err
6034 } && test -s conftest$ac_exeext &&
6035 $as_test_x conftest$ac_exeext; then
6036 ac_cv_lib_rt_nanosleep=yes
6037else
6038 echo "$as_me: failed program was:" >&5
6039sed 's/^/| /' conftest.$ac_ext >&5
6040
6041 ac_cv_lib_rt_nanosleep=no
6042fi
6043
6044rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6045 conftest$ac_exeext conftest.$ac_ext
6046LIBS=$ac_check_lib_save_LIBS
6047fi
6048{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
6049echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; }
6050if test $ac_cv_lib_rt_nanosleep = yes; then
6051 cat >>confdefs.h <<_ACEOF
6052#define HAVE_LIBRT 1
6053_ACEOF
6054
6055 LIBS="-lrt $LIBS"
6056
6057fi
6058
6059 unset ac_cv_func_nanosleep
6060
6061for ac_func in nanosleep
6062do
6063as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6064{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6065echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6066if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6067 echo $ECHO_N "(cached) $ECHO_C" >&6
6068else
6069 cat >conftest.$ac_ext <<_ACEOF
6070/* confdefs.h. */
6071_ACEOF
6072cat confdefs.h >>conftest.$ac_ext
6073cat >>conftest.$ac_ext <<_ACEOF
6074/* end confdefs.h. */
6075/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6077#define $ac_func innocuous_$ac_func
6078
6079/* System header to define __stub macros and hopefully few prototypes,
6080 which can conflict with char $ac_func (); below.
6081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6082 <limits.h> exists even on freestanding compilers. */
6083
6084#ifdef __STDC__
6085# include <limits.h>
6086#else
6087# include <assert.h>
6088#endif
6089
6090#undef $ac_func
6091
6092/* Override any GCC internal prototype to avoid an error.
6093 Use char because int might match the return type of a GCC
6094 builtin and then its argument prototype would still apply. */
6095#ifdef __cplusplus
6096extern "C"
6097#endif
6098char $ac_func ();
6099/* The GNU C library defines this for functions which it implements
6100 to always fail with ENOSYS. Some functions are actually named
6101 something starting with __ and the normal name is an alias. */
6102#if defined __stub_$ac_func || defined __stub___$ac_func
6103choke me
6104#endif
6105
6106int
6107main ()
6108{
6109return $ac_func ();
6110 ;
6111 return 0;
6112}
6113_ACEOF
6114rm -f conftest.$ac_objext conftest$ac_exeext
6115if { (ac_try="$ac_link"
6116case "(($ac_try" in
6117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6118 *) ac_try_echo=$ac_try;;
6119esac
6120eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6121 (eval "$ac_link") 2>conftest.er1
6122 ac_status=$?
6123 grep -v '^ *+' conftest.er1 >conftest.err
6124 rm -f conftest.er1
6125 cat conftest.err >&5
6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); } && {
6128 test -z "$ac_cxx_werror_flag" ||
6129 test ! -s conftest.err
6130 } && test -s conftest$ac_exeext &&
6131 $as_test_x conftest$ac_exeext; then
6132 eval "$as_ac_var=yes"
6133else
6134 echo "$as_me: failed program was:" >&5
6135sed 's/^/| /' conftest.$ac_ext >&5
6136
6137 eval "$as_ac_var=no"
6138fi
6139
6140rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6141 conftest$ac_exeext conftest.$ac_ext
6142fi
6143ac_res=`eval echo '${'$as_ac_var'}'`
6144 { echo "$as_me:$LINENO: result: $ac_res" >&5
6145echo "${ECHO_T}$ac_res" >&6; }
6146if test `eval echo '${'$as_ac_var'}'` = yes; then
6147 cat >>confdefs.h <<_ACEOF
6148#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6149_ACEOF
6150
6151fi
6152done
6153
6154 fi
6155
6156fi
6157
6158
5842 6159
5843{ echo "$as_me:$LINENO: checking for ceil in -lm" >&5 6160{ echo "$as_me:$LINENO: checking for ceil in -lm" >&5
5844echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } 6161echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; }
5845if test "${ac_cv_lib_m_ceil+set}" = set; then 6162if test "${ac_cv_lib_m_ceil+set}" = set; then
5846 echo $ECHO_N "(cached) $ECHO_C" >&6 6163 echo $ECHO_N "(cached) $ECHO_C" >&6
5907_ACEOF 6224_ACEOF
5908 6225
5909 LIBS="-lm $LIBS" 6226 LIBS="-lm $LIBS"
5910 6227
5911fi 6228fi
5912
5913
5914 6229
5915 6230
5916 6231
5917 6232
5918 6233
7356 7671
7357 7672
7358 7673
7359 7674
7360 7675
7361
7362for ac_header in \ 7676for ac_header in \
7363 sys/byteorder.h \ 7677 sys/byteorder.h \
7364 sys/ioctl.h \ 7678 sys/ioctl.h \
7365 sys/sockio.h \ 7679 sys/sockio.h \
7366 sys/strredir.h \ 7680 sys/strredir.h \
7367 stdint.h \ 7681 stdint.h \
7368 wchar.h \ 7682 wchar.h \
7369 cwchar \ 7683 cwchar \
7370 clocale \
7371 7684
7372do 7685do
7373as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7686as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7374if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7687if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7375 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7688 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7505 7818
7506fi 7819fi
7507 7820
7508done 7821done
7509 7822
7510
7511{ echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5
7512echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; }
7513if test "${rxvt_cv_header_sysioctl+set}" = set; then
7514 echo $ECHO_N "(cached) $ECHO_C" >&6
7515else
7516 cat >conftest.$ac_ext <<_ACEOF
7517/* confdefs.h. */
7518_ACEOF
7519cat confdefs.h >>conftest.$ac_ext
7520cat >>conftest.$ac_ext <<_ACEOF
7521/* end confdefs.h. */
7522#include <stdio.h>
7523#include <sys/ioctl.h>
7524#include <termios.h>
7525
7526int
7527main ()
7528{
7529int a = ECHO;
7530 ;
7531 return 0;
7532}
7533_ACEOF
7534rm -f conftest.$ac_objext
7535if { (ac_try="$ac_compile"
7536case "(($ac_try" in
7537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7538 *) ac_try_echo=$ac_try;;
7539esac
7540eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7541 (eval "$ac_compile") 2>conftest.er1
7542 ac_status=$?
7543 grep -v '^ *+' conftest.er1 >conftest.err
7544 rm -f conftest.er1
7545 cat conftest.err >&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); } && {
7548 test -z "$ac_cxx_werror_flag" ||
7549 test ! -s conftest.err
7550 } && test -s conftest.$ac_objext; then
7551 rxvt_cv_header_sysioctl=yes
7552else
7553 echo "$as_me: failed program was:" >&5
7554sed 's/^/| /' conftest.$ac_ext >&5
7555
7556 rxvt_cv_header_sysioctl=no
7557fi
7558
7559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7560fi
7561{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7562echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; }
7563 7823
7564{ echo "$as_me:$LINENO: checking for XPointer" >&5 7824{ echo "$as_me:$LINENO: checking for XPointer" >&5
7565echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } 7825echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; }
7566if test "${rxvt_cv_xpointer+set}" = set; then 7826if test "${rxvt_cv_xpointer+set}" = set; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6 7827 echo $ECHO_N "(cached) $ECHO_C" >&6
10317 10577
10318 10578
10319 10579
10320 10580
10321 10581
10582
10322for ac_header in \ 10583for ac_header in \
10323 pty.h \ 10584 pty.h \
10324 util.h \ 10585 util.h \
10325 libutil.h \ 10586 libutil.h \
10326 sys/ioctl.h \ 10587 sys/ioctl.h \
10327 sys/stropts.h \ 10588 sys/stropts.h \
10589 stropts.h \
10328 10590
10329do 10591do
10330as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10592as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10331if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10593if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10332 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10594 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11355_ACEOF 11617_ACEOF
11356 11618
11357fi 11619fi
11358 11620
11359 11621
11622scrolltypes=plain
11623
11624cat >>confdefs.h <<\_ACEOF
11625#define PLAIN_SCROLLBAR 1
11626_ACEOF
11627
11628
11360if test x$support_scroll_rxvt = xyes; then 11629if test x$support_scroll_rxvt = xyes; then
11361 11630
11362cat >>confdefs.h <<\_ACEOF 11631cat >>confdefs.h <<\_ACEOF
11363#define RXVT_SCROLLBAR 1 11632#define RXVT_SCROLLBAR 1
11364_ACEOF 11633_ACEOF
11365 11634
11366 scrolltypes="rxvt" 11635 scrolltypes="$scrolltypes rxvt"
11367fi 11636fi
11368if test x$support_scroll_next = xyes; then 11637if test x$support_scroll_next = xyes; then
11369 11638
11370cat >>confdefs.h <<\_ACEOF 11639cat >>confdefs.h <<\_ACEOF
11371#define NEXT_SCROLLBAR 1 11640#define NEXT_SCROLLBAR 1
11378cat >>confdefs.h <<\_ACEOF 11647cat >>confdefs.h <<\_ACEOF
11379#define XTERM_SCROLLBAR 1 11648#define XTERM_SCROLLBAR 1
11380_ACEOF 11649_ACEOF
11381 11650
11382 scrolltypes="$scrolltypes xterm" 11651 scrolltypes="$scrolltypes xterm"
11383fi
11384if test x$support_scroll_plain = xyes; then
11385
11386cat >>confdefs.h <<\_ACEOF
11387#define PLAIN_SCROLLBAR 1
11388_ACEOF
11389
11390 scrolltypes="$scrolltypes plain"
11391fi 11652fi
11392if test x$support_pointer_blank = xyes; then 11653if test x$support_pointer_blank = xyes; then
11393 11654
11394cat >>confdefs.h <<\_ACEOF 11655cat >>confdefs.h <<\_ACEOF
11395#define POINTER_BLANK 1 11656#define POINTER_BLANK 1
11658_ACEOF 11919_ACEOF
11659program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 11920program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
11660rm -f conftest.sed 11921rm -f conftest.sed
11661 11922
11662 11923
11663
11664
11665
11666if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
11667 include_stdint_h="#include <stdint.h>"
11668else
11669 include_stdint_h="/* #include <stdint.h> */"
11670fi
11671if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
11672 include_sys_ioctl_h="#include <sys/ioctl.h>"
11673else
11674 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
11675fi
11676if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
11677 include_sys_strredir_h="#include <sys/strredir.h>"
11678else
11679 include_sys_strredir_h="/* #include <sys/strredir.h> */"
11680fi
11681
11682ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" 11924ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
11683 11925
11684cat >confcache <<\_ACEOF 11926cat >confcache <<\_ACEOF
11685# This file is a shell script that caches the results of configure 11927# This file is a shell script that caches the results of configure
11686# tests run on this system so they can be shared between configure 11928# tests run on this system so they can be shared between configure
11687# scripts and configure runs, see configure's option --config-cache. 11929# scripts and configure runs, see configure's option --config-cache.
12236 case $ac_config_target in 12478 case $ac_config_target in
12237 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 12479 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
12238 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12480 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12239 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 12481 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12240 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12482 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12241 "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
12242 12483
12243 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 12484 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12244echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12485echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12245 { (exit 1); exit 1; }; };; 12486 { (exit 1); exit 1; }; };;
12246 esac 12487 esac
12381PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 12622PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
12382IF_PERL!$IF_PERL$ac_delim 12623IF_PERL!$IF_PERL$ac_delim
12383PERL_O!$PERL_O$ac_delim 12624PERL_O!$PERL_O$ac_delim
12384AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim 12625AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
12385AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim 12626AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
12386include_stdint_h!$include_stdint_h$ac_delim
12387include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim
12388include_sys_strredir_h!$include_sys_strredir_h$ac_delim
12389LIBOBJS!$LIBOBJS$ac_delim 12627LIBOBJS!$LIBOBJS$ac_delim
12390LTLIBOBJS!$LTLIBOBJS$ac_delim 12628LTLIBOBJS!$LTLIBOBJS$ac_delim
12391_ACEOF 12629_ACEOF
12392 12630
12393 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then 12631 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
12394 break 12632 break
12395 elif $ac_last_try; then 12633 elif $ac_last_try; then
12396 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12634 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12397echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12635echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12398 { (exit 1); exit 1; }; } 12636 { (exit 1); exit 1; }; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines