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

Comparing rxvt-unicode/configure (file contents):
Revision 1.119 by root, Sun Nov 18 02:19:20 2007 UTC vs.
Revision 1.125 by root, Sun Jan 6 21:34:57 2008 UTC

658host_cpu 658host_cpu
659host_vendor 659host_vendor
660host_os 660host_os
661VERSION 661VERSION
662DATE 662DATE
663LSMDATE
664LIBVERSION
665CC 663CC
666CFLAGS 664CFLAGS
667LDFLAGS 665LDFLAGS
668CPPFLAGS 666CPPFLAGS
669ac_ct_CC 667ac_ct_CC
677INSTALL_SCRIPT 675INSTALL_SCRIPT
678INSTALL_DATA 676INSTALL_DATA
679GREP 677GREP
680EGREP 678EGREP
681LINKER 679LINKER
682INSTALL_LIBRXVT
683RXVTNAME 680RXVTNAME
684CXXCPP 681CXXCPP
685TIC 682TIC
686XMKMF 683XMKMF
687X_CFLAGS 684X_CFLAGS
688X_PRE_LIBS 685X_PRE_LIBS
689X_LIBS 686X_LIBS
690X_EXTRA_LIBS 687X_EXTRA_LIBS
691afterimage_config 688afterimage_config
692rxvt_int16_typedef
693rxvt_uint16_typedef
694rxvt_int32_typedef
695rxvt_uint32_typedef
696rxvt_intp_define
697rxvt_u_intp_define
698PKG_CONFIG 689PKG_CONFIG
699XFT_CONFIG 690XFT_CONFIG
700PERL 691PERL
701PERLLIB 692PERLLIB
702PERLFLAGS 693PERLFLAGS
703PERLPRIVLIBEXP 694PERLPRIVLIBEXP
704IF_PERL 695IF_PERL
705PERL_O 696PERL_O
706AFTERIMAGE_CFLAGS 697AFTERIMAGE_CFLAGS
707AFTERIMAGE_LIBS 698AFTERIMAGE_LIBS
708include_stdint_h
709include_stdarg_h
710include_stdlib_h
711include_unistd_h
712include_string_h
713include_fcntl_h
714include_util_h
715include_assert_h
716include_sys_ioctl_h
717include_sys_select_h
718include_sys_strredir_h
719include_sys_time_h
720include_time_h
721LIBOBJS 699LIBOBJS
722LTLIBOBJS' 700LTLIBOBJS'
723ac_subst_files='' 701ac_subst_files=''
724 ac_precious_vars='build_alias 702 ac_precious_vars='build_alias
725host_alias 703host_alias
1315 1293
1316Optional Features: 1294Optional Features:
1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1295 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1296 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1319 --enable-everything enable standard non-multichoice features 1297 --enable-everything enable standard non-multichoice features
1320 NOTE: this option is order dependent 1298 NOTE: this option is order dependent
1321 NOTE: automatically enabled with --enable-shared
1322 --enable-warnings turn on g++ warnings 1299 --enable-warnings turn on g++ warnings
1323 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1300 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1324 --enable-combining enable composition of base and combining characters 1301 --enable-combining enable composition of base and combining characters
1325 --enable-xft enable xft support on systems that have it 1302 --enable-xft enable xft support on systems that have it
1326 --enable-font-styles enable bold and italic support 1303 --enable-font-styles enable bold and italic support
1327 --enable-afterimage enable integration with libAfterImage for background images 1304 --enable-afterimage enable integration with libAfterImage for background images
1328 --enable-transparency enable transparent backgrounds 1305 --enable-transparency enable transparent backgrounds
1329 --enable-fading enable colors fading when off focus 1306 --enable-fading enable colors fading when off focus
1330 --enable-rxvt-scroll enable rxvt style scrollbar 1307 --enable-rxvt-scroll enable rxvt style scrollbar
1331 --enable-next-scroll enable NeXT style scrollbar 1308 --enable-next-scroll enable NeXT style scrollbar
1332 --enable-xterm-scroll enable Xterm style scrollbar 1309 --enable-xterm-scroll enable Xterm style scrollbar
1310 --enable-plain-scroll enable plain style scrollbar
1333 --enable-perl enable embedded perl interpreter 1311 --enable-perl enable embedded perl interpreter
1334 --enable-plain-scroll enable plain style scrollbar
1335 --enable-xim XIM (X Input Method) protocol support 1312 --enable-xim XIM (X Input Method) protocol support
1336 --disable-backspace-key disable handling of the backspace key 1313 --disable-backspace-key disable handling of the backspace key
1337 --disable-delete-key disable handling of the delete key 1314 --disable-delete-key disable handling of the delete key
1338 --disable-resources disable all resource checking 1315 --disable-resources disable all resource checking
1339 --enable-8bitctrls enable 8 bit control sequences (not recommended) 1316 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1927echo "configuring for rxvt $VERSION" 1904echo "configuring for rxvt $VERSION"
1928echo "" 1905echo ""
1929 1906
1930orig_CXXFLAGS="$CXXFLAGS" 1907orig_CXXFLAGS="$CXXFLAGS"
1931 1908
1932
1933ac_ext=c 1909ac_ext=c
1934ac_cpp='$CPP $CPPFLAGS' 1910ac_cpp='$CPP $CPPFLAGS'
1935ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1911ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1936ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1912ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1937ac_compiler_gnu=$ac_cv_c_compiler_gnu 1913ac_compiler_gnu=$ac_cv_c_compiler_gnu
3715echo "${ECHO_T}no" >&6; } 3691echo "${ECHO_T}no" >&6; }
3716fi 3692fi
3717rm -f conftest* 3693rm -f conftest*
3718 3694
3719 3695
3696
3697cat >>confdefs.h <<\_ACEOF
3698#define _GNU_SOURCE 1
3699_ACEOF
3700
3701
3720{ echo "$as_me:$LINENO: checking for library containing strerror" >&5 3702{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3721echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } 3703echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3722if test "${ac_cv_search_strerror+set}" = set; then 3704if test "${ac_cv_search_strerror+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6 3705 echo $ECHO_N "(cached) $ECHO_C" >&6
3724else 3706else
3871LINKER=$LINKER 3853LINKER=$LINKER
3872 3854
3873 3855
3874if test -z "$orig_CXXFLAGS"; then 3856if test -z "$orig_CXXFLAGS"; then
3875 if test x$GCC = xyes && test "x$GXX" = xyes; then 3857 if test x$GCC = xyes && test "x$GXX" = xyes; then
3876 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3858 CXXFLAGS="-g -O3 -fno-rtti -fvisibility-inlines-hidden -fno-threadsafe-statics -fno-enforce-eh-specs"
3877 cat >conftest.$ac_ext <<_ACEOF 3859 cat >conftest.$ac_ext <<_ACEOF
3878/* confdefs.h. */ 3860/* confdefs.h. */
3879_ACEOF 3861_ACEOF
3880cat confdefs.h >>conftest.$ac_ext 3862cat confdefs.h >>conftest.$ac_ext
3881cat >>conftest.$ac_ext <<_ACEOF 3863cat >>conftest.$ac_ext <<_ACEOF
3919 CXXFLAGS="-O" 3901 CXXFLAGS="-O"
3920 fi 3902 fi
3921 CFLAGS="$CXXFLAGS" 3903 CFLAGS="$CXXFLAGS"
3922fi 3904fi
3923 3905
3924
3925cat >>confdefs.h <<\_ACEOF
3926#define _GNU_SOURCE 1
3927_ACEOF
3928
3929
3930case $host in 3906case $host in
3931 *-*-solaris* ) 3907 *-*-solaris* )
3932 3908
3933cat >>confdefs.h <<\_ACEOF 3909cat >>confdefs.h <<\_ACEOF
3934#define _XOPEN_SOURCE 500 3910#define _XOPEN_SOURCE 500
3935_ACEOF 3911_ACEOF
3936 3912
3937 ;; 3913 ;;
3938esac 3914esac
3939
3940 3915
3941{ echo "$as_me:$LINENO: checking for setlocale" >&5 3916{ echo "$as_me:$LINENO: checking for setlocale" >&5
3942echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } 3917echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; }
3943if test "${ac_cv_func_setlocale+set}" = set; then 3918if test "${ac_cv_func_setlocale+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6 3919 echo $ECHO_N "(cached) $ECHO_C" >&6
4389if test $ac_cv_lib_socket_socket = yes; then 4364if test $ac_cv_lib_socket_socket = yes; then
4390 LIBS="$LIBS -lsocket" 4365 LIBS="$LIBS -lsocket"
4391fi 4366fi
4392 4367
4393fi 4368fi
4394
4395 4369
4396 4370
4397support_frills=yes 4371support_frills=yes
4398support_inheritpixmap=yes 4372support_inheritpixmap=yes
4399support_fading=yes 4373support_fading=yes
4416support_8bitctrls=no 4390support_8bitctrls=no
4417support_iso14755=yes 4391support_iso14755=yes
4418support_styles=yes 4392support_styles=yes
4419support_perl=yes 4393support_perl=yes
4420codesets=all 4394codesets=all
4421
4422
4423if test "x$enable_shared" = xyes; then
4424
4425cat >>confdefs.h <<\_ACEOF
4426#define LIBRXVT 1
4427_ACEOF
4428
4429 INSTALL_LIBRXVT=yes
4430fi
4431 4395
4432 4396
4433# Check whether --enable-everything was given. 4397# Check whether --enable-everything was given.
4434if test "${enable_everything+set}" = set; then 4398if test "${enable_everything+set}" = set; then
4435 enableval=$enable_everything; 4399 enableval=$enable_everything;
4641 support_scroll_xterm=$enableval 4605 support_scroll_xterm=$enableval
4642 fi 4606 fi
4643fi 4607fi
4644 4608
4645 4609
4610# Check whether --enable-plain-scroll was given.
4611if test "${enable_plain_scroll+set}" = set; then
4612 enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then
4613 support_scroll_plain=$enableval
4614 fi
4615fi
4616
4617
4646# Check whether --enable-perl was given. 4618# Check whether --enable-perl was given.
4647if test "${enable_perl+set}" = set; then 4619if test "${enable_perl+set}" = set; then
4648 enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then 4620 enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then
4649 support_perl=$enableval 4621 support_perl=$enableval
4650 fi
4651fi
4652
4653
4654# Check whether --enable-plain-scroll was given.
4655if test "${enable_plain_scroll+set}" = set; then
4656 enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then
4657 support_scroll_plain=$enableval
4658 fi 4622 fi
4659fi 4623fi
4660 4624
4661 4625
4662 4626
5370 5334
5371 5335
5372 5336
5373 5337
5374 5338
5339
5375for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h 5340for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h
5376do 5341do
5377as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5342as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5378if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5343if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5379 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5344 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5380echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5345echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5515 5480
5516 5481
5517 5482
5518 5483
5519 5484
5485
5520for ac_func in epoll_ctl kqueue port_create poll select 5486for ac_func in inotify_init epoll_ctl kqueue port_create poll select
5521do 5487do
5522as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5488as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5523{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5489{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5524echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5490echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5525if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5491if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5766 5732
5767 LIBS="-lrt $LIBS" 5733 LIBS="-lrt $LIBS"
5768 5734
5769fi 5735fi
5770 5736
5737 unset ac_cv_func_clock_gettime
5771 5738
5772for ac_func in clock_gettime 5739for ac_func in clock_gettime
5740do
5741as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5742{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5743echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5744if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5745 echo $ECHO_N "(cached) $ECHO_C" >&6
5746else
5747 cat >conftest.$ac_ext <<_ACEOF
5748/* confdefs.h. */
5749_ACEOF
5750cat confdefs.h >>conftest.$ac_ext
5751cat >>conftest.$ac_ext <<_ACEOF
5752/* end confdefs.h. */
5753/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5755#define $ac_func innocuous_$ac_func
5756
5757/* System header to define __stub macros and hopefully few prototypes,
5758 which can conflict with char $ac_func (); below.
5759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5760 <limits.h> exists even on freestanding compilers. */
5761
5762#ifdef __STDC__
5763# include <limits.h>
5764#else
5765# include <assert.h>
5766#endif
5767
5768#undef $ac_func
5769
5770/* Override any GCC internal prototype to avoid an error.
5771 Use char because int might match the return type of a GCC
5772 builtin and then its argument prototype would still apply. */
5773#ifdef __cplusplus
5774extern "C"
5775#endif
5776char $ac_func ();
5777/* The GNU C library defines this for functions which it implements
5778 to always fail with ENOSYS. Some functions are actually named
5779 something starting with __ and the normal name is an alias. */
5780#if defined __stub_$ac_func || defined __stub___$ac_func
5781choke me
5782#endif
5783
5784int
5785main ()
5786{
5787return $ac_func ();
5788 ;
5789 return 0;
5790}
5791_ACEOF
5792rm -f conftest.$ac_objext conftest$ac_exeext
5793if { (ac_try="$ac_link"
5794case "(($ac_try" in
5795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5796 *) ac_try_echo=$ac_try;;
5797esac
5798eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5799 (eval "$ac_link") 2>conftest.er1
5800 ac_status=$?
5801 grep -v '^ *+' conftest.er1 >conftest.err
5802 rm -f conftest.er1
5803 cat conftest.err >&5
5804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805 (exit $ac_status); } && {
5806 test -z "$ac_cxx_werror_flag" ||
5807 test ! -s conftest.err
5808 } && test -s conftest$ac_exeext &&
5809 $as_test_x conftest$ac_exeext; then
5810 eval "$as_ac_var=yes"
5811else
5812 echo "$as_me: failed program was:" >&5
5813sed 's/^/| /' conftest.$ac_ext >&5
5814
5815 eval "$as_ac_var=no"
5816fi
5817
5818rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5819 conftest$ac_exeext conftest.$ac_ext
5820fi
5821ac_res=`eval echo '${'$as_ac_var'}'`
5822 { echo "$as_me:$LINENO: result: $ac_res" >&5
5823echo "${ECHO_T}$ac_res" >&6; }
5824if test `eval echo '${'$as_ac_var'}'` = yes; then
5825 cat >>confdefs.h <<_ACEOF
5826#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5827_ACEOF
5828
5829fi
5830done
5831
5832 fi
5833
5834fi
5835
5836
5837{ echo "$as_me:$LINENO: checking for nanosleep" >&5
5838echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; }
5839if test "${ac_cv_func_nanosleep+set}" = set; then
5840 echo $ECHO_N "(cached) $ECHO_C" >&6
5841else
5842 cat >conftest.$ac_ext <<_ACEOF
5843/* confdefs.h. */
5844_ACEOF
5845cat confdefs.h >>conftest.$ac_ext
5846cat >>conftest.$ac_ext <<_ACEOF
5847/* end confdefs.h. */
5848/* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep.
5849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5850#define nanosleep innocuous_nanosleep
5851
5852/* System header to define __stub macros and hopefully few prototypes,
5853 which can conflict with char nanosleep (); below.
5854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5855 <limits.h> exists even on freestanding compilers. */
5856
5857#ifdef __STDC__
5858# include <limits.h>
5859#else
5860# include <assert.h>
5861#endif
5862
5863#undef nanosleep
5864
5865/* Override any GCC internal prototype to avoid an error.
5866 Use char because int might match the return type of a GCC
5867 builtin and then its argument prototype would still apply. */
5868#ifdef __cplusplus
5869extern "C"
5870#endif
5871char nanosleep ();
5872/* The GNU C library defines this for functions which it implements
5873 to always fail with ENOSYS. Some functions are actually named
5874 something starting with __ and the normal name is an alias. */
5875#if defined __stub_nanosleep || defined __stub___nanosleep
5876choke me
5877#endif
5878
5879int
5880main ()
5881{
5882return nanosleep ();
5883 ;
5884 return 0;
5885}
5886_ACEOF
5887rm -f conftest.$ac_objext conftest$ac_exeext
5888if { (ac_try="$ac_link"
5889case "(($ac_try" in
5890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5891 *) ac_try_echo=$ac_try;;
5892esac
5893eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5894 (eval "$ac_link") 2>conftest.er1
5895 ac_status=$?
5896 grep -v '^ *+' conftest.er1 >conftest.err
5897 rm -f conftest.er1
5898 cat conftest.err >&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); } && {
5901 test -z "$ac_cxx_werror_flag" ||
5902 test ! -s conftest.err
5903 } && test -s conftest$ac_exeext &&
5904 $as_test_x conftest$ac_exeext; then
5905 ac_cv_func_nanosleep=yes
5906else
5907 echo "$as_me: failed program was:" >&5
5908sed 's/^/| /' conftest.$ac_ext >&5
5909
5910 ac_cv_func_nanosleep=no
5911fi
5912
5913rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5914 conftest$ac_exeext conftest.$ac_ext
5915fi
5916{ echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5
5917echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; }
5918if test $ac_cv_func_nanosleep = yes; then
5919 :
5920else
5921
5922 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
5923
5924{ echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
5925echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; }
5926if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
5927 echo $ECHO_N "(cached) $ECHO_C" >&6
5928else
5929 ac_check_lib_save_LIBS=$LIBS
5930LIBS="-lrt $LIBS"
5931cat >conftest.$ac_ext <<_ACEOF
5932/* confdefs.h. */
5933_ACEOF
5934cat confdefs.h >>conftest.$ac_ext
5935cat >>conftest.$ac_ext <<_ACEOF
5936/* end confdefs.h. */
5937
5938/* Override any GCC internal prototype to avoid an error.
5939 Use char because int might match the return type of a GCC
5940 builtin and then its argument prototype would still apply. */
5941#ifdef __cplusplus
5942extern "C"
5943#endif
5944char nanosleep ();
5945int
5946main ()
5947{
5948return nanosleep ();
5949 ;
5950 return 0;
5951}
5952_ACEOF
5953rm -f conftest.$ac_objext conftest$ac_exeext
5954if { (ac_try="$ac_link"
5955case "(($ac_try" in
5956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5957 *) ac_try_echo=$ac_try;;
5958esac
5959eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5960 (eval "$ac_link") 2>conftest.er1
5961 ac_status=$?
5962 grep -v '^ *+' conftest.er1 >conftest.err
5963 rm -f conftest.er1
5964 cat conftest.err >&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); } && {
5967 test -z "$ac_cxx_werror_flag" ||
5968 test ! -s conftest.err
5969 } && test -s conftest$ac_exeext &&
5970 $as_test_x conftest$ac_exeext; then
5971 ac_cv_lib_rt_nanosleep=yes
5972else
5973 echo "$as_me: failed program was:" >&5
5974sed 's/^/| /' conftest.$ac_ext >&5
5975
5976 ac_cv_lib_rt_nanosleep=no
5977fi
5978
5979rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5980 conftest$ac_exeext conftest.$ac_ext
5981LIBS=$ac_check_lib_save_LIBS
5982fi
5983{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
5984echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; }
5985if test $ac_cv_lib_rt_nanosleep = yes; then
5986 cat >>confdefs.h <<_ACEOF
5987#define HAVE_LIBRT 1
5988_ACEOF
5989
5990 LIBS="-lrt $LIBS"
5991
5992fi
5993
5994 unset ac_cv_func_nanosleep
5995
5996for ac_func in nanosleep
5773do 5997do
5774as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5998as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5775{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5999{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5776echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6000echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5777if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6001if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5981echo "${ECHO_T}$TIC" >&6; } 6205echo "${ECHO_T}$TIC" >&6; }
5982else 6206else
5983 { echo "$as_me:$LINENO: result: no" >&5 6207 { echo "$as_me:$LINENO: result: no" >&5
5984echo "${ECHO_T}no" >&6; } 6208echo "${ECHO_T}no" >&6; }
5985fi 6209fi
5986
5987
5988 6210
5989 6211
5990 6212
5991{ echo "$as_me:$LINENO: checking for X" >&5 6213{ echo "$as_me:$LINENO: checking for X" >&5
5992echo $ECHO_N "checking for X... $ECHO_C" >&6; } 6214echo $ECHO_N "checking for X... $ECHO_C" >&6; }
7379echo "${ECHO_T}no" >&6; } 7601echo "${ECHO_T}no" >&6; }
7380 fi 7602 fi
7381 fi 7603 fi
7382fi 7604fi
7383 7605
7384{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7385echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
7386if test "${ac_cv_header_sys_wait_h+set}" = set; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7388else
7389 cat >conftest.$ac_ext <<_ACEOF
7390/* confdefs.h. */
7391_ACEOF
7392cat confdefs.h >>conftest.$ac_ext
7393cat >>conftest.$ac_ext <<_ACEOF
7394/* end confdefs.h. */
7395#include <sys/types.h>
7396#include <sys/wait.h>
7397#ifndef WEXITSTATUS
7398# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
7399#endif
7400#ifndef WIFEXITED
7401# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7402#endif
7403
7404int
7405main ()
7406{
7407 int s;
7408 wait (&s);
7409 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7410 ;
7411 return 0;
7412}
7413_ACEOF
7414rm -f conftest.$ac_objext
7415if { (ac_try="$ac_compile"
7416case "(($ac_try" in
7417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7418 *) ac_try_echo=$ac_try;;
7419esac
7420eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7421 (eval "$ac_compile") 2>conftest.er1
7422 ac_status=$?
7423 grep -v '^ *+' conftest.er1 >conftest.err
7424 rm -f conftest.er1
7425 cat conftest.err >&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } && {
7428 test -z "$ac_cxx_werror_flag" ||
7429 test ! -s conftest.err
7430 } && test -s conftest.$ac_objext; then
7431 ac_cv_header_sys_wait_h=yes
7432else
7433 echo "$as_me: failed program was:" >&5
7434sed 's/^/| /' conftest.$ac_ext >&5
7435
7436 ac_cv_header_sys_wait_h=no
7437fi
7438
7439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7440fi
7441{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
7442echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
7443if test $ac_cv_header_sys_wait_h = yes; then
7444
7445cat >>confdefs.h <<\_ACEOF
7446#define HAVE_SYS_WAIT_H 1
7447_ACEOF
7448
7449fi
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461 7606
7462 7607
7463 7608
7464 7609
7465 7610
7466 7611
7467 7612
7468for ac_header in \ 7613for ac_header in \
7469 assert.h \
7470 fcntl.h \
7471 stdarg.h \
7472 stdlib.h \
7473 string.h \
7474 termios.h \
7475 unistd.h \
7476 sys/byteorder.h \ 7614 sys/byteorder.h \
7477 sys/ioctl.h \ 7615 sys/ioctl.h \
7478 sys/select.h \
7479 sys/sockio.h \ 7616 sys/sockio.h \
7480 sys/strredir.h \ 7617 sys/strredir.h \
7481 sys/time.h \
7482 stdint.h \ 7618 stdint.h \
7483 wchar.h \ 7619 wchar.h \
7484 cwchar \ 7620 cwchar \
7485 clocale \
7486 7621
7487do 7622do
7488as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7623as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7489if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7624if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7490 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7621fi 7756fi
7622 7757
7623done 7758done
7624 7759
7625 7760
7626{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7627echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
7628if test "${ac_cv_header_time+set}" = set; then
7629 echo $ECHO_N "(cached) $ECHO_C" >&6
7630else
7631 cat >conftest.$ac_ext <<_ACEOF
7632/* confdefs.h. */
7633_ACEOF
7634cat confdefs.h >>conftest.$ac_ext
7635cat >>conftest.$ac_ext <<_ACEOF
7636/* end confdefs.h. */
7637#include <sys/types.h>
7638#include <sys/time.h>
7639#include <time.h>
7640
7641int
7642main ()
7643{
7644if ((struct tm *) 0)
7645return 0;
7646 ;
7647 return 0;
7648}
7649_ACEOF
7650rm -f conftest.$ac_objext
7651if { (ac_try="$ac_compile"
7652case "(($ac_try" in
7653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7654 *) ac_try_echo=$ac_try;;
7655esac
7656eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7657 (eval "$ac_compile") 2>conftest.er1
7658 ac_status=$?
7659 grep -v '^ *+' conftest.er1 >conftest.err
7660 rm -f conftest.er1
7661 cat conftest.err >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } && {
7664 test -z "$ac_cxx_werror_flag" ||
7665 test ! -s conftest.err
7666 } && test -s conftest.$ac_objext; then
7667 ac_cv_header_time=yes
7668else
7669 echo "$as_me: failed program was:" >&5
7670sed 's/^/| /' conftest.$ac_ext >&5
7671
7672 ac_cv_header_time=no
7673fi
7674
7675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7676fi
7677{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7678echo "${ECHO_T}$ac_cv_header_time" >&6; }
7679if test $ac_cv_header_time = yes; then
7680
7681cat >>confdefs.h <<\_ACEOF
7682#define TIME_WITH_SYS_TIME 1
7683_ACEOF
7684
7685fi
7686
7687
7688{ echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5
7689echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; }
7690if test "${rxvt_cv_header_sysioctl+set}" = set; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7692else
7693 cat >conftest.$ac_ext <<_ACEOF
7694/* confdefs.h. */
7695_ACEOF
7696cat confdefs.h >>conftest.$ac_ext
7697cat >>conftest.$ac_ext <<_ACEOF
7698/* end confdefs.h. */
7699#include <stdio.h>
7700#include <sys/ioctl.h>
7701#ifdef HAVE_TERMIOS_H
7702#include <termios.h>
7703#endif
7704int
7705main ()
7706{
7707int a = ECHO;
7708 ;
7709 return 0;
7710}
7711_ACEOF
7712rm -f conftest.$ac_objext
7713if { (ac_try="$ac_compile"
7714case "(($ac_try" in
7715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7716 *) ac_try_echo=$ac_try;;
7717esac
7718eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7719 (eval "$ac_compile") 2>conftest.er1
7720 ac_status=$?
7721 grep -v '^ *+' conftest.er1 >conftest.err
7722 rm -f conftest.er1
7723 cat conftest.err >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); } && {
7726 test -z "$ac_cxx_werror_flag" ||
7727 test ! -s conftest.err
7728 } && test -s conftest.$ac_objext; then
7729 rxvt_cv_header_sysioctl=yes
7730else
7731 echo "$as_me: failed program was:" >&5
7732sed 's/^/| /' conftest.$ac_ext >&5
7733
7734 rxvt_cv_header_sysioctl=no
7735fi
7736
7737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7738fi
7739{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7740echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; }
7741
7742{ echo "$as_me:$LINENO: checking for XPointer" >&5 7761{ echo "$as_me:$LINENO: checking for XPointer" >&5
7743echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } 7762echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; }
7744if test "${rxvt_cv_xpointer+set}" = set; then 7763if test "${rxvt_cv_xpointer+set}" = set; then
7745 echo $ECHO_N "(cached) $ECHO_C" >&6 7764 echo $ECHO_N "(cached) $ECHO_C" >&6
7746else 7765else
7857cat >>confdefs.h <<\_ACEOF 7876cat >>confdefs.h <<\_ACEOF
7858#define XLIB_ILLEGAL_ACCESS 1 7877#define XLIB_ILLEGAL_ACCESS 1
7859_ACEOF 7878_ACEOF
7860 7879
7861fi 7880fi
7862
7863{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7864echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
7865if test "${ac_cv_c_const+set}" = set; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7867else
7868 cat >conftest.$ac_ext <<_ACEOF
7869/* confdefs.h. */
7870_ACEOF
7871cat confdefs.h >>conftest.$ac_ext
7872cat >>conftest.$ac_ext <<_ACEOF
7873/* end confdefs.h. */
7874
7875int
7876main ()
7877{
7878/* FIXME: Include the comments suggested by Paul. */
7879#ifndef __cplusplus
7880 /* Ultrix mips cc rejects this. */
7881 typedef int charset[2];
7882 const charset cs;
7883 /* SunOS 4.1.1 cc rejects this. */
7884 char const *const *pcpcc;
7885 char **ppc;
7886 /* NEC SVR4.0.2 mips cc rejects this. */
7887 struct point {int x, y;};
7888 static struct point const zero = {0,0};
7889 /* AIX XL C 1.02.0.0 rejects this.
7890 It does not let you subtract one const X* pointer from another in
7891 an arm of an if-expression whose if-part is not a constant
7892 expression */
7893 const char *g = "string";
7894 pcpcc = &g + (g ? g-g : 0);
7895 /* HPUX 7.0 cc rejects these. */
7896 ++pcpcc;
7897 ppc = (char**) pcpcc;
7898 pcpcc = (char const *const *) ppc;
7899 { /* SCO 3.2v4 cc rejects this. */
7900 char *t;
7901 char const *s = 0 ? (char *) 0 : (char const *) 0;
7902
7903 *t++ = 0;
7904 if (s) return 0;
7905 }
7906 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7907 int x[] = {25, 17};
7908 const int *foo = &x[0];
7909 ++foo;
7910 }
7911 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7912 typedef const int *iptr;
7913 iptr p = 0;
7914 ++p;
7915 }
7916 { /* AIX XL C 1.02.0.0 rejects this saying
7917 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7918 struct s { int j; const int *ap[3]; };
7919 struct s *b; b->j = 5;
7920 }
7921 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7922 const int foo = 10;
7923 if (!foo) return 0;
7924 }
7925 return !cs[0] && !zero.x;
7926#endif
7927
7928 ;
7929 return 0;
7930}
7931_ACEOF
7932rm -f conftest.$ac_objext
7933if { (ac_try="$ac_compile"
7934case "(($ac_try" in
7935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7936 *) ac_try_echo=$ac_try;;
7937esac
7938eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7939 (eval "$ac_compile") 2>conftest.er1
7940 ac_status=$?
7941 grep -v '^ *+' conftest.er1 >conftest.err
7942 rm -f conftest.er1
7943 cat conftest.err >&5
7944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7945 (exit $ac_status); } && {
7946 test -z "$ac_cxx_werror_flag" ||
7947 test ! -s conftest.err
7948 } && test -s conftest.$ac_objext; then
7949 ac_cv_c_const=yes
7950else
7951 echo "$as_me: failed program was:" >&5
7952sed 's/^/| /' conftest.$ac_ext >&5
7953
7954 ac_cv_c_const=no
7955fi
7956
7957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7958fi
7959{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7960echo "${ECHO_T}$ac_cv_c_const" >&6; }
7961if test $ac_cv_c_const = no; then
7962
7963cat >>confdefs.h <<\_ACEOF
7964#define const
7965_ACEOF
7966
7967fi
7968
7969{ echo "$as_me:$LINENO: checking for inline" >&5
7970echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
7971if test "${ac_cv_c_inline+set}" = set; then
7972 echo $ECHO_N "(cached) $ECHO_C" >&6
7973else
7974 ac_cv_c_inline=no
7975for ac_kw in inline __inline__ __inline; do
7976 cat >conftest.$ac_ext <<_ACEOF
7977/* confdefs.h. */
7978_ACEOF
7979cat confdefs.h >>conftest.$ac_ext
7980cat >>conftest.$ac_ext <<_ACEOF
7981/* end confdefs.h. */
7982#ifndef __cplusplus
7983typedef int foo_t;
7984static $ac_kw foo_t static_foo () {return 0; }
7985$ac_kw foo_t foo () {return 0; }
7986#endif
7987
7988_ACEOF
7989rm -f conftest.$ac_objext
7990if { (ac_try="$ac_compile"
7991case "(($ac_try" in
7992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7993 *) ac_try_echo=$ac_try;;
7994esac
7995eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7996 (eval "$ac_compile") 2>conftest.er1
7997 ac_status=$?
7998 grep -v '^ *+' conftest.er1 >conftest.err
7999 rm -f conftest.er1
8000 cat conftest.err >&5
8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 (exit $ac_status); } && {
8003 test -z "$ac_cxx_werror_flag" ||
8004 test ! -s conftest.err
8005 } && test -s conftest.$ac_objext; then
8006 ac_cv_c_inline=$ac_kw
8007else
8008 echo "$as_me: failed program was:" >&5
8009sed 's/^/| /' conftest.$ac_ext >&5
8010
8011
8012fi
8013
8014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8015 test "$ac_cv_c_inline" != no && break
8016done
8017
8018fi
8019{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8020echo "${ECHO_T}$ac_cv_c_inline" >&6; }
8021
8022
8023case $ac_cv_c_inline in
8024 inline | yes) ;;
8025 *)
8026 case $ac_cv_c_inline in
8027 no) ac_val=;;
8028 *) ac_val=$ac_cv_c_inline;;
8029 esac
8030 cat >>confdefs.h <<_ACEOF
8031#ifndef __cplusplus
8032#define inline $ac_val
8033#endif
8034_ACEOF
8035 ;;
8036esac
8037
8038
8039 7881
8040{ echo "$as_me:$LINENO: checking for mode_t" >&5 7882{ echo "$as_me:$LINENO: checking for mode_t" >&5
8041echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } 7883echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
8042if test "${ac_cv_type_mode_t+set}" = set; then 7884if test "${ac_cv_type_mode_t+set}" = set; then
8043 echo $ECHO_N "(cached) $ECHO_C" >&6 7885 echo $ECHO_N "(cached) $ECHO_C" >&6
8200_ACEOF 8042_ACEOF
8201 8043
8202fi 8044fi
8203 8045
8204 8046
8205{ echo "$as_me:$LINENO: checking for short" >&5 8047 { echo "$as_me:$LINENO: checking for int16_t" >&5
8206echo $ECHO_N "checking for short... $ECHO_C" >&6; } 8048echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
8207if test "${ac_cv_type_short+set}" = set; then 8049if test "${ac_cv_c_int16_t+set}" = set; then
8208 echo $ECHO_N "(cached) $ECHO_C" >&6 8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8209else 8051else
8052 ac_cv_c_int16_t=no
8053 for ac_type in 'int16_t' 'int' 'long int' \
8054 'long long int' 'short int' 'signed char'; do
8210 cat >conftest.$ac_ext <<_ACEOF 8055 cat >conftest.$ac_ext <<_ACEOF
8211/* confdefs.h. */ 8056/* confdefs.h. */
8212_ACEOF 8057_ACEOF
8213cat confdefs.h >>conftest.$ac_ext 8058cat confdefs.h >>conftest.$ac_ext
8214cat >>conftest.$ac_ext <<_ACEOF 8059cat >>conftest.$ac_ext <<_ACEOF
8215/* end confdefs.h. */ 8060/* end confdefs.h. */
8216$ac_includes_default 8061$ac_includes_default
8217typedef short ac__type_new_;
8218int 8062int
8219main () 8063main ()
8220{ 8064{
8221if ((ac__type_new_ *) 0) 8065static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
8222 return 0; 8066test_array [0] = 0
8223if (sizeof (ac__type_new_)) 8067
8224 return 0;
8225 ; 8068 ;
8226 return 0; 8069 return 0;
8227} 8070}
8228_ACEOF 8071_ACEOF
8229rm -f conftest.$ac_objext 8072rm -f conftest.$ac_objext
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } && { 8085 (exit $ac_status); } && {
8243 test -z "$ac_cxx_werror_flag" || 8086 test -z "$ac_cxx_werror_flag" ||
8244 test ! -s conftest.err 8087 test ! -s conftest.err
8245 } && test -s conftest.$ac_objext; then 8088 } && test -s conftest.$ac_objext; then
8246 ac_cv_type_short=yes
8247else
8248 echo "$as_me: failed program was:" >&5
8249sed 's/^/| /' conftest.$ac_ext >&5
8250
8251 ac_cv_type_short=no
8252fi
8253
8254rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8255fi
8256{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8257echo "${ECHO_T}$ac_cv_type_short" >&6; }
8258
8259# The cast to long int works around a bug in the HP C Compiler
8260# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8261# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8262# This bug is HP SR number 8606223364.
8263{ echo "$as_me:$LINENO: checking size of short" >&5
8264echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
8265if test "${ac_cv_sizeof_short+set}" = set; then
8266 echo $ECHO_N "(cached) $ECHO_C" >&6
8267else
8268 if test "$cross_compiling" = yes; then
8269 # Depending upon the size, compute the lo and hi bounds.
8270cat >conftest.$ac_ext <<_ACEOF 8089 cat >conftest.$ac_ext <<_ACEOF
8271/* confdefs.h. */ 8090/* confdefs.h. */
8272_ACEOF 8091_ACEOF
8273cat confdefs.h >>conftest.$ac_ext 8092cat confdefs.h >>conftest.$ac_ext
8274cat >>conftest.$ac_ext <<_ACEOF 8093cat >>conftest.$ac_ext <<_ACEOF
8275/* end confdefs.h. */ 8094/* end confdefs.h. */
8276$ac_includes_default 8095$ac_includes_default
8277 typedef short ac__type_sizeof_;
8278int 8096int
8279main () 8097main ()
8280{ 8098{
8281static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 8099static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)
8100 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];
8282test_array [0] = 0 8101test_array [0] = 0
8283 8102
8284 ; 8103 ;
8285 return 0; 8104 return 0;
8286} 8105}
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); } && { 8120 (exit $ac_status); } && {
8302 test -z "$ac_cxx_werror_flag" || 8121 test -z "$ac_cxx_werror_flag" ||
8303 test ! -s conftest.err 8122 test ! -s conftest.err
8304 } && test -s conftest.$ac_objext; then 8123 } && test -s conftest.$ac_objext; then
8305 ac_lo=0 ac_mid=0 8124 :
8306 while :; do 8125else
8126 echo "$as_me: failed program was:" >&5
8127sed 's/^/| /' conftest.$ac_ext >&5
8128
8129 case $ac_type in
8130 int16_t) ac_cv_c_int16_t=yes ;;
8131 *) ac_cv_c_int16_t=$ac_type ;;
8132esac
8133
8134fi
8135
8136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8137else
8138 echo "$as_me: failed program was:" >&5
8139sed 's/^/| /' conftest.$ac_ext >&5
8140
8141
8142fi
8143
8144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8145 test "$ac_cv_c_int16_t" != no && break
8146 done
8147fi
8148{ echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5
8149echo "${ECHO_T}$ac_cv_c_int16_t" >&6; }
8150 case $ac_cv_c_int16_t in #(
8151 no|yes) ;; #(
8152 *)
8153
8154cat >>confdefs.h <<_ACEOF
8155#define int16_t $ac_cv_c_int16_t
8156_ACEOF
8157;;
8158 esac
8159
8160
8161 { echo "$as_me:$LINENO: checking for uint16_t" >&5
8162echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
8163if test "${ac_cv_c_uint16_t+set}" = set; then
8164 echo $ECHO_N "(cached) $ECHO_C" >&6
8165else
8166 ac_cv_c_uint16_t=no
8167 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
8168 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
8307 cat >conftest.$ac_ext <<_ACEOF 8169 cat >conftest.$ac_ext <<_ACEOF
8308/* confdefs.h. */ 8170/* confdefs.h. */
8309_ACEOF 8171_ACEOF
8310cat confdefs.h >>conftest.$ac_ext 8172cat confdefs.h >>conftest.$ac_ext
8311cat >>conftest.$ac_ext <<_ACEOF 8173cat >>conftest.$ac_ext <<_ACEOF
8312/* end confdefs.h. */ 8174/* end confdefs.h. */
8313$ac_includes_default 8175$ac_includes_default
8314 typedef short ac__type_sizeof_;
8315int 8176int
8316main () 8177main ()
8317{ 8178{
8318static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 8179static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
8319test_array [0] = 0 8180test_array [0] = 0
8320 8181
8321 ; 8182 ;
8322 return 0; 8183 return 0;
8323} 8184}
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); } && { 8199 (exit $ac_status); } && {
8339 test -z "$ac_cxx_werror_flag" || 8200 test -z "$ac_cxx_werror_flag" ||
8340 test ! -s conftest.err 8201 test ! -s conftest.err
8341 } && test -s conftest.$ac_objext; then 8202 } && test -s conftest.$ac_objext; then
8342 ac_hi=$ac_mid; break 8203 case $ac_type in
8204 uint16_t) ac_cv_c_uint16_t=yes ;;
8205 *) ac_cv_c_uint16_t=$ac_type ;;
8206esac
8207
8343else 8208else
8344 echo "$as_me: failed program was:" >&5 8209 echo "$as_me: failed program was:" >&5
8345sed 's/^/| /' conftest.$ac_ext >&5 8210sed 's/^/| /' conftest.$ac_ext >&5
8346 8211
8347 ac_lo=`expr $ac_mid + 1` 8212
8348 if test $ac_lo -le $ac_mid; then
8349 ac_lo= ac_hi=
8350 break
8351 fi
8352 ac_mid=`expr 2 '*' $ac_mid + 1`
8353fi 8213fi
8354 8214
8355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8216 test "$ac_cv_c_uint16_t" != no && break
8356 done 8217 done
8357else 8218fi
8358 echo "$as_me: failed program was:" >&5 8219{ echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
8359sed 's/^/| /' conftest.$ac_ext >&5 8220echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; }
8221 case $ac_cv_c_uint16_t in #(
8222 no|yes) ;; #(
8223 *)
8360 8224
8225
8226cat >>confdefs.h <<_ACEOF
8227#define uint16_t $ac_cv_c_uint16_t
8228_ACEOF
8229;;
8230 esac
8231
8232
8233 { echo "$as_me:$LINENO: checking for int32_t" >&5
8234echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
8235if test "${ac_cv_c_int32_t+set}" = set; then
8236 echo $ECHO_N "(cached) $ECHO_C" >&6
8237else
8238 ac_cv_c_int32_t=no
8239 for ac_type in 'int32_t' 'int' 'long int' \
8240 'long long int' 'short int' 'signed char'; do
8361 cat >conftest.$ac_ext <<_ACEOF 8241 cat >conftest.$ac_ext <<_ACEOF
8362/* confdefs.h. */ 8242/* confdefs.h. */
8363_ACEOF 8243_ACEOF
8364cat confdefs.h >>conftest.$ac_ext 8244cat confdefs.h >>conftest.$ac_ext
8365cat >>conftest.$ac_ext <<_ACEOF 8245cat >>conftest.$ac_ext <<_ACEOF
8366/* end confdefs.h. */ 8246/* end confdefs.h. */
8367$ac_includes_default 8247$ac_includes_default
8368 typedef short ac__type_sizeof_;
8369int 8248int
8370main () 8249main ()
8371{ 8250{
8372static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 8251static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
8373test_array [0] = 0 8252test_array [0] = 0
8374 8253
8375 ; 8254 ;
8376 return 0; 8255 return 0;
8377} 8256}
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); } && { 8271 (exit $ac_status); } && {
8393 test -z "$ac_cxx_werror_flag" || 8272 test -z "$ac_cxx_werror_flag" ||
8394 test ! -s conftest.err 8273 test ! -s conftest.err
8395 } && test -s conftest.$ac_objext; then 8274 } && test -s conftest.$ac_objext; then
8396 ac_hi=-1 ac_mid=-1
8397 while :; do
8398 cat >conftest.$ac_ext <<_ACEOF 8275 cat >conftest.$ac_ext <<_ACEOF
8399/* confdefs.h. */ 8276/* confdefs.h. */
8400_ACEOF 8277_ACEOF
8401cat confdefs.h >>conftest.$ac_ext 8278cat confdefs.h >>conftest.$ac_ext
8402cat >>conftest.$ac_ext <<_ACEOF 8279cat >>conftest.$ac_ext <<_ACEOF
8403/* end confdefs.h. */ 8280/* end confdefs.h. */
8404$ac_includes_default 8281$ac_includes_default
8405 typedef short ac__type_sizeof_;
8406int 8282int
8407main () 8283main ()
8408{ 8284{
8409static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 8285static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
8286 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
8410test_array [0] = 0 8287test_array [0] = 0
8411 8288
8412 ; 8289 ;
8413 return 0; 8290 return 0;
8414} 8291}
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } && { 8306 (exit $ac_status); } && {
8430 test -z "$ac_cxx_werror_flag" || 8307 test -z "$ac_cxx_werror_flag" ||
8431 test ! -s conftest.err 8308 test ! -s conftest.err
8432 } && test -s conftest.$ac_objext; then 8309 } && test -s conftest.$ac_objext; then
8433 ac_lo=$ac_mid; break 8310 :
8434else 8311else
8435 echo "$as_me: failed program was:" >&5 8312 echo "$as_me: failed program was:" >&5
8436sed 's/^/| /' conftest.$ac_ext >&5 8313sed 's/^/| /' conftest.$ac_ext >&5
8437 8314
8438 ac_hi=`expr '(' $ac_mid ')' - 1` 8315 case $ac_type in
8439 if test $ac_mid -le $ac_hi; then 8316 int32_t) ac_cv_c_int32_t=yes ;;
8440 ac_lo= ac_hi= 8317 *) ac_cv_c_int32_t=$ac_type ;;
8441 break 8318esac
8442 fi 8319
8443 ac_mid=`expr 2 '*' $ac_mid`
8444fi 8320fi
8445 8321
8446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8447 done
8448else 8323else
8449 echo "$as_me: failed program was:" >&5 8324 echo "$as_me: failed program was:" >&5
8450sed 's/^/| /' conftest.$ac_ext >&5 8325sed 's/^/| /' conftest.$ac_ext >&5
8451 8326
8452 ac_lo= ac_hi= 8327
8453fi 8328fi
8454 8329
8455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8331 test "$ac_cv_c_int32_t" != no && break
8332 done
8456fi 8333fi
8334{ echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
8335echo "${ECHO_T}$ac_cv_c_int32_t" >&6; }
8336 case $ac_cv_c_int32_t in #(
8337 no|yes) ;; #(
8338 *)
8457 8339
8458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8340cat >>confdefs.h <<_ACEOF
8459# Binary search between lo and hi bounds. 8341#define int32_t $ac_cv_c_int32_t
8460while test "x$ac_lo" != "x$ac_hi"; do 8342_ACEOF
8461 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 8343;;
8344 esac
8345
8346
8347 { echo "$as_me:$LINENO: checking for uint32_t" >&5
8348echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
8349if test "${ac_cv_c_uint32_t+set}" = set; then
8350 echo $ECHO_N "(cached) $ECHO_C" >&6
8351else
8352 ac_cv_c_uint32_t=no
8353 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
8354 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
8462 cat >conftest.$ac_ext <<_ACEOF 8355 cat >conftest.$ac_ext <<_ACEOF
8463/* confdefs.h. */ 8356/* confdefs.h. */
8464_ACEOF 8357_ACEOF
8465cat confdefs.h >>conftest.$ac_ext 8358cat confdefs.h >>conftest.$ac_ext
8466cat >>conftest.$ac_ext <<_ACEOF 8359cat >>conftest.$ac_ext <<_ACEOF
8467/* end confdefs.h. */ 8360/* end confdefs.h. */
8468$ac_includes_default 8361$ac_includes_default
8469 typedef short ac__type_sizeof_;
8470int 8362int
8471main () 8363main ()
8472{ 8364{
8473static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 8365static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
8474test_array [0] = 0 8366test_array [0] = 0
8475 8367
8476 ; 8368 ;
8477 return 0; 8369 return 0;
8478} 8370}
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } && { 8385 (exit $ac_status); } && {
8494 test -z "$ac_cxx_werror_flag" || 8386 test -z "$ac_cxx_werror_flag" ||
8495 test ! -s conftest.err 8387 test ! -s conftest.err
8496 } && test -s conftest.$ac_objext; then 8388 } && test -s conftest.$ac_objext; then
8497 ac_hi=$ac_mid 8389 case $ac_type in
8390 uint32_t) ac_cv_c_uint32_t=yes ;;
8391 *) ac_cv_c_uint32_t=$ac_type ;;
8392esac
8393
8498else 8394else
8499 echo "$as_me: failed program was:" >&5 8395 echo "$as_me: failed program was:" >&5
8500sed 's/^/| /' conftest.$ac_ext >&5 8396sed 's/^/| /' conftest.$ac_ext >&5
8501 8397
8502 ac_lo=`expr '(' $ac_mid ')' + 1` 8398
8503fi 8399fi
8504 8400
8505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8506done 8402 test "$ac_cv_c_uint32_t" != no && break
8507case $ac_lo in 8403 done
8508?*) ac_cv_sizeof_short=$ac_lo;;
8509'') if test "$ac_cv_type_short" = yes; then
8510 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
8511See \`config.log' for more details." >&5
8512echo "$as_me: error: cannot compute sizeof (short)
8513See \`config.log' for more details." >&2;}
8514 { (exit 77); exit 77; }; }
8515 else
8516 ac_cv_sizeof_short=0
8517 fi ;;
8518esac
8519else
8520 cat >conftest.$ac_ext <<_ACEOF
8521/* confdefs.h. */
8522_ACEOF
8523cat confdefs.h >>conftest.$ac_ext
8524cat >>conftest.$ac_ext <<_ACEOF
8525/* end confdefs.h. */
8526$ac_includes_default
8527 typedef short ac__type_sizeof_;
8528static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8529static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8530#include <stdio.h>
8531#include <stdlib.h>
8532int
8533main ()
8534{
8535
8536 FILE *f = fopen ("conftest.val", "w");
8537 if (! f)
8538 return 1;
8539 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8540 {
8541 long int i = longval ();
8542 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8543 return 1;
8544 fprintf (f, "%ld\n", i);
8545 }
8546 else
8547 {
8548 unsigned long int i = ulongval ();
8549 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8550 return 1;
8551 fprintf (f, "%lu\n", i);
8552 }
8553 return ferror (f) || fclose (f) != 0;
8554
8555 ;
8556 return 0;
8557}
8558_ACEOF
8559rm -f conftest$ac_exeext
8560if { (ac_try="$ac_link"
8561case "(($ac_try" in
8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8564esac
8565eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_link") 2>&5
8567 ac_status=$?
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8570 { (case "(($ac_try" in
8571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8572 *) ac_try_echo=$ac_try;;
8573esac
8574eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8575 (eval "$ac_try") 2>&5
8576 ac_status=$?
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); }; }; then
8579 ac_cv_sizeof_short=`cat conftest.val`
8580else
8581 echo "$as_me: program exited with status $ac_status" >&5
8582echo "$as_me: failed program was:" >&5
8583sed 's/^/| /' conftest.$ac_ext >&5
8584
8585( exit $ac_status )
8586if test "$ac_cv_type_short" = yes; then
8587 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
8588See \`config.log' for more details." >&5
8589echo "$as_me: error: cannot compute sizeof (short)
8590See \`config.log' for more details." >&2;}
8591 { (exit 77); exit 77; }; }
8592 else
8593 ac_cv_sizeof_short=0
8594 fi
8595fi 8404fi
8596rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8597fi
8598rm -f conftest.val
8599fi
8600{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 8405{ echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
8601echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } 8406echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
8407 case $ac_cv_c_uint32_t in #(
8408 no|yes) ;; #(
8409 *)
8602 8410
8411cat >>confdefs.h <<\_ACEOF
8412#define _UINT32_T 1
8413_ACEOF
8603 8414
8604 8415
8605cat >>confdefs.h <<_ACEOF 8416cat >>confdefs.h <<_ACEOF
8606#define SIZEOF_SHORT $ac_cv_sizeof_short 8417#define uint32_t $ac_cv_c_uint32_t
8607_ACEOF 8418_ACEOF
8608 8419;;
8609
8610{ echo "$as_me:$LINENO: checking for int" >&5
8611echo $ECHO_N "checking for int... $ECHO_C" >&6; }
8612if test "${ac_cv_type_int+set}" = set; then
8613 echo $ECHO_N "(cached) $ECHO_C" >&6
8614else
8615 cat >conftest.$ac_ext <<_ACEOF
8616/* confdefs.h. */
8617_ACEOF
8618cat confdefs.h >>conftest.$ac_ext
8619cat >>conftest.$ac_ext <<_ACEOF
8620/* end confdefs.h. */
8621$ac_includes_default
8622typedef int ac__type_new_;
8623int
8624main ()
8625{
8626if ((ac__type_new_ *) 0)
8627 return 0;
8628if (sizeof (ac__type_new_))
8629 return 0;
8630 ;
8631 return 0;
8632}
8633_ACEOF
8634rm -f conftest.$ac_objext
8635if { (ac_try="$ac_compile"
8636case "(($ac_try" in
8637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8638 *) ac_try_echo=$ac_try;;
8639esac 8420 esac
8640eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8641 (eval "$ac_compile") 2>conftest.er1
8642 ac_status=$?
8643 grep -v '^ *+' conftest.er1 >conftest.err
8644 rm -f conftest.er1
8645 cat conftest.err >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } && {
8648 test -z "$ac_cxx_werror_flag" ||
8649 test ! -s conftest.err
8650 } && test -s conftest.$ac_objext; then
8651 ac_cv_type_int=yes
8652else
8653 echo "$as_me: failed program was:" >&5
8654sed 's/^/| /' conftest.$ac_ext >&5
8655
8656 ac_cv_type_int=no
8657fi
8658
8659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8660fi
8661{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8662echo "${ECHO_T}$ac_cv_type_int" >&6; }
8663
8664# The cast to long int works around a bug in the HP C Compiler
8665# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8666# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8667# This bug is HP SR number 8606223364.
8668{ echo "$as_me:$LINENO: checking size of int" >&5
8669echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
8670if test "${ac_cv_sizeof_int+set}" = set; then
8671 echo $ECHO_N "(cached) $ECHO_C" >&6
8672else
8673 if test "$cross_compiling" = yes; then
8674 # Depending upon the size, compute the lo and hi bounds.
8675cat >conftest.$ac_ext <<_ACEOF
8676/* confdefs.h. */
8677_ACEOF
8678cat confdefs.h >>conftest.$ac_ext
8679cat >>conftest.$ac_ext <<_ACEOF
8680/* end confdefs.h. */
8681$ac_includes_default
8682 typedef int ac__type_sizeof_;
8683int
8684main ()
8685{
8686static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8687test_array [0] = 0
8688
8689 ;
8690 return 0;
8691}
8692_ACEOF
8693rm -f conftest.$ac_objext
8694if { (ac_try="$ac_compile"
8695case "(($ac_try" in
8696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8697 *) ac_try_echo=$ac_try;;
8698esac
8699eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8700 (eval "$ac_compile") 2>conftest.er1
8701 ac_status=$?
8702 grep -v '^ *+' conftest.er1 >conftest.err
8703 rm -f conftest.er1
8704 cat conftest.err >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } && {
8707 test -z "$ac_cxx_werror_flag" ||
8708 test ! -s conftest.err
8709 } && test -s conftest.$ac_objext; then
8710 ac_lo=0 ac_mid=0
8711 while :; do
8712 cat >conftest.$ac_ext <<_ACEOF
8713/* confdefs.h. */
8714_ACEOF
8715cat confdefs.h >>conftest.$ac_ext
8716cat >>conftest.$ac_ext <<_ACEOF
8717/* end confdefs.h. */
8718$ac_includes_default
8719 typedef int ac__type_sizeof_;
8720int
8721main ()
8722{
8723static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8724test_array [0] = 0
8725
8726 ;
8727 return 0;
8728}
8729_ACEOF
8730rm -f conftest.$ac_objext
8731if { (ac_try="$ac_compile"
8732case "(($ac_try" in
8733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8734 *) ac_try_echo=$ac_try;;
8735esac
8736eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8737 (eval "$ac_compile") 2>conftest.er1
8738 ac_status=$?
8739 grep -v '^ *+' conftest.er1 >conftest.err
8740 rm -f conftest.er1
8741 cat conftest.err >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); } && {
8744 test -z "$ac_cxx_werror_flag" ||
8745 test ! -s conftest.err
8746 } && test -s conftest.$ac_objext; then
8747 ac_hi=$ac_mid; break
8748else
8749 echo "$as_me: failed program was:" >&5
8750sed 's/^/| /' conftest.$ac_ext >&5
8751
8752 ac_lo=`expr $ac_mid + 1`
8753 if test $ac_lo -le $ac_mid; then
8754 ac_lo= ac_hi=
8755 break
8756 fi
8757 ac_mid=`expr 2 '*' $ac_mid + 1`
8758fi
8759
8760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8761 done
8762else
8763 echo "$as_me: failed program was:" >&5
8764sed 's/^/| /' conftest.$ac_ext >&5
8765
8766 cat >conftest.$ac_ext <<_ACEOF
8767/* confdefs.h. */
8768_ACEOF
8769cat confdefs.h >>conftest.$ac_ext
8770cat >>conftest.$ac_ext <<_ACEOF
8771/* end confdefs.h. */
8772$ac_includes_default
8773 typedef int ac__type_sizeof_;
8774int
8775main ()
8776{
8777static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8778test_array [0] = 0
8779
8780 ;
8781 return 0;
8782}
8783_ACEOF
8784rm -f conftest.$ac_objext
8785if { (ac_try="$ac_compile"
8786case "(($ac_try" in
8787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8788 *) ac_try_echo=$ac_try;;
8789esac
8790eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8791 (eval "$ac_compile") 2>conftest.er1
8792 ac_status=$?
8793 grep -v '^ *+' conftest.er1 >conftest.err
8794 rm -f conftest.er1
8795 cat conftest.err >&5
8796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797 (exit $ac_status); } && {
8798 test -z "$ac_cxx_werror_flag" ||
8799 test ! -s conftest.err
8800 } && test -s conftest.$ac_objext; then
8801 ac_hi=-1 ac_mid=-1
8802 while :; do
8803 cat >conftest.$ac_ext <<_ACEOF
8804/* confdefs.h. */
8805_ACEOF
8806cat confdefs.h >>conftest.$ac_ext
8807cat >>conftest.$ac_ext <<_ACEOF
8808/* end confdefs.h. */
8809$ac_includes_default
8810 typedef int ac__type_sizeof_;
8811int
8812main ()
8813{
8814static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8815test_array [0] = 0
8816
8817 ;
8818 return 0;
8819}
8820_ACEOF
8821rm -f conftest.$ac_objext
8822if { (ac_try="$ac_compile"
8823case "(($ac_try" in
8824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8825 *) ac_try_echo=$ac_try;;
8826esac
8827eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8828 (eval "$ac_compile") 2>conftest.er1
8829 ac_status=$?
8830 grep -v '^ *+' conftest.er1 >conftest.err
8831 rm -f conftest.er1
8832 cat conftest.err >&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); } && {
8835 test -z "$ac_cxx_werror_flag" ||
8836 test ! -s conftest.err
8837 } && test -s conftest.$ac_objext; then
8838 ac_lo=$ac_mid; break
8839else
8840 echo "$as_me: failed program was:" >&5
8841sed 's/^/| /' conftest.$ac_ext >&5
8842
8843 ac_hi=`expr '(' $ac_mid ')' - 1`
8844 if test $ac_mid -le $ac_hi; then
8845 ac_lo= ac_hi=
8846 break
8847 fi
8848 ac_mid=`expr 2 '*' $ac_mid`
8849fi
8850
8851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8852 done
8853else
8854 echo "$as_me: failed program was:" >&5
8855sed 's/^/| /' conftest.$ac_ext >&5
8856
8857 ac_lo= ac_hi=
8858fi
8859
8860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8861fi
8862
8863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8864# Binary search between lo and hi bounds.
8865while test "x$ac_lo" != "x$ac_hi"; do
8866 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8867 cat >conftest.$ac_ext <<_ACEOF
8868/* confdefs.h. */
8869_ACEOF
8870cat confdefs.h >>conftest.$ac_ext
8871cat >>conftest.$ac_ext <<_ACEOF
8872/* end confdefs.h. */
8873$ac_includes_default
8874 typedef int ac__type_sizeof_;
8875int
8876main ()
8877{
8878static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8879test_array [0] = 0
8880
8881 ;
8882 return 0;
8883}
8884_ACEOF
8885rm -f conftest.$ac_objext
8886if { (ac_try="$ac_compile"
8887case "(($ac_try" in
8888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8889 *) ac_try_echo=$ac_try;;
8890esac
8891eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8892 (eval "$ac_compile") 2>conftest.er1
8893 ac_status=$?
8894 grep -v '^ *+' conftest.er1 >conftest.err
8895 rm -f conftest.er1
8896 cat conftest.err >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); } && {
8899 test -z "$ac_cxx_werror_flag" ||
8900 test ! -s conftest.err
8901 } && test -s conftest.$ac_objext; then
8902 ac_hi=$ac_mid
8903else
8904 echo "$as_me: failed program was:" >&5
8905sed 's/^/| /' conftest.$ac_ext >&5
8906
8907 ac_lo=`expr '(' $ac_mid ')' + 1`
8908fi
8909
8910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8911done
8912case $ac_lo in
8913?*) ac_cv_sizeof_int=$ac_lo;;
8914'') if test "$ac_cv_type_int" = yes; then
8915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
8916See \`config.log' for more details." >&5
8917echo "$as_me: error: cannot compute sizeof (int)
8918See \`config.log' for more details." >&2;}
8919 { (exit 77); exit 77; }; }
8920 else
8921 ac_cv_sizeof_int=0
8922 fi ;;
8923esac
8924else
8925 cat >conftest.$ac_ext <<_ACEOF
8926/* confdefs.h. */
8927_ACEOF
8928cat confdefs.h >>conftest.$ac_ext
8929cat >>conftest.$ac_ext <<_ACEOF
8930/* end confdefs.h. */
8931$ac_includes_default
8932 typedef int ac__type_sizeof_;
8933static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8934static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8935#include <stdio.h>
8936#include <stdlib.h>
8937int
8938main ()
8939{
8940
8941 FILE *f = fopen ("conftest.val", "w");
8942 if (! f)
8943 return 1;
8944 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8945 {
8946 long int i = longval ();
8947 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8948 return 1;
8949 fprintf (f, "%ld\n", i);
8950 }
8951 else
8952 {
8953 unsigned long int i = ulongval ();
8954 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8955 return 1;
8956 fprintf (f, "%lu\n", i);
8957 }
8958 return ferror (f) || fclose (f) != 0;
8959
8960 ;
8961 return 0;
8962}
8963_ACEOF
8964rm -f conftest$ac_exeext
8965if { (ac_try="$ac_link"
8966case "(($ac_try" in
8967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8968 *) ac_try_echo=$ac_try;;
8969esac
8970eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8971 (eval "$ac_link") 2>&5
8972 ac_status=$?
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8975 { (case "(($ac_try" in
8976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8977 *) ac_try_echo=$ac_try;;
8978esac
8979eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8980 (eval "$ac_try") 2>&5
8981 ac_status=$?
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); }; }; then
8984 ac_cv_sizeof_int=`cat conftest.val`
8985else
8986 echo "$as_me: program exited with status $ac_status" >&5
8987echo "$as_me: failed program was:" >&5
8988sed 's/^/| /' conftest.$ac_ext >&5
8989
8990( exit $ac_status )
8991if test "$ac_cv_type_int" = yes; then
8992 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
8993See \`config.log' for more details." >&5
8994echo "$as_me: error: cannot compute sizeof (int)
8995See \`config.log' for more details." >&2;}
8996 { (exit 77); exit 77; }; }
8997 else
8998 ac_cv_sizeof_int=0
8999 fi
9000fi
9001rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9002fi
9003rm -f conftest.val
9004fi
9005{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
9006echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
9007
9008
9009
9010cat >>confdefs.h <<_ACEOF
9011#define SIZEOF_INT $ac_cv_sizeof_int
9012_ACEOF
9013
9014
9015{ echo "$as_me:$LINENO: checking for long long" >&5
9016echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
9017if test "${ac_cv_type_long_long+set}" = set; then
9018 echo $ECHO_N "(cached) $ECHO_C" >&6
9019else
9020 cat >conftest.$ac_ext <<_ACEOF
9021/* confdefs.h. */
9022_ACEOF
9023cat confdefs.h >>conftest.$ac_ext
9024cat >>conftest.$ac_ext <<_ACEOF
9025/* end confdefs.h. */
9026$ac_includes_default
9027typedef long long ac__type_new_;
9028int
9029main ()
9030{
9031if ((ac__type_new_ *) 0)
9032 return 0;
9033if (sizeof (ac__type_new_))
9034 return 0;
9035 ;
9036 return 0;
9037}
9038_ACEOF
9039rm -f conftest.$ac_objext
9040if { (ac_try="$ac_compile"
9041case "(($ac_try" in
9042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9043 *) ac_try_echo=$ac_try;;
9044esac
9045eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9046 (eval "$ac_compile") 2>conftest.er1
9047 ac_status=$?
9048 grep -v '^ *+' conftest.er1 >conftest.err
9049 rm -f conftest.er1
9050 cat conftest.err >&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); } && {
9053 test -z "$ac_cxx_werror_flag" ||
9054 test ! -s conftest.err
9055 } && test -s conftest.$ac_objext; then
9056 ac_cv_type_long_long=yes
9057else
9058 echo "$as_me: failed program was:" >&5
9059sed 's/^/| /' conftest.$ac_ext >&5
9060
9061 ac_cv_type_long_long=no
9062fi
9063
9064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9065fi
9066{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
9067echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
9068
9069# The cast to long int works around a bug in the HP C Compiler
9070# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9071# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9072# This bug is HP SR number 8606223364.
9073{ echo "$as_me:$LINENO: checking size of long long" >&5
9074echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
9075if test "${ac_cv_sizeof_long_long+set}" = set; then
9076 echo $ECHO_N "(cached) $ECHO_C" >&6
9077else
9078 if test "$cross_compiling" = yes; then
9079 # Depending upon the size, compute the lo and hi bounds.
9080cat >conftest.$ac_ext <<_ACEOF
9081/* confdefs.h. */
9082_ACEOF
9083cat confdefs.h >>conftest.$ac_ext
9084cat >>conftest.$ac_ext <<_ACEOF
9085/* end confdefs.h. */
9086$ac_includes_default
9087 typedef long long ac__type_sizeof_;
9088int
9089main ()
9090{
9091static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9092test_array [0] = 0
9093
9094 ;
9095 return 0;
9096}
9097_ACEOF
9098rm -f conftest.$ac_objext
9099if { (ac_try="$ac_compile"
9100case "(($ac_try" in
9101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9102 *) ac_try_echo=$ac_try;;
9103esac
9104eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9105 (eval "$ac_compile") 2>conftest.er1
9106 ac_status=$?
9107 grep -v '^ *+' conftest.er1 >conftest.err
9108 rm -f conftest.er1
9109 cat conftest.err >&5
9110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111 (exit $ac_status); } && {
9112 test -z "$ac_cxx_werror_flag" ||
9113 test ! -s conftest.err
9114 } && test -s conftest.$ac_objext; then
9115 ac_lo=0 ac_mid=0
9116 while :; do
9117 cat >conftest.$ac_ext <<_ACEOF
9118/* confdefs.h. */
9119_ACEOF
9120cat confdefs.h >>conftest.$ac_ext
9121cat >>conftest.$ac_ext <<_ACEOF
9122/* end confdefs.h. */
9123$ac_includes_default
9124 typedef long long ac__type_sizeof_;
9125int
9126main ()
9127{
9128static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9129test_array [0] = 0
9130
9131 ;
9132 return 0;
9133}
9134_ACEOF
9135rm -f conftest.$ac_objext
9136if { (ac_try="$ac_compile"
9137case "(($ac_try" in
9138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9139 *) ac_try_echo=$ac_try;;
9140esac
9141eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9142 (eval "$ac_compile") 2>conftest.er1
9143 ac_status=$?
9144 grep -v '^ *+' conftest.er1 >conftest.err
9145 rm -f conftest.er1
9146 cat conftest.err >&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); } && {
9149 test -z "$ac_cxx_werror_flag" ||
9150 test ! -s conftest.err
9151 } && test -s conftest.$ac_objext; then
9152 ac_hi=$ac_mid; break
9153else
9154 echo "$as_me: failed program was:" >&5
9155sed 's/^/| /' conftest.$ac_ext >&5
9156
9157 ac_lo=`expr $ac_mid + 1`
9158 if test $ac_lo -le $ac_mid; then
9159 ac_lo= ac_hi=
9160 break
9161 fi
9162 ac_mid=`expr 2 '*' $ac_mid + 1`
9163fi
9164
9165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9166 done
9167else
9168 echo "$as_me: failed program was:" >&5
9169sed 's/^/| /' conftest.$ac_ext >&5
9170
9171 cat >conftest.$ac_ext <<_ACEOF
9172/* confdefs.h. */
9173_ACEOF
9174cat confdefs.h >>conftest.$ac_ext
9175cat >>conftest.$ac_ext <<_ACEOF
9176/* end confdefs.h. */
9177$ac_includes_default
9178 typedef long long ac__type_sizeof_;
9179int
9180main ()
9181{
9182static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9183test_array [0] = 0
9184
9185 ;
9186 return 0;
9187}
9188_ACEOF
9189rm -f conftest.$ac_objext
9190if { (ac_try="$ac_compile"
9191case "(($ac_try" in
9192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9193 *) ac_try_echo=$ac_try;;
9194esac
9195eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9196 (eval "$ac_compile") 2>conftest.er1
9197 ac_status=$?
9198 grep -v '^ *+' conftest.er1 >conftest.err
9199 rm -f conftest.er1
9200 cat conftest.err >&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } && {
9203 test -z "$ac_cxx_werror_flag" ||
9204 test ! -s conftest.err
9205 } && test -s conftest.$ac_objext; then
9206 ac_hi=-1 ac_mid=-1
9207 while :; do
9208 cat >conftest.$ac_ext <<_ACEOF
9209/* confdefs.h. */
9210_ACEOF
9211cat confdefs.h >>conftest.$ac_ext
9212cat >>conftest.$ac_ext <<_ACEOF
9213/* end confdefs.h. */
9214$ac_includes_default
9215 typedef long long ac__type_sizeof_;
9216int
9217main ()
9218{
9219static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9220test_array [0] = 0
9221
9222 ;
9223 return 0;
9224}
9225_ACEOF
9226rm -f conftest.$ac_objext
9227if { (ac_try="$ac_compile"
9228case "(($ac_try" in
9229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9230 *) ac_try_echo=$ac_try;;
9231esac
9232eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9233 (eval "$ac_compile") 2>conftest.er1
9234 ac_status=$?
9235 grep -v '^ *+' conftest.er1 >conftest.err
9236 rm -f conftest.er1
9237 cat conftest.err >&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); } && {
9240 test -z "$ac_cxx_werror_flag" ||
9241 test ! -s conftest.err
9242 } && test -s conftest.$ac_objext; then
9243 ac_lo=$ac_mid; break
9244else
9245 echo "$as_me: failed program was:" >&5
9246sed 's/^/| /' conftest.$ac_ext >&5
9247
9248 ac_hi=`expr '(' $ac_mid ')' - 1`
9249 if test $ac_mid -le $ac_hi; then
9250 ac_lo= ac_hi=
9251 break
9252 fi
9253 ac_mid=`expr 2 '*' $ac_mid`
9254fi
9255
9256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9257 done
9258else
9259 echo "$as_me: failed program was:" >&5
9260sed 's/^/| /' conftest.$ac_ext >&5
9261
9262 ac_lo= ac_hi=
9263fi
9264
9265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9266fi
9267
9268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9269# Binary search between lo and hi bounds.
9270while test "x$ac_lo" != "x$ac_hi"; do
9271 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9272 cat >conftest.$ac_ext <<_ACEOF
9273/* confdefs.h. */
9274_ACEOF
9275cat confdefs.h >>conftest.$ac_ext
9276cat >>conftest.$ac_ext <<_ACEOF
9277/* end confdefs.h. */
9278$ac_includes_default
9279 typedef long long ac__type_sizeof_;
9280int
9281main ()
9282{
9283static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9284test_array [0] = 0
9285
9286 ;
9287 return 0;
9288}
9289_ACEOF
9290rm -f conftest.$ac_objext
9291if { (ac_try="$ac_compile"
9292case "(($ac_try" in
9293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9294 *) ac_try_echo=$ac_try;;
9295esac
9296eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9297 (eval "$ac_compile") 2>conftest.er1
9298 ac_status=$?
9299 grep -v '^ *+' conftest.er1 >conftest.err
9300 rm -f conftest.er1
9301 cat conftest.err >&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); } && {
9304 test -z "$ac_cxx_werror_flag" ||
9305 test ! -s conftest.err
9306 } && test -s conftest.$ac_objext; then
9307 ac_hi=$ac_mid
9308else
9309 echo "$as_me: failed program was:" >&5
9310sed 's/^/| /' conftest.$ac_ext >&5
9311
9312 ac_lo=`expr '(' $ac_mid ')' + 1`
9313fi
9314
9315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9316done
9317case $ac_lo in
9318?*) ac_cv_sizeof_long_long=$ac_lo;;
9319'') if test "$ac_cv_type_long_long" = yes; then
9320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9321See \`config.log' for more details." >&5
9322echo "$as_me: error: cannot compute sizeof (long long)
9323See \`config.log' for more details." >&2;}
9324 { (exit 77); exit 77; }; }
9325 else
9326 ac_cv_sizeof_long_long=0
9327 fi ;;
9328esac
9329else
9330 cat >conftest.$ac_ext <<_ACEOF
9331/* confdefs.h. */
9332_ACEOF
9333cat confdefs.h >>conftest.$ac_ext
9334cat >>conftest.$ac_ext <<_ACEOF
9335/* end confdefs.h. */
9336$ac_includes_default
9337 typedef long long ac__type_sizeof_;
9338static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9339static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9340#include <stdio.h>
9341#include <stdlib.h>
9342int
9343main ()
9344{
9345
9346 FILE *f = fopen ("conftest.val", "w");
9347 if (! f)
9348 return 1;
9349 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9350 {
9351 long int i = longval ();
9352 if (i != ((long int) (sizeof (ac__type_sizeof_))))
9353 return 1;
9354 fprintf (f, "%ld\n", i);
9355 }
9356 else
9357 {
9358 unsigned long int i = ulongval ();
9359 if (i != ((long int) (sizeof (ac__type_sizeof_))))
9360 return 1;
9361 fprintf (f, "%lu\n", i);
9362 }
9363 return ferror (f) || fclose (f) != 0;
9364
9365 ;
9366 return 0;
9367}
9368_ACEOF
9369rm -f conftest$ac_exeext
9370if { (ac_try="$ac_link"
9371case "(($ac_try" in
9372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9373 *) ac_try_echo=$ac_try;;
9374esac
9375eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9376 (eval "$ac_link") 2>&5
9377 ac_status=$?
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9380 { (case "(($ac_try" in
9381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9382 *) ac_try_echo=$ac_try;;
9383esac
9384eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9385 (eval "$ac_try") 2>&5
9386 ac_status=$?
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); }; }; then
9389 ac_cv_sizeof_long_long=`cat conftest.val`
9390else
9391 echo "$as_me: program exited with status $ac_status" >&5
9392echo "$as_me: failed program was:" >&5
9393sed 's/^/| /' conftest.$ac_ext >&5
9394
9395( exit $ac_status )
9396if test "$ac_cv_type_long_long" = yes; then
9397 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9398See \`config.log' for more details." >&5
9399echo "$as_me: error: cannot compute sizeof (long long)
9400See \`config.log' for more details." >&2;}
9401 { (exit 77); exit 77; }; }
9402 else
9403 ac_cv_sizeof_long_long=0
9404 fi
9405fi
9406rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9407fi
9408rm -f conftest.val
9409fi
9410{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
9411echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
9412
9413
9414
9415cat >>confdefs.h <<_ACEOF
9416#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9417_ACEOF
9418
9419
9420{ echo "$as_me:$LINENO: checking for int *" >&5
9421echo $ECHO_N "checking for int *... $ECHO_C" >&6; }
9422if test "${ac_cv_type_int_p+set}" = set; then
9423 echo $ECHO_N "(cached) $ECHO_C" >&6
9424else
9425 cat >conftest.$ac_ext <<_ACEOF
9426/* confdefs.h. */
9427_ACEOF
9428cat confdefs.h >>conftest.$ac_ext
9429cat >>conftest.$ac_ext <<_ACEOF
9430/* end confdefs.h. */
9431$ac_includes_default
9432typedef int * ac__type_new_;
9433int
9434main ()
9435{
9436if ((ac__type_new_ *) 0)
9437 return 0;
9438if (sizeof (ac__type_new_))
9439 return 0;
9440 ;
9441 return 0;
9442}
9443_ACEOF
9444rm -f conftest.$ac_objext
9445if { (ac_try="$ac_compile"
9446case "(($ac_try" in
9447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9448 *) ac_try_echo=$ac_try;;
9449esac
9450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9451 (eval "$ac_compile") 2>conftest.er1
9452 ac_status=$?
9453 grep -v '^ *+' conftest.er1 >conftest.err
9454 rm -f conftest.er1
9455 cat conftest.err >&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); } && {
9458 test -z "$ac_cxx_werror_flag" ||
9459 test ! -s conftest.err
9460 } && test -s conftest.$ac_objext; then
9461 ac_cv_type_int_p=yes
9462else
9463 echo "$as_me: failed program was:" >&5
9464sed 's/^/| /' conftest.$ac_ext >&5
9465
9466 ac_cv_type_int_p=no
9467fi
9468
9469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9470fi
9471{ echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5
9472echo "${ECHO_T}$ac_cv_type_int_p" >&6; }
9473
9474# The cast to long int works around a bug in the HP C Compiler
9475# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9476# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9477# This bug is HP SR number 8606223364.
9478{ echo "$as_me:$LINENO: checking size of int *" >&5
9479echo $ECHO_N "checking size of int *... $ECHO_C" >&6; }
9480if test "${ac_cv_sizeof_int_p+set}" = set; then
9481 echo $ECHO_N "(cached) $ECHO_C" >&6
9482else
9483 if test "$cross_compiling" = yes; then
9484 # Depending upon the size, compute the lo and hi bounds.
9485cat >conftest.$ac_ext <<_ACEOF
9486/* confdefs.h. */
9487_ACEOF
9488cat confdefs.h >>conftest.$ac_ext
9489cat >>conftest.$ac_ext <<_ACEOF
9490/* end confdefs.h. */
9491$ac_includes_default
9492 typedef int * ac__type_sizeof_;
9493int
9494main ()
9495{
9496static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9497test_array [0] = 0
9498
9499 ;
9500 return 0;
9501}
9502_ACEOF
9503rm -f conftest.$ac_objext
9504if { (ac_try="$ac_compile"
9505case "(($ac_try" in
9506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9507 *) ac_try_echo=$ac_try;;
9508esac
9509eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9510 (eval "$ac_compile") 2>conftest.er1
9511 ac_status=$?
9512 grep -v '^ *+' conftest.er1 >conftest.err
9513 rm -f conftest.er1
9514 cat conftest.err >&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); } && {
9517 test -z "$ac_cxx_werror_flag" ||
9518 test ! -s conftest.err
9519 } && test -s conftest.$ac_objext; then
9520 ac_lo=0 ac_mid=0
9521 while :; do
9522 cat >conftest.$ac_ext <<_ACEOF
9523/* confdefs.h. */
9524_ACEOF
9525cat confdefs.h >>conftest.$ac_ext
9526cat >>conftest.$ac_ext <<_ACEOF
9527/* end confdefs.h. */
9528$ac_includes_default
9529 typedef int * ac__type_sizeof_;
9530int
9531main ()
9532{
9533static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9534test_array [0] = 0
9535
9536 ;
9537 return 0;
9538}
9539_ACEOF
9540rm -f conftest.$ac_objext
9541if { (ac_try="$ac_compile"
9542case "(($ac_try" in
9543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9544 *) ac_try_echo=$ac_try;;
9545esac
9546eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9547 (eval "$ac_compile") 2>conftest.er1
9548 ac_status=$?
9549 grep -v '^ *+' conftest.er1 >conftest.err
9550 rm -f conftest.er1
9551 cat conftest.err >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); } && {
9554 test -z "$ac_cxx_werror_flag" ||
9555 test ! -s conftest.err
9556 } && test -s conftest.$ac_objext; then
9557 ac_hi=$ac_mid; break
9558else
9559 echo "$as_me: failed program was:" >&5
9560sed 's/^/| /' conftest.$ac_ext >&5
9561
9562 ac_lo=`expr $ac_mid + 1`
9563 if test $ac_lo -le $ac_mid; then
9564 ac_lo= ac_hi=
9565 break
9566 fi
9567 ac_mid=`expr 2 '*' $ac_mid + 1`
9568fi
9569
9570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9571 done
9572else
9573 echo "$as_me: failed program was:" >&5
9574sed 's/^/| /' conftest.$ac_ext >&5
9575
9576 cat >conftest.$ac_ext <<_ACEOF
9577/* confdefs.h. */
9578_ACEOF
9579cat confdefs.h >>conftest.$ac_ext
9580cat >>conftest.$ac_ext <<_ACEOF
9581/* end confdefs.h. */
9582$ac_includes_default
9583 typedef int * ac__type_sizeof_;
9584int
9585main ()
9586{
9587static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9588test_array [0] = 0
9589
9590 ;
9591 return 0;
9592}
9593_ACEOF
9594rm -f conftest.$ac_objext
9595if { (ac_try="$ac_compile"
9596case "(($ac_try" in
9597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9598 *) ac_try_echo=$ac_try;;
9599esac
9600eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9601 (eval "$ac_compile") 2>conftest.er1
9602 ac_status=$?
9603 grep -v '^ *+' conftest.er1 >conftest.err
9604 rm -f conftest.er1
9605 cat conftest.err >&5
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 (exit $ac_status); } && {
9608 test -z "$ac_cxx_werror_flag" ||
9609 test ! -s conftest.err
9610 } && test -s conftest.$ac_objext; then
9611 ac_hi=-1 ac_mid=-1
9612 while :; do
9613 cat >conftest.$ac_ext <<_ACEOF
9614/* confdefs.h. */
9615_ACEOF
9616cat confdefs.h >>conftest.$ac_ext
9617cat >>conftest.$ac_ext <<_ACEOF
9618/* end confdefs.h. */
9619$ac_includes_default
9620 typedef int * ac__type_sizeof_;
9621int
9622main ()
9623{
9624static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9625test_array [0] = 0
9626
9627 ;
9628 return 0;
9629}
9630_ACEOF
9631rm -f conftest.$ac_objext
9632if { (ac_try="$ac_compile"
9633case "(($ac_try" in
9634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9635 *) ac_try_echo=$ac_try;;
9636esac
9637eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9638 (eval "$ac_compile") 2>conftest.er1
9639 ac_status=$?
9640 grep -v '^ *+' conftest.er1 >conftest.err
9641 rm -f conftest.er1
9642 cat conftest.err >&5
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); } && {
9645 test -z "$ac_cxx_werror_flag" ||
9646 test ! -s conftest.err
9647 } && test -s conftest.$ac_objext; then
9648 ac_lo=$ac_mid; break
9649else
9650 echo "$as_me: failed program was:" >&5
9651sed 's/^/| /' conftest.$ac_ext >&5
9652
9653 ac_hi=`expr '(' $ac_mid ')' - 1`
9654 if test $ac_mid -le $ac_hi; then
9655 ac_lo= ac_hi=
9656 break
9657 fi
9658 ac_mid=`expr 2 '*' $ac_mid`
9659fi
9660
9661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9662 done
9663else
9664 echo "$as_me: failed program was:" >&5
9665sed 's/^/| /' conftest.$ac_ext >&5
9666
9667 ac_lo= ac_hi=
9668fi
9669
9670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9671fi
9672
9673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9674# Binary search between lo and hi bounds.
9675while test "x$ac_lo" != "x$ac_hi"; do
9676 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9677 cat >conftest.$ac_ext <<_ACEOF
9678/* confdefs.h. */
9679_ACEOF
9680cat confdefs.h >>conftest.$ac_ext
9681cat >>conftest.$ac_ext <<_ACEOF
9682/* end confdefs.h. */
9683$ac_includes_default
9684 typedef int * ac__type_sizeof_;
9685int
9686main ()
9687{
9688static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9689test_array [0] = 0
9690
9691 ;
9692 return 0;
9693}
9694_ACEOF
9695rm -f conftest.$ac_objext
9696if { (ac_try="$ac_compile"
9697case "(($ac_try" in
9698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9699 *) ac_try_echo=$ac_try;;
9700esac
9701eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9702 (eval "$ac_compile") 2>conftest.er1
9703 ac_status=$?
9704 grep -v '^ *+' conftest.er1 >conftest.err
9705 rm -f conftest.er1
9706 cat conftest.err >&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); } && {
9709 test -z "$ac_cxx_werror_flag" ||
9710 test ! -s conftest.err
9711 } && test -s conftest.$ac_objext; then
9712 ac_hi=$ac_mid
9713else
9714 echo "$as_me: failed program was:" >&5
9715sed 's/^/| /' conftest.$ac_ext >&5
9716
9717 ac_lo=`expr '(' $ac_mid ')' + 1`
9718fi
9719
9720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9721done
9722case $ac_lo in
9723?*) ac_cv_sizeof_int_p=$ac_lo;;
9724'') if test "$ac_cv_type_int_p" = yes; then
9725 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *)
9726See \`config.log' for more details." >&5
9727echo "$as_me: error: cannot compute sizeof (int *)
9728See \`config.log' for more details." >&2;}
9729 { (exit 77); exit 77; }; }
9730 else
9731 ac_cv_sizeof_int_p=0
9732 fi ;;
9733esac
9734else
9735 cat >conftest.$ac_ext <<_ACEOF
9736/* confdefs.h. */
9737_ACEOF
9738cat confdefs.h >>conftest.$ac_ext
9739cat >>conftest.$ac_ext <<_ACEOF
9740/* end confdefs.h. */
9741$ac_includes_default
9742 typedef int * ac__type_sizeof_;
9743static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9744static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9745#include <stdio.h>
9746#include <stdlib.h>
9747int
9748main ()
9749{
9750
9751 FILE *f = fopen ("conftest.val", "w");
9752 if (! f)
9753 return 1;
9754 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9755 {
9756 long int i = longval ();
9757 if (i != ((long int) (sizeof (ac__type_sizeof_))))
9758 return 1;
9759 fprintf (f, "%ld\n", i);
9760 }
9761 else
9762 {
9763 unsigned long int i = ulongval ();
9764 if (i != ((long int) (sizeof (ac__type_sizeof_))))
9765 return 1;
9766 fprintf (f, "%lu\n", i);
9767 }
9768 return ferror (f) || fclose (f) != 0;
9769
9770 ;
9771 return 0;
9772}
9773_ACEOF
9774rm -f conftest$ac_exeext
9775if { (ac_try="$ac_link"
9776case "(($ac_try" in
9777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9778 *) ac_try_echo=$ac_try;;
9779esac
9780eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9781 (eval "$ac_link") 2>&5
9782 ac_status=$?
9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9785 { (case "(($ac_try" in
9786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9787 *) ac_try_echo=$ac_try;;
9788esac
9789eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9790 (eval "$ac_try") 2>&5
9791 ac_status=$?
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); }; }; then
9794 ac_cv_sizeof_int_p=`cat conftest.val`
9795else
9796 echo "$as_me: program exited with status $ac_status" >&5
9797echo "$as_me: failed program was:" >&5
9798sed 's/^/| /' conftest.$ac_ext >&5
9799
9800( exit $ac_status )
9801if test "$ac_cv_type_int_p" = yes; then
9802 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *)
9803See \`config.log' for more details." >&5
9804echo "$as_me: error: cannot compute sizeof (int *)
9805See \`config.log' for more details." >&2;}
9806 { (exit 77); exit 77; }; }
9807 else
9808 ac_cv_sizeof_int_p=0
9809 fi
9810fi
9811rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9812fi
9813rm -f conftest.val
9814fi
9815{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5
9816echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6; }
9817
9818
9819
9820cat >>confdefs.h <<_ACEOF
9821#define SIZEOF_INT_P $ac_cv_sizeof_int_p
9822_ACEOF
9823
9824
9825
9826
9827{ echo "$as_me:$LINENO: checking for int16_t" >&5
9828echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
9829if test "${rxvt_cv_int16_t+set}" = set; then
9830 echo $ECHO_N "(cached) $ECHO_C" >&6
9831else
9832 cat >conftest.$ac_ext <<_ACEOF
9833/* confdefs.h. */
9834_ACEOF
9835cat confdefs.h >>conftest.$ac_ext
9836cat >>conftest.$ac_ext <<_ACEOF
9837/* end confdefs.h. */
9838#include <stdint.h>
9839int
9840main ()
9841{
9842int16_t dummy;
9843 ;
9844 return 0;
9845}
9846_ACEOF
9847rm -f conftest.$ac_objext
9848if { (ac_try="$ac_compile"
9849case "(($ac_try" in
9850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9851 *) ac_try_echo=$ac_try;;
9852esac
9853eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9854 (eval "$ac_compile") 2>conftest.er1
9855 ac_status=$?
9856 grep -v '^ *+' conftest.er1 >conftest.err
9857 rm -f conftest.er1
9858 cat conftest.err >&5
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); } && {
9861 test -z "$ac_cxx_werror_flag" ||
9862 test ! -s conftest.err
9863 } && test -s conftest.$ac_objext; then
9864 rxvt_cv_int16_t=yes
9865else
9866 echo "$as_me: failed program was:" >&5
9867sed 's/^/| /' conftest.$ac_ext >&5
9868
9869 if test "$ac_cv_sizeof_char" -ge 2; then
9870 rxvt_cv_int16_t=" char"
9871else
9872 if test "$ac_cv_sizeof_short" -ge 2; then
9873 rxvt_cv_int16_t=" short"
9874 else
9875 if test "$ac_cv_sizeof_int" -ge 2; then
9876 rxvt_cv_int16_t=" int"
9877 else
9878 if test "$ac_cv_sizeof_long" -ge 2; then
9879 rxvt_cv_int16_t=" long"
9880 else
9881 if test "$ac_cv_sizeof_long_long" -ge 2; then
9882 rxvt_cv_int16_t=" long long"
9883 else
9884 rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default
9885 fi
9886 fi
9887 fi
9888 fi
9889fi
9890fi
9891
9892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9893fi
9894{ echo "$as_me:$LINENO: result: $rxvt_cv_int16_t" >&5
9895echo "${ECHO_T}$rxvt_cv_int16_t" >&6; }
9896if test x"$rxvt_cv_int16_t" != xyes; then
9897 rxvt_int16_typedef="typedef $rxvt_cv_int16_t int16_t;"
9898else
9899 if test x"" = x; then
9900 rxvt_int16_typedef="/* typedef short int16_t; */"
9901 else
9902 rxvt_int16_typedef="/* typedef short int16_t; */"
9903 fi
9904fi
9905
9906{ echo "$as_me:$LINENO: checking for uint16_t" >&5
9907echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
9908if test "${rxvt_cv_uint16_t+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9910else
9911 cat >conftest.$ac_ext <<_ACEOF
9912/* confdefs.h. */
9913_ACEOF
9914cat confdefs.h >>conftest.$ac_ext
9915cat >>conftest.$ac_ext <<_ACEOF
9916/* end confdefs.h. */
9917#include <stdint.h>
9918int
9919main ()
9920{
9921uint16_t dummy;
9922 ;
9923 return 0;
9924}
9925_ACEOF
9926rm -f conftest.$ac_objext
9927if { (ac_try="$ac_compile"
9928case "(($ac_try" in
9929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9930 *) ac_try_echo=$ac_try;;
9931esac
9932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9933 (eval "$ac_compile") 2>conftest.er1
9934 ac_status=$?
9935 grep -v '^ *+' conftest.er1 >conftest.err
9936 rm -f conftest.er1
9937 cat conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } && {
9940 test -z "$ac_cxx_werror_flag" ||
9941 test ! -s conftest.err
9942 } && test -s conftest.$ac_objext; then
9943 rxvt_cv_uint16_t=yes
9944else
9945 echo "$as_me: failed program was:" >&5
9946sed 's/^/| /' conftest.$ac_ext >&5
9947
9948 if test "$ac_cv_sizeof_char" -ge 2; then
9949 rxvt_cv_uint16_t="unsigned char"
9950else
9951 if test "$ac_cv_sizeof_short" -ge 2; then
9952 rxvt_cv_uint16_t="unsigned short"
9953 else
9954 if test "$ac_cv_sizeof_int" -ge 2; then
9955 rxvt_cv_uint16_t="unsigned int"
9956 else
9957 if test "$ac_cv_sizeof_long" -ge 2; then
9958 rxvt_cv_uint16_t="unsigned long"
9959 else
9960 if test "$ac_cv_sizeof_long_long" -ge 2; then
9961 rxvt_cv_uint16_t="unsigned long long"
9962 else
9963 rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default
9964 fi
9965 fi
9966 fi
9967 fi
9968fi
9969fi
9970
9971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9972fi
9973{ echo "$as_me:$LINENO: result: $rxvt_cv_uint16_t" >&5
9974echo "${ECHO_T}$rxvt_cv_uint16_t" >&6; }
9975if test x"$rxvt_cv_uint16_t" != xyes; then
9976 rxvt_uint16_typedef="typedef $rxvt_cv_uint16_t uint16_t;"
9977else
9978 if test x"unsigned" = x; then
9979 rxvt_uint16_typedef="/* typedef short uint16_t; */"
9980 else
9981 rxvt_uint16_typedef="/* typedef unsigned short uint16_t; */"
9982 fi
9983fi
9984
9985{ echo "$as_me:$LINENO: checking for int32_t" >&5
9986echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
9987if test "${rxvt_cv_int32_t+set}" = set; then
9988 echo $ECHO_N "(cached) $ECHO_C" >&6
9989else
9990 cat >conftest.$ac_ext <<_ACEOF
9991/* confdefs.h. */
9992_ACEOF
9993cat confdefs.h >>conftest.$ac_ext
9994cat >>conftest.$ac_ext <<_ACEOF
9995/* end confdefs.h. */
9996#include <stdint.h>
9997int
9998main ()
9999{
10000int32_t dummy;
10001 ;
10002 return 0;
10003}
10004_ACEOF
10005rm -f conftest.$ac_objext
10006if { (ac_try="$ac_compile"
10007case "(($ac_try" in
10008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10009 *) ac_try_echo=$ac_try;;
10010esac
10011eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10012 (eval "$ac_compile") 2>conftest.er1
10013 ac_status=$?
10014 grep -v '^ *+' conftest.er1 >conftest.err
10015 rm -f conftest.er1
10016 cat conftest.err >&5
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); } && {
10019 test -z "$ac_cxx_werror_flag" ||
10020 test ! -s conftest.err
10021 } && test -s conftest.$ac_objext; then
10022 rxvt_cv_int32_t=yes
10023else
10024 echo "$as_me: failed program was:" >&5
10025sed 's/^/| /' conftest.$ac_ext >&5
10026
10027 if test "$ac_cv_sizeof_char" -ge 4; then
10028 rxvt_cv_int32_t=" char"
10029else
10030 if test "$ac_cv_sizeof_short" -ge 4; then
10031 rxvt_cv_int32_t=" short"
10032 else
10033 if test "$ac_cv_sizeof_int" -ge 4; then
10034 rxvt_cv_int32_t=" int"
10035 else
10036 if test "$ac_cv_sizeof_long" -ge 4; then
10037 rxvt_cv_int32_t=" long"
10038 else
10039 if test "$ac_cv_sizeof_long_long" -ge 4; then
10040 rxvt_cv_int32_t=" long long"
10041 else
10042 rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default
10043 fi
10044 fi
10045 fi
10046 fi
10047fi
10048fi
10049
10050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10051fi
10052{ echo "$as_me:$LINENO: result: $rxvt_cv_int32_t" >&5
10053echo "${ECHO_T}$rxvt_cv_int32_t" >&6; }
10054if test x"$rxvt_cv_int32_t" != xyes; then
10055 rxvt_int32_typedef="typedef $rxvt_cv_int32_t int32_t;"
10056else
10057 if test x"" = x; then
10058 rxvt_int32_typedef="/* typedef int int32_t; */"
10059 else
10060 rxvt_int32_typedef="/* typedef int int32_t; */"
10061 fi
10062fi
10063
10064{ echo "$as_me:$LINENO: checking for uint32_t" >&5
10065echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
10066if test "${rxvt_cv_uint32_t+set}" = set; then
10067 echo $ECHO_N "(cached) $ECHO_C" >&6
10068else
10069 cat >conftest.$ac_ext <<_ACEOF
10070/* confdefs.h. */
10071_ACEOF
10072cat confdefs.h >>conftest.$ac_ext
10073cat >>conftest.$ac_ext <<_ACEOF
10074/* end confdefs.h. */
10075#include <stdint.h>
10076int
10077main ()
10078{
10079uint32_t dummy;
10080 ;
10081 return 0;
10082}
10083_ACEOF
10084rm -f conftest.$ac_objext
10085if { (ac_try="$ac_compile"
10086case "(($ac_try" in
10087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10088 *) ac_try_echo=$ac_try;;
10089esac
10090eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10091 (eval "$ac_compile") 2>conftest.er1
10092 ac_status=$?
10093 grep -v '^ *+' conftest.er1 >conftest.err
10094 rm -f conftest.er1
10095 cat conftest.err >&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); } && {
10098 test -z "$ac_cxx_werror_flag" ||
10099 test ! -s conftest.err
10100 } && test -s conftest.$ac_objext; then
10101 rxvt_cv_uint32_t=yes
10102else
10103 echo "$as_me: failed program was:" >&5
10104sed 's/^/| /' conftest.$ac_ext >&5
10105
10106 if test "$ac_cv_sizeof_char" -ge 4; then
10107 rxvt_cv_uint32_t="unsigned char"
10108else
10109 if test "$ac_cv_sizeof_short" -ge 4; then
10110 rxvt_cv_uint32_t="unsigned short"
10111 else
10112 if test "$ac_cv_sizeof_int" -ge 4; then
10113 rxvt_cv_uint32_t="unsigned int"
10114 else
10115 if test "$ac_cv_sizeof_long" -ge 4; then
10116 rxvt_cv_uint32_t="unsigned long"
10117 else
10118 if test "$ac_cv_sizeof_long_long" -ge 4; then
10119 rxvt_cv_uint32_t="unsigned long long"
10120 else
10121 rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default
10122 fi
10123 fi
10124 fi
10125 fi
10126fi
10127fi
10128
10129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10130fi
10131{ echo "$as_me:$LINENO: result: $rxvt_cv_uint32_t" >&5
10132echo "${ECHO_T}$rxvt_cv_uint32_t" >&6; }
10133if test x"$rxvt_cv_uint32_t" != xyes; then
10134 rxvt_uint32_typedef="typedef $rxvt_cv_uint32_t uint32_t;"
10135else
10136 if test x"unsigned" = x; then
10137 rxvt_uint32_typedef="/* typedef int uint32_t; */"
10138 else
10139 rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */"
10140 fi
10141fi
10142
10143if test "$ac_cv_sizeof_int_p" -eq 8; then
10144 rxvt_intp_define="#define intp_t int64_t"
10145 rxvt_u_intp_define="#define u_intp_t u_int64_t"
10146else
10147 if test "$ac_cv_sizeof_int_p" -eq 4; then
10148 rxvt_intp_define="#define intp_t int32_t"
10149 rxvt_u_intp_define="#define u_intp_t u_int32_t"
10150 else
10151 if test "$ac_cv_sizeof_int_p" -eq 2; then
10152 rxvt_intp_define="#define intp_t int16_t"
10153 rxvt_u_intp_define="#define u_intp_t u_int16_t"
10154 else
10155 rxvt_intp_define="#error set intp_t"
10156 rxvt_u_intp_define="#error set u_intp_t"
10157 fi
10158 fi
10159fi
10160
10161
10162
10163{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
10164echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
10165if test "${ac_cv_type_signal+set}" = set; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10167else
10168 cat >conftest.$ac_ext <<_ACEOF
10169/* confdefs.h. */
10170_ACEOF
10171cat confdefs.h >>conftest.$ac_ext
10172cat >>conftest.$ac_ext <<_ACEOF
10173/* end confdefs.h. */
10174#include <sys/types.h>
10175#include <signal.h>
10176
10177int
10178main ()
10179{
10180return *(signal (0, 0)) (0) == 1;
10181 ;
10182 return 0;
10183}
10184_ACEOF
10185rm -f conftest.$ac_objext
10186if { (ac_try="$ac_compile"
10187case "(($ac_try" in
10188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10189 *) ac_try_echo=$ac_try;;
10190esac
10191eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10192 (eval "$ac_compile") 2>conftest.er1
10193 ac_status=$?
10194 grep -v '^ *+' conftest.er1 >conftest.err
10195 rm -f conftest.er1
10196 cat conftest.err >&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); } && {
10199 test -z "$ac_cxx_werror_flag" ||
10200 test ! -s conftest.err
10201 } && test -s conftest.$ac_objext; then
10202 ac_cv_type_signal=int
10203else
10204 echo "$as_me: failed program was:" >&5
10205sed 's/^/| /' conftest.$ac_ext >&5
10206
10207 ac_cv_type_signal=void
10208fi
10209
10210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10211fi
10212{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
10213echo "${ECHO_T}$ac_cv_type_signal" >&6; }
10214
10215cat >>confdefs.h <<_ACEOF
10216#define RETSIGTYPE $ac_cv_type_signal
10217_ACEOF
10218
10219 8421
10220 8422
10221 8423
10222for ac_func in unsetenv 8424for ac_func in unsetenv
10223do 8425do
13639_ACEOF 11841_ACEOF
13640program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 11842program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
13641rm -f conftest.sed 11843rm -f conftest.sed
13642 11844
13643 11845
13644
13645
13646
13647if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
13648 include_stdint_h="#include <stdint.h>"
13649else
13650 include_stdint_h="/* #include <stdint.h> */"
13651fi
13652if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
13653 include_stdarg_h="#include <cstdarg>"
13654else
13655 include_stdarg_h="/* #include <cstdarg> */"
13656fi
13657if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
13658 include_stdlib_h="#include <cstdlib>"
13659else
13660 include_stdlib_h="/* #include <cstdlib> */"
13661fi
13662if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
13663 include_unistd_h="#include <unistd.h>"
13664else
13665 include_unistd_h="/* #include <unistd.h> */"
13666fi
13667if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
13668 include_string_h="#include <cstring>"
13669else
13670 include_string_h="/* #include <cstring> */"
13671fi
13672if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
13673 include_fcntl_h="#include <fcntl.h>"
13674else
13675 include_fcntl_h="/* #include <fcntl.h> */"
13676fi
13677if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
13678 include_util_h="#include <util.h>"
13679else
13680 include_util_h="/* #include <util.h> */"
13681fi
13682if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
13683 include_assert_h="#include <assert.h>"
13684else
13685 include_assert_h="/* #include <assert.h> */"
13686fi
13687if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
13688 include_sys_ioctl_h="#include <sys/ioctl.h>"
13689else
13690 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
13691fi
13692if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
13693 include_sys_select_h="#include <sys/select.h>"
13694else
13695 include_sys_select_h="/* #include <sys/select.h> */"
13696fi
13697if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
13698 include_sys_strredir_h="#include <sys/strredir.h>"
13699else
13700 include_sys_strredir_h="/* #include <sys/strredir.h> */"
13701fi
13702if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
13703 include_sys_time_h="#include <sys/time.h>"
13704else
13705 include_sys_time_h="/* #include <sys/time.h> */"
13706fi
13707if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
13708 include_time_h="#include <time.h>"
13709else
13710 include_time_h="/* #include <time.h> */"
13711fi
13712
13713ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" 11846ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
13714 11847
13715cat >confcache <<\_ACEOF 11848cat >confcache <<\_ACEOF
13716# This file is a shell script that caches the results of configure 11849# This file is a shell script that caches the results of configure
13717# tests run on this system so they can be shared between configure 11850# tests run on this system so they can be shared between configure
13718# scripts and configure runs, see configure's option --config-cache. 11851# scripts and configure runs, see configure's option --config-cache.
14267 case $ac_config_target in 12400 case $ac_config_target in
14268 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 12401 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
14269 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12402 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14270 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 12403 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14271 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12404 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14272 "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
14273 12405
14274 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 12406 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14275echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12407echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14276 { (exit 1); exit 1; }; };; 12408 { (exit 1); exit 1; }; };;
14277 esac 12409 esac
14376host_cpu!$host_cpu$ac_delim 12508host_cpu!$host_cpu$ac_delim
14377host_vendor!$host_vendor$ac_delim 12509host_vendor!$host_vendor$ac_delim
14378host_os!$host_os$ac_delim 12510host_os!$host_os$ac_delim
14379VERSION!$VERSION$ac_delim 12511VERSION!$VERSION$ac_delim
14380DATE!$DATE$ac_delim 12512DATE!$DATE$ac_delim
14381LSMDATE!$LSMDATE$ac_delim
14382LIBVERSION!$LIBVERSION$ac_delim
14383CC!$CC$ac_delim 12513CC!$CC$ac_delim
14384CFLAGS!$CFLAGS$ac_delim 12514CFLAGS!$CFLAGS$ac_delim
14385LDFLAGS!$LDFLAGS$ac_delim 12515LDFLAGS!$LDFLAGS$ac_delim
14386CPPFLAGS!$CPPFLAGS$ac_delim 12516CPPFLAGS!$CPPFLAGS$ac_delim
14387ac_ct_CC!$ac_ct_CC$ac_delim 12517ac_ct_CC!$ac_ct_CC$ac_delim
14395INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 12525INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
14396INSTALL_DATA!$INSTALL_DATA$ac_delim 12526INSTALL_DATA!$INSTALL_DATA$ac_delim
14397GREP!$GREP$ac_delim 12527GREP!$GREP$ac_delim
14398EGREP!$EGREP$ac_delim 12528EGREP!$EGREP$ac_delim
14399LINKER!$LINKER$ac_delim 12529LINKER!$LINKER$ac_delim
14400INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim
14401RXVTNAME!$RXVTNAME$ac_delim 12530RXVTNAME!$RXVTNAME$ac_delim
14402CXXCPP!$CXXCPP$ac_delim 12531CXXCPP!$CXXCPP$ac_delim
14403TIC!$TIC$ac_delim 12532TIC!$TIC$ac_delim
14404XMKMF!$XMKMF$ac_delim 12533XMKMF!$XMKMF$ac_delim
14405X_CFLAGS!$X_CFLAGS$ac_delim 12534X_CFLAGS!$X_CFLAGS$ac_delim
14406X_PRE_LIBS!$X_PRE_LIBS$ac_delim 12535X_PRE_LIBS!$X_PRE_LIBS$ac_delim
14407X_LIBS!$X_LIBS$ac_delim 12536X_LIBS!$X_LIBS$ac_delim
14408X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim 12537X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
14409afterimage_config!$afterimage_config$ac_delim 12538afterimage_config!$afterimage_config$ac_delim
14410rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim
14411rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim
14412rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim
14413rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim
14414rxvt_intp_define!$rxvt_intp_define$ac_delim
14415rxvt_u_intp_define!$rxvt_u_intp_define$ac_delim
14416PKG_CONFIG!$PKG_CONFIG$ac_delim 12539PKG_CONFIG!$PKG_CONFIG$ac_delim
14417XFT_CONFIG!$XFT_CONFIG$ac_delim 12540XFT_CONFIG!$XFT_CONFIG$ac_delim
14418PERL!$PERL$ac_delim 12541PERL!$PERL$ac_delim
14419PERLLIB!$PERLLIB$ac_delim 12542PERLLIB!$PERLLIB$ac_delim
14420PERLFLAGS!$PERLFLAGS$ac_delim 12543PERLFLAGS!$PERLFLAGS$ac_delim
14421PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 12544PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
14422IF_PERL!$IF_PERL$ac_delim 12545IF_PERL!$IF_PERL$ac_delim
14423PERL_O!$PERL_O$ac_delim 12546PERL_O!$PERL_O$ac_delim
14424AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim 12547AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
14425AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim 12548AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
14426include_stdint_h!$include_stdint_h$ac_delim 12549LIBOBJS!$LIBOBJS$ac_delim
14427include_stdarg_h!$include_stdarg_h$ac_delim 12550LTLIBOBJS!$LTLIBOBJS$ac_delim
14428include_stdlib_h!$include_stdlib_h$ac_delim
14429include_unistd_h!$include_unistd_h$ac_delim
14430include_string_h!$include_string_h$ac_delim
14431_ACEOF 12551_ACEOF
14432 12552
14433 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 12553 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
14434 break 12554 break
14435 elif $ac_last_try; then 12555 elif $ac_last_try; then
14436 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12556 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14437echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12557echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14438 { (exit 1); exit 1; }; } 12558 { (exit 1); exit 1; }; }
14447 ac_eof=`expr $ac_eof + 1` 12567 ac_eof=`expr $ac_eof + 1`
14448fi 12568fi
14449 12569
14450cat >>$CONFIG_STATUS <<_ACEOF 12570cat >>$CONFIG_STATUS <<_ACEOF
14451cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 12571cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
14452/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14453_ACEOF
14454sed '
14455s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14456s/^/s,@/; s/!/@,|#_!!_#|/
14457:n
14458t n
14459s/'"$ac_delim"'$/,g/; t
14460s/$/\\/; p
14461N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14462' >>$CONFIG_STATUS <conf$$subs.sed
14463rm -f conf$$subs.sed
14464cat >>$CONFIG_STATUS <<_ACEOF
14465CEOF$ac_eof
14466_ACEOF
14467
14468
14469ac_delim='%!_!# '
14470for ac_last_try in false false false false false :; do
14471 cat >conf$$subs.sed <<_ACEOF
14472include_fcntl_h!$include_fcntl_h$ac_delim
14473include_util_h!$include_util_h$ac_delim
14474include_assert_h!$include_assert_h$ac_delim
14475include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim
14476include_sys_select_h!$include_sys_select_h$ac_delim
14477include_sys_strredir_h!$include_sys_strredir_h$ac_delim
14478include_sys_time_h!$include_sys_time_h$ac_delim
14479include_time_h!$include_time_h$ac_delim
14480LIBOBJS!$LIBOBJS$ac_delim
14481LTLIBOBJS!$LTLIBOBJS$ac_delim
14482_ACEOF
14483
14484 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
14485 break
14486 elif $ac_last_try; then
14487 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14488echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14489 { (exit 1); exit 1; }; }
14490 else
14491 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14492 fi
14493done
14494
14495ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14496if test -n "$ac_eof"; then
14497 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14498 ac_eof=`expr $ac_eof + 1`
14499fi
14500
14501cat >>$CONFIG_STATUS <<_ACEOF
14502cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
14503/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 12572/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14504_ACEOF 12573_ACEOF
14505sed ' 12574sed '
14506s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 12575s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14507s/^/s,@/; s/!/@,|#_!!_#|/ 12576s/^/s,@/; s/!/@,|#_!!_#|/
14760s&@builddir@&$ac_builddir&;t t 12829s&@builddir@&$ac_builddir&;t t
14761s&@abs_builddir@&$ac_abs_builddir&;t t 12830s&@abs_builddir@&$ac_abs_builddir&;t t
14762s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 12831s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14763s&@INSTALL@&$ac_INSTALL&;t t 12832s&@INSTALL@&$ac_INSTALL&;t t
14764$ac_datarootdir_hack 12833$ac_datarootdir_hack
14765" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 12834" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
14766 12835
14767test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 12836test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14768 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 12837 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14769 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 12838 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14770 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12839 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines