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.130 by root, Sat Dec 26 10:24:04 2009 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 1299 --enable-assert enable assertions
1322 --enable-warnings turn on g++ warnings 1300 --enable-warnings turn on g++ warnings
1323 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1301 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1324 --enable-combining enable composition of base and combining characters 1302 --enable-combining enable composition of base and combining characters
1325 --enable-xft enable xft support on systems that have it 1303 --enable-xft enable xft support on systems that have it
1326 --enable-font-styles enable bold and italic support 1304 --enable-font-styles enable bold and italic support
1327 --enable-afterimage enable integration with libAfterImage for background images 1305 --enable-afterimage enable integration with libAfterImage for background images
1328 --enable-transparency enable transparent backgrounds 1306 --enable-transparency enable transparent backgrounds
1329 --enable-fading enable colors fading when off focus 1307 --enable-fading enable colors fading when off focus
1330 --enable-rxvt-scroll enable rxvt style scrollbar 1308 --enable-rxvt-scroll enable rxvt style scrollbar
1331 --enable-next-scroll enable NeXT style scrollbar 1309 --enable-next-scroll enable NeXT style scrollbar
1332 --enable-xterm-scroll enable Xterm style scrollbar 1310 --enable-xterm-scroll enable Xterm 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
4391fi 4366fi
4392 4367
4393fi 4368fi
4394 4369
4395 4370
4396
4397support_frills=yes 4371support_frills=yes
4398support_inheritpixmap=yes 4372support_inheritpixmap=yes
4399support_fading=yes 4373support_fading=yes
4400support_keepscrolling=yes 4374support_keepscrolling=yes
4401support_selectionscrolling=yes 4375support_selectionscrolling=yes
4404support_text_blink=yes 4378support_text_blink=yes
4405support_pointer_blank=yes 4379support_pointer_blank=yes
4406support_scroll_rxvt=yes 4380support_scroll_rxvt=yes
4407support_scroll_next=yes 4381support_scroll_next=yes
4408support_scroll_xterm=yes 4382support_scroll_xterm=yes
4409support_scroll_plain=yes
4410support_xim=yes 4383support_xim=yes
4411support_afterimage=yes 4384support_afterimage=yes
4412support_afterstep=yes 4385support_afterstep=yes
4413support_xft=yes 4386support_xft=yes
4414support_unicode3=no 4387support_unicode3=no
4416support_8bitctrls=no 4389support_8bitctrls=no
4417support_iso14755=yes 4390support_iso14755=yes
4418support_styles=yes 4391support_styles=yes
4419support_perl=yes 4392support_perl=yes
4420codesets=all 4393codesets=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 4394
4432 4395
4433# Check whether --enable-everything was given. 4396# Check whether --enable-everything was given.
4434if test "${enable_everything+set}" = set; then 4397if test "${enable_everything+set}" = set; then
4435 enableval=$enable_everything; 4398 enableval=$enable_everything;
4445 support_text_blink=no 4408 support_text_blink=no
4446 support_pointer_blank=no 4409 support_pointer_blank=no
4447 support_scroll_rxvt=no 4410 support_scroll_rxvt=no
4448 support_scroll_next=no 4411 support_scroll_next=no
4449 support_scroll_xterm=no 4412 support_scroll_xterm=no
4450 support_scroll_plain=no
4451 support_utmp=no 4413 support_utmp=no
4452 support_wtmp=no 4414 support_wtmp=no
4453 support_xim=no 4415 support_xim=no
4454 support_afterimage=no 4416 support_afterimage=no
4455 support_afterstep=no 4417 support_afterstep=no
4474 support_text_blink=yes 4436 support_text_blink=yes
4475 support_pointer_blank=yes 4437 support_pointer_blank=yes
4476 support_scroll_rxvt=yes 4438 support_scroll_rxvt=yes
4477 support_scroll_next=yes 4439 support_scroll_next=yes
4478 support_scroll_xterm=yes 4440 support_scroll_xterm=yes
4479 support_scroll_plain=yes
4480 support_utmp=yes 4441 support_utmp=yes
4481 support_wtmp=yes 4442 support_wtmp=yes
4482 support_xim=yes 4443 support_xim=yes
4483 support_afterimage=yes 4444 support_afterimage=yes
4484 support_afterstep=yes 4445 support_afterstep=yes
4493 fi 4454 fi
4494 4455
4495fi 4456fi
4496 4457
4497 4458
4459ASSERTIONS=no
4460# Check whether --enable-assert was given.
4461if test "${enable_assert+set}" = set; then
4462 enableval=$enable_assert; if test x$enableval = xyes; then
4463 ASSERTIONS=yes
4464 fi
4465fi
4466
4467if test x$ASSERTIONS = xno; then
4468
4469cat >>confdefs.h <<\_ACEOF
4470#define NDEBUG 1
4471_ACEOF
4472
4473fi
4474
4498WARNINGS=no 4475WARNINGS=no
4499# Check whether --enable-warnings was given. 4476# Check whether --enable-warnings was given.
4500if test "${enable_warnings+set}" = set; then 4477if test "${enable_warnings+set}" = set; then
4501 enableval=$enable_warnings; if test x$enableval = xyes; then 4478 enableval=$enable_warnings; if test x$enableval = xyes; then
4502 WARNINGS=yes 4479 WARNINGS=yes
4645 4622
4646# Check whether --enable-perl was given. 4623# Check whether --enable-perl was given.
4647if test "${enable_perl+set}" = set; then 4624if test "${enable_perl+set}" = set; then
4648 enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then 4625 enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then
4649 support_perl=$enableval 4626 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 4627 fi
4659fi 4628fi
4660 4629
4661 4630
4662 4631
5370 5339
5371 5340
5372 5341
5373 5342
5374 5343
5344
5345
5346
5375for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h 5347for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h
5376do 5348do
5377as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5349as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5378if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5350if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5379 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5380echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5352echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5515 5487
5516 5488
5517 5489
5518 5490
5519 5491
5492
5493
5494
5520for ac_func in epoll_ctl kqueue port_create poll select 5495for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd
5521do 5496do
5522as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5497as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5523{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5498{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5524echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5499echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5525if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5500if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5694echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } 5669echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; }
5695if test $ac_cv_func_clock_gettime = yes; then 5670if test $ac_cv_func_clock_gettime = yes; then
5696 : 5671 :
5697else 5672else
5698 5673
5699 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 5674 if test $(uname) = Linux; then
5675 { echo "$as_me:$LINENO: checking for clock_gettime syscall" >&5
5676echo $ECHO_N "checking for clock_gettime syscall... $ECHO_C" >&6; }
5677 cat >conftest.$ac_ext <<_ACEOF
5678/* confdefs.h. */
5679_ACEOF
5680cat confdefs.h >>conftest.$ac_ext
5681cat >>conftest.$ac_ext <<_ACEOF
5682/* end confdefs.h. */
5683#include <syscall.h>
5684 #include <time.h>
5685int
5686main ()
5687{
5688struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts)
5689 ;
5690 return 0;
5691}
5692_ACEOF
5693rm -f conftest.$ac_objext conftest$ac_exeext
5694if { (ac_try="$ac_link"
5695case "(($ac_try" in
5696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5698esac
5699eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5700 (eval "$ac_link") 2>conftest.er1
5701 ac_status=$?
5702 grep -v '^ *+' conftest.er1 >conftest.err
5703 rm -f conftest.er1
5704 cat conftest.err >&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); } && {
5707 test -z "$ac_cxx_werror_flag" ||
5708 test ! -s conftest.err
5709 } && test -s conftest$ac_exeext &&
5710 $as_test_x conftest$ac_exeext; then
5711 ac_have_clock_syscall=1
5712
5713cat >>confdefs.h <<\_ACEOF
5714#define HAVE_CLOCK_SYSCALL 1
5715_ACEOF
5716
5717 { echo "$as_me:$LINENO: result: yes" >&5
5718echo "${ECHO_T}yes" >&6; }
5719else
5720 echo "$as_me: failed program was:" >&5
5721sed 's/^/| /' conftest.$ac_ext >&5
5722
5723 { echo "$as_me:$LINENO: result: no" >&5
5724echo "${ECHO_T}no" >&6; }
5725fi
5726
5727rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5728 conftest$ac_exeext conftest.$ac_ext
5729 fi
5730 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then
5700 5731
5701{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 5732{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
5702echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } 5733echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
5703if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 5734if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6 5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 5797
5767 LIBS="-lrt $LIBS" 5798 LIBS="-lrt $LIBS"
5768 5799
5769fi 5800fi
5770 5801
5802 unset ac_cv_func_clock_gettime
5771 5803
5772for ac_func in clock_gettime 5804for ac_func in clock_gettime
5805do
5806as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5807{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5808echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5809if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5811else
5812 cat >conftest.$ac_ext <<_ACEOF
5813/* confdefs.h. */
5814_ACEOF
5815cat confdefs.h >>conftest.$ac_ext
5816cat >>conftest.$ac_ext <<_ACEOF
5817/* end confdefs.h. */
5818/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5820#define $ac_func innocuous_$ac_func
5821
5822/* System header to define __stub macros and hopefully few prototypes,
5823 which can conflict with char $ac_func (); below.
5824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5825 <limits.h> exists even on freestanding compilers. */
5826
5827#ifdef __STDC__
5828# include <limits.h>
5829#else
5830# include <assert.h>
5831#endif
5832
5833#undef $ac_func
5834
5835/* Override any GCC internal prototype to avoid an error.
5836 Use char because int might match the return type of a GCC
5837 builtin and then its argument prototype would still apply. */
5838#ifdef __cplusplus
5839extern "C"
5840#endif
5841char $ac_func ();
5842/* The GNU C library defines this for functions which it implements
5843 to always fail with ENOSYS. Some functions are actually named
5844 something starting with __ and the normal name is an alias. */
5845#if defined __stub_$ac_func || defined __stub___$ac_func
5846choke me
5847#endif
5848
5849int
5850main ()
5851{
5852return $ac_func ();
5853 ;
5854 return 0;
5855}
5856_ACEOF
5857rm -f conftest.$ac_objext conftest$ac_exeext
5858if { (ac_try="$ac_link"
5859case "(($ac_try" in
5860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5861 *) ac_try_echo=$ac_try;;
5862esac
5863eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5864 (eval "$ac_link") 2>conftest.er1
5865 ac_status=$?
5866 grep -v '^ *+' conftest.er1 >conftest.err
5867 rm -f conftest.er1
5868 cat conftest.err >&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); } && {
5871 test -z "$ac_cxx_werror_flag" ||
5872 test ! -s conftest.err
5873 } && test -s conftest$ac_exeext &&
5874 $as_test_x conftest$ac_exeext; then
5875 eval "$as_ac_var=yes"
5876else
5877 echo "$as_me: failed program was:" >&5
5878sed 's/^/| /' conftest.$ac_ext >&5
5879
5880 eval "$as_ac_var=no"
5881fi
5882
5883rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5884 conftest$ac_exeext conftest.$ac_ext
5885fi
5886ac_res=`eval echo '${'$as_ac_var'}'`
5887 { echo "$as_me:$LINENO: result: $ac_res" >&5
5888echo "${ECHO_T}$ac_res" >&6; }
5889if test `eval echo '${'$as_ac_var'}'` = yes; then
5890 cat >>confdefs.h <<_ACEOF
5891#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5892_ACEOF
5893
5894fi
5895done
5896
5897 fi
5898
5899fi
5900
5901
5902{ echo "$as_me:$LINENO: checking for nanosleep" >&5
5903echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; }
5904if test "${ac_cv_func_nanosleep+set}" = set; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5906else
5907 cat >conftest.$ac_ext <<_ACEOF
5908/* confdefs.h. */
5909_ACEOF
5910cat confdefs.h >>conftest.$ac_ext
5911cat >>conftest.$ac_ext <<_ACEOF
5912/* end confdefs.h. */
5913/* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep.
5914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5915#define nanosleep innocuous_nanosleep
5916
5917/* System header to define __stub macros and hopefully few prototypes,
5918 which can conflict with char nanosleep (); below.
5919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5920 <limits.h> exists even on freestanding compilers. */
5921
5922#ifdef __STDC__
5923# include <limits.h>
5924#else
5925# include <assert.h>
5926#endif
5927
5928#undef nanosleep
5929
5930/* Override any GCC internal prototype to avoid an error.
5931 Use char because int might match the return type of a GCC
5932 builtin and then its argument prototype would still apply. */
5933#ifdef __cplusplus
5934extern "C"
5935#endif
5936char nanosleep ();
5937/* The GNU C library defines this for functions which it implements
5938 to always fail with ENOSYS. Some functions are actually named
5939 something starting with __ and the normal name is an alias. */
5940#if defined __stub_nanosleep || defined __stub___nanosleep
5941choke me
5942#endif
5943
5944int
5945main ()
5946{
5947return nanosleep ();
5948 ;
5949 return 0;
5950}
5951_ACEOF
5952rm -f conftest.$ac_objext conftest$ac_exeext
5953if { (ac_try="$ac_link"
5954case "(($ac_try" in
5955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5956 *) ac_try_echo=$ac_try;;
5957esac
5958eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5959 (eval "$ac_link") 2>conftest.er1
5960 ac_status=$?
5961 grep -v '^ *+' conftest.er1 >conftest.err
5962 rm -f conftest.er1
5963 cat conftest.err >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } && {
5966 test -z "$ac_cxx_werror_flag" ||
5967 test ! -s conftest.err
5968 } && test -s conftest$ac_exeext &&
5969 $as_test_x conftest$ac_exeext; then
5970 ac_cv_func_nanosleep=yes
5971else
5972 echo "$as_me: failed program was:" >&5
5973sed 's/^/| /' conftest.$ac_ext >&5
5974
5975 ac_cv_func_nanosleep=no
5976fi
5977
5978rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5979 conftest$ac_exeext conftest.$ac_ext
5980fi
5981{ echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5
5982echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; }
5983if test $ac_cv_func_nanosleep = yes; then
5984 :
5985else
5986
5987 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
5988
5989{ echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
5990echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; }
5991if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
5992 echo $ECHO_N "(cached) $ECHO_C" >&6
5993else
5994 ac_check_lib_save_LIBS=$LIBS
5995LIBS="-lrt $LIBS"
5996cat >conftest.$ac_ext <<_ACEOF
5997/* confdefs.h. */
5998_ACEOF
5999cat confdefs.h >>conftest.$ac_ext
6000cat >>conftest.$ac_ext <<_ACEOF
6001/* end confdefs.h. */
6002
6003/* Override any GCC internal prototype to avoid an error.
6004 Use char because int might match the return type of a GCC
6005 builtin and then its argument prototype would still apply. */
6006#ifdef __cplusplus
6007extern "C"
6008#endif
6009char nanosleep ();
6010int
6011main ()
6012{
6013return nanosleep ();
6014 ;
6015 return 0;
6016}
6017_ACEOF
6018rm -f conftest.$ac_objext conftest$ac_exeext
6019if { (ac_try="$ac_link"
6020case "(($ac_try" in
6021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6022 *) ac_try_echo=$ac_try;;
6023esac
6024eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6025 (eval "$ac_link") 2>conftest.er1
6026 ac_status=$?
6027 grep -v '^ *+' conftest.er1 >conftest.err
6028 rm -f conftest.er1
6029 cat conftest.err >&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); } && {
6032 test -z "$ac_cxx_werror_flag" ||
6033 test ! -s conftest.err
6034 } && test -s conftest$ac_exeext &&
6035 $as_test_x conftest$ac_exeext; then
6036 ac_cv_lib_rt_nanosleep=yes
6037else
6038 echo "$as_me: failed program was:" >&5
6039sed 's/^/| /' conftest.$ac_ext >&5
6040
6041 ac_cv_lib_rt_nanosleep=no
6042fi
6043
6044rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6045 conftest$ac_exeext conftest.$ac_ext
6046LIBS=$ac_check_lib_save_LIBS
6047fi
6048{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
6049echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; }
6050if test $ac_cv_lib_rt_nanosleep = yes; then
6051 cat >>confdefs.h <<_ACEOF
6052#define HAVE_LIBRT 1
6053_ACEOF
6054
6055 LIBS="-lrt $LIBS"
6056
6057fi
6058
6059 unset ac_cv_func_nanosleep
6060
6061for ac_func in nanosleep
5773do 6062do
5774as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6063as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5775{ echo "$as_me:$LINENO: checking for $ac_func" >&5 6064{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5776echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6065echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5777if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6066if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5935_ACEOF 6224_ACEOF
5936 6225
5937 LIBS="-lm $LIBS" 6226 LIBS="-lm $LIBS"
5938 6227
5939fi 6228fi
5940
5941
5942 6229
5943 6230
5944 6231
5945 6232
5946 6233
5981echo "${ECHO_T}$TIC" >&6; } 6268echo "${ECHO_T}$TIC" >&6; }
5982else 6269else
5983 { echo "$as_me:$LINENO: result: no" >&5 6270 { echo "$as_me:$LINENO: result: no" >&5
5984echo "${ECHO_T}no" >&6; } 6271echo "${ECHO_T}no" >&6; }
5985fi 6272fi
5986
5987
5988 6273
5989 6274
5990 6275
5991{ echo "$as_me:$LINENO: checking for X" >&5 6276{ echo "$as_me:$LINENO: checking for X" >&5
5992echo $ECHO_N "checking for X... $ECHO_C" >&6; } 6277echo $ECHO_N "checking for X... $ECHO_C" >&6; }
7379echo "${ECHO_T}no" >&6; } 7664echo "${ECHO_T}no" >&6; }
7380 fi 7665 fi
7381 fi 7666 fi
7382fi 7667fi
7383 7668
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 7669
7462 7670
7463 7671
7464 7672
7465 7673
7466 7674
7467 7675
7468for ac_header in \ 7676for 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 \ 7677 sys/byteorder.h \
7477 sys/ioctl.h \ 7678 sys/ioctl.h \
7478 sys/select.h \
7479 sys/sockio.h \ 7679 sys/sockio.h \
7480 sys/strredir.h \ 7680 sys/strredir.h \
7481 sys/time.h \
7482 stdint.h \ 7681 stdint.h \
7483 wchar.h \ 7682 wchar.h \
7484 cwchar \ 7683 cwchar \
7485 clocale \
7486 7684
7487do 7685do
7488as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7686as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7489if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7687if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7490 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7688 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7621fi 7819fi
7622 7820
7623done 7821done
7624 7822
7625 7823
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 7824{ echo "$as_me:$LINENO: checking for XPointer" >&5
7743echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } 7825echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; }
7744if test "${rxvt_cv_xpointer+set}" = set; then 7826if test "${rxvt_cv_xpointer+set}" = set; then
7745 echo $ECHO_N "(cached) $ECHO_C" >&6 7827 echo $ECHO_N "(cached) $ECHO_C" >&6
7746else 7828else
7857cat >>confdefs.h <<\_ACEOF 7939cat >>confdefs.h <<\_ACEOF
7858#define XLIB_ILLEGAL_ACCESS 1 7940#define XLIB_ILLEGAL_ACCESS 1
7859_ACEOF 7941_ACEOF
7860 7942
7861fi 7943fi
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 7944
8040{ echo "$as_me:$LINENO: checking for mode_t" >&5 7945{ echo "$as_me:$LINENO: checking for mode_t" >&5
8041echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } 7946echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
8042if test "${ac_cv_type_mode_t+set}" = set; then 7947if test "${ac_cv_type_mode_t+set}" = set; then
8043 echo $ECHO_N "(cached) $ECHO_C" >&6 7948 echo $ECHO_N "(cached) $ECHO_C" >&6
8200_ACEOF 8105_ACEOF
8201 8106
8202fi 8107fi
8203 8108
8204 8109
8205{ echo "$as_me:$LINENO: checking for short" >&5 8110 { echo "$as_me:$LINENO: checking for int16_t" >&5
8206echo $ECHO_N "checking for short... $ECHO_C" >&6; } 8111echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
8207if test "${ac_cv_type_short+set}" = set; then 8112if test "${ac_cv_c_int16_t+set}" = set; then
8208 echo $ECHO_N "(cached) $ECHO_C" >&6 8113 echo $ECHO_N "(cached) $ECHO_C" >&6
8209else 8114else
8115 ac_cv_c_int16_t=no
8116 for ac_type in 'int16_t' 'int' 'long int' \
8117 'long long int' 'short int' 'signed char'; do
8210 cat >conftest.$ac_ext <<_ACEOF 8118 cat >conftest.$ac_ext <<_ACEOF
8211/* confdefs.h. */ 8119/* confdefs.h. */
8212_ACEOF 8120_ACEOF
8213cat confdefs.h >>conftest.$ac_ext 8121cat confdefs.h >>conftest.$ac_ext
8214cat >>conftest.$ac_ext <<_ACEOF 8122cat >>conftest.$ac_ext <<_ACEOF
8215/* end confdefs.h. */ 8123/* end confdefs.h. */
8216$ac_includes_default 8124$ac_includes_default
8217typedef short ac__type_new_;
8218int 8125int
8219main () 8126main ()
8220{ 8127{
8221if ((ac__type_new_ *) 0) 8128static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
8222 return 0; 8129test_array [0] = 0
8223if (sizeof (ac__type_new_)) 8130
8224 return 0;
8225 ; 8131 ;
8226 return 0; 8132 return 0;
8227} 8133}
8228_ACEOF 8134_ACEOF
8229rm -f conftest.$ac_objext 8135rm -f conftest.$ac_objext
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } && { 8148 (exit $ac_status); } && {
8243 test -z "$ac_cxx_werror_flag" || 8149 test -z "$ac_cxx_werror_flag" ||
8244 test ! -s conftest.err 8150 test ! -s conftest.err
8245 } && test -s conftest.$ac_objext; then 8151 } && 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 8152 cat >conftest.$ac_ext <<_ACEOF
8271/* confdefs.h. */ 8153/* confdefs.h. */
8272_ACEOF 8154_ACEOF
8273cat confdefs.h >>conftest.$ac_ext 8155cat confdefs.h >>conftest.$ac_ext
8274cat >>conftest.$ac_ext <<_ACEOF 8156cat >>conftest.$ac_ext <<_ACEOF
8275/* end confdefs.h. */ 8157/* end confdefs.h. */
8276$ac_includes_default 8158$ac_includes_default
8277 typedef short ac__type_sizeof_;
8278int 8159int
8279main () 8160main ()
8280{ 8161{
8281static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 8162static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)
8163 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];
8282test_array [0] = 0 8164test_array [0] = 0
8283 8165
8284 ; 8166 ;
8285 return 0; 8167 return 0;
8286} 8168}
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); } && { 8183 (exit $ac_status); } && {
8302 test -z "$ac_cxx_werror_flag" || 8184 test -z "$ac_cxx_werror_flag" ||
8303 test ! -s conftest.err 8185 test ! -s conftest.err
8304 } && test -s conftest.$ac_objext; then 8186 } && test -s conftest.$ac_objext; then
8305 ac_lo=0 ac_mid=0 8187 :
8306 while :; do 8188else
8189 echo "$as_me: failed program was:" >&5
8190sed 's/^/| /' conftest.$ac_ext >&5
8191
8192 case $ac_type in
8193 int16_t) ac_cv_c_int16_t=yes ;;
8194 *) ac_cv_c_int16_t=$ac_type ;;
8195esac
8196
8197fi
8198
8199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8200else
8201 echo "$as_me: failed program was:" >&5
8202sed 's/^/| /' conftest.$ac_ext >&5
8203
8204
8205fi
8206
8207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8208 test "$ac_cv_c_int16_t" != no && break
8209 done
8210fi
8211{ echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5
8212echo "${ECHO_T}$ac_cv_c_int16_t" >&6; }
8213 case $ac_cv_c_int16_t in #(
8214 no|yes) ;; #(
8215 *)
8216
8217cat >>confdefs.h <<_ACEOF
8218#define int16_t $ac_cv_c_int16_t
8219_ACEOF
8220;;
8221 esac
8222
8223
8224 { echo "$as_me:$LINENO: checking for uint16_t" >&5
8225echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
8226if test "${ac_cv_c_uint16_t+set}" = set; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8228else
8229 ac_cv_c_uint16_t=no
8230 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
8231 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
8307 cat >conftest.$ac_ext <<_ACEOF 8232 cat >conftest.$ac_ext <<_ACEOF
8308/* confdefs.h. */ 8233/* confdefs.h. */
8309_ACEOF 8234_ACEOF
8310cat confdefs.h >>conftest.$ac_ext 8235cat confdefs.h >>conftest.$ac_ext
8311cat >>conftest.$ac_ext <<_ACEOF 8236cat >>conftest.$ac_ext <<_ACEOF
8312/* end confdefs.h. */ 8237/* end confdefs.h. */
8313$ac_includes_default 8238$ac_includes_default
8314 typedef short ac__type_sizeof_;
8315int 8239int
8316main () 8240main ()
8317{ 8241{
8318static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 8242static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
8319test_array [0] = 0 8243test_array [0] = 0
8320 8244
8321 ; 8245 ;
8322 return 0; 8246 return 0;
8323} 8247}
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); } && { 8262 (exit $ac_status); } && {
8339 test -z "$ac_cxx_werror_flag" || 8263 test -z "$ac_cxx_werror_flag" ||
8340 test ! -s conftest.err 8264 test ! -s conftest.err
8341 } && test -s conftest.$ac_objext; then 8265 } && test -s conftest.$ac_objext; then
8342 ac_hi=$ac_mid; break 8266 case $ac_type in
8267 uint16_t) ac_cv_c_uint16_t=yes ;;
8268 *) ac_cv_c_uint16_t=$ac_type ;;
8269esac
8270
8343else 8271else
8344 echo "$as_me: failed program was:" >&5 8272 echo "$as_me: failed program was:" >&5
8345sed 's/^/| /' conftest.$ac_ext >&5 8273sed 's/^/| /' conftest.$ac_ext >&5
8346 8274
8347 ac_lo=`expr $ac_mid + 1` 8275
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 8276fi
8354 8277
8355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8279 test "$ac_cv_c_uint16_t" != no && break
8356 done 8280 done
8357else 8281fi
8358 echo "$as_me: failed program was:" >&5 8282{ echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
8359sed 's/^/| /' conftest.$ac_ext >&5 8283echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; }
8284 case $ac_cv_c_uint16_t in #(
8285 no|yes) ;; #(
8286 *)
8360 8287
8288
8289cat >>confdefs.h <<_ACEOF
8290#define uint16_t $ac_cv_c_uint16_t
8291_ACEOF
8292;;
8293 esac
8294
8295
8296 { echo "$as_me:$LINENO: checking for int32_t" >&5
8297echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
8298if test "${ac_cv_c_int32_t+set}" = set; then
8299 echo $ECHO_N "(cached) $ECHO_C" >&6
8300else
8301 ac_cv_c_int32_t=no
8302 for ac_type in 'int32_t' 'int' 'long int' \
8303 'long long int' 'short int' 'signed char'; do
8361 cat >conftest.$ac_ext <<_ACEOF 8304 cat >conftest.$ac_ext <<_ACEOF
8362/* confdefs.h. */ 8305/* confdefs.h. */
8363_ACEOF 8306_ACEOF
8364cat confdefs.h >>conftest.$ac_ext 8307cat confdefs.h >>conftest.$ac_ext
8365cat >>conftest.$ac_ext <<_ACEOF 8308cat >>conftest.$ac_ext <<_ACEOF
8366/* end confdefs.h. */ 8309/* end confdefs.h. */
8367$ac_includes_default 8310$ac_includes_default
8368 typedef short ac__type_sizeof_;
8369int 8311int
8370main () 8312main ()
8371{ 8313{
8372static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 8314static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
8373test_array [0] = 0 8315test_array [0] = 0
8374 8316
8375 ; 8317 ;
8376 return 0; 8318 return 0;
8377} 8319}
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); } && { 8334 (exit $ac_status); } && {
8393 test -z "$ac_cxx_werror_flag" || 8335 test -z "$ac_cxx_werror_flag" ||
8394 test ! -s conftest.err 8336 test ! -s conftest.err
8395 } && test -s conftest.$ac_objext; then 8337 } && test -s conftest.$ac_objext; then
8396 ac_hi=-1 ac_mid=-1
8397 while :; do
8398 cat >conftest.$ac_ext <<_ACEOF 8338 cat >conftest.$ac_ext <<_ACEOF
8399/* confdefs.h. */ 8339/* confdefs.h. */
8400_ACEOF 8340_ACEOF
8401cat confdefs.h >>conftest.$ac_ext 8341cat confdefs.h >>conftest.$ac_ext
8402cat >>conftest.$ac_ext <<_ACEOF 8342cat >>conftest.$ac_ext <<_ACEOF
8403/* end confdefs.h. */ 8343/* end confdefs.h. */
8404$ac_includes_default 8344$ac_includes_default
8405 typedef short ac__type_sizeof_;
8406int 8345int
8407main () 8346main ()
8408{ 8347{
8409static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 8348static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
8349 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
8410test_array [0] = 0 8350test_array [0] = 0
8411 8351
8412 ; 8352 ;
8413 return 0; 8353 return 0;
8414} 8354}
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } && { 8369 (exit $ac_status); } && {
8430 test -z "$ac_cxx_werror_flag" || 8370 test -z "$ac_cxx_werror_flag" ||
8431 test ! -s conftest.err 8371 test ! -s conftest.err
8432 } && test -s conftest.$ac_objext; then 8372 } && test -s conftest.$ac_objext; then
8433 ac_lo=$ac_mid; break 8373 :
8434else 8374else
8435 echo "$as_me: failed program was:" >&5 8375 echo "$as_me: failed program was:" >&5
8436sed 's/^/| /' conftest.$ac_ext >&5 8376sed 's/^/| /' conftest.$ac_ext >&5
8437 8377
8438 ac_hi=`expr '(' $ac_mid ')' - 1` 8378 case $ac_type in
8439 if test $ac_mid -le $ac_hi; then 8379 int32_t) ac_cv_c_int32_t=yes ;;
8440 ac_lo= ac_hi= 8380 *) ac_cv_c_int32_t=$ac_type ;;
8441 break 8381esac
8442 fi 8382
8443 ac_mid=`expr 2 '*' $ac_mid`
8444fi 8383fi
8445 8384
8446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8447 done
8448else 8386else
8449 echo "$as_me: failed program was:" >&5 8387 echo "$as_me: failed program was:" >&5
8450sed 's/^/| /' conftest.$ac_ext >&5 8388sed 's/^/| /' conftest.$ac_ext >&5
8451 8389
8452 ac_lo= ac_hi= 8390
8453fi 8391fi
8454 8392
8455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8394 test "$ac_cv_c_int32_t" != no && break
8395 done
8456fi 8396fi
8397{ echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
8398echo "${ECHO_T}$ac_cv_c_int32_t" >&6; }
8399 case $ac_cv_c_int32_t in #(
8400 no|yes) ;; #(
8401 *)
8457 8402
8458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8403cat >>confdefs.h <<_ACEOF
8459# Binary search between lo and hi bounds. 8404#define int32_t $ac_cv_c_int32_t
8460while test "x$ac_lo" != "x$ac_hi"; do 8405_ACEOF
8461 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 8406;;
8407 esac
8408
8409
8410 { echo "$as_me:$LINENO: checking for uint32_t" >&5
8411echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
8412if test "${ac_cv_c_uint32_t+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8414else
8415 ac_cv_c_uint32_t=no
8416 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
8417 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
8462 cat >conftest.$ac_ext <<_ACEOF 8418 cat >conftest.$ac_ext <<_ACEOF
8463/* confdefs.h. */ 8419/* confdefs.h. */
8464_ACEOF 8420_ACEOF
8465cat confdefs.h >>conftest.$ac_ext 8421cat confdefs.h >>conftest.$ac_ext
8466cat >>conftest.$ac_ext <<_ACEOF 8422cat >>conftest.$ac_ext <<_ACEOF
8467/* end confdefs.h. */ 8423/* end confdefs.h. */
8468$ac_includes_default 8424$ac_includes_default
8469 typedef short ac__type_sizeof_;
8470int 8425int
8471main () 8426main ()
8472{ 8427{
8473static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 8428static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
8474test_array [0] = 0 8429test_array [0] = 0
8475 8430
8476 ; 8431 ;
8477 return 0; 8432 return 0;
8478} 8433}
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } && { 8448 (exit $ac_status); } && {
8494 test -z "$ac_cxx_werror_flag" || 8449 test -z "$ac_cxx_werror_flag" ||
8495 test ! -s conftest.err 8450 test ! -s conftest.err
8496 } && test -s conftest.$ac_objext; then 8451 } && test -s conftest.$ac_objext; then
8497 ac_hi=$ac_mid 8452 case $ac_type in
8453 uint32_t) ac_cv_c_uint32_t=yes ;;
8454 *) ac_cv_c_uint32_t=$ac_type ;;
8455esac
8456
8498else 8457else
8499 echo "$as_me: failed program was:" >&5 8458 echo "$as_me: failed program was:" >&5
8500sed 's/^/| /' conftest.$ac_ext >&5 8459sed 's/^/| /' conftest.$ac_ext >&5
8501 8460
8502 ac_lo=`expr '(' $ac_mid ')' + 1` 8461
8503fi 8462fi
8504 8463
8505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8506done 8465 test "$ac_cv_c_uint32_t" != no && break
8507case $ac_lo in 8466 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 8467fi
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 8468{ echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
8601echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } 8469echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
8470 case $ac_cv_c_uint32_t in #(
8471 no|yes) ;; #(
8472 *)
8602 8473
8474cat >>confdefs.h <<\_ACEOF
8475#define _UINT32_T 1
8476_ACEOF
8603 8477
8604 8478
8605cat >>confdefs.h <<_ACEOF 8479cat >>confdefs.h <<_ACEOF
8606#define SIZEOF_SHORT $ac_cv_sizeof_short 8480#define uint32_t $ac_cv_c_uint32_t
8607_ACEOF 8481_ACEOF
8608 8482;;
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 8483 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 8484
10220 8485
10221 8486
10222for ac_func in unsetenv 8487for ac_func in unsetenv
10223do 8488do
10464fi 8729fi
10465done 8730done
10466 8731
10467 8732
10468 8733
10469
10470
10471for ac_header in \ 8734for ac_header in lastlog.h
10472 utmp.h \
10473 utmpx.h \
10474 lastlog.h \
10475
10476do 8735do
10477as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8736as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10478if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8737if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10479 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8738 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10480echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8739echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10611 8870
10612done 8871done
10613 8872
10614 8873
10615 8874
10616if test "${ac_cv_header_utmp_h+set}" = set; then 8875
8876for ac_header in utmp.h
8877do
8878as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8879if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10617 { echo "$as_me:$LINENO: checking for utmp.h" >&5 8880 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10618echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8881echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10619if test "${ac_cv_header_utmp_h+set}" = set; then 8882if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6 8883 echo $ECHO_N "(cached) $ECHO_C" >&6
10621fi 8884fi
8885ac_res=`eval echo '${'$as_ac_Header'}'`
10622{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 8886 { echo "$as_me:$LINENO: result: $ac_res" >&5
10623echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 8887echo "${ECHO_T}$ac_res" >&6; }
10624else 8888else
10625 # Is the header compilable? 8889 # Is the header compilable?
10626{ echo "$as_me:$LINENO: checking utmp.h usability" >&5 8890{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10627echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } 8891echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10628cat >conftest.$ac_ext <<_ACEOF 8892cat >conftest.$ac_ext <<_ACEOF
10629/* confdefs.h. */ 8893/* confdefs.h. */
10630_ACEOF 8894_ACEOF
10631cat confdefs.h >>conftest.$ac_ext 8895cat confdefs.h >>conftest.$ac_ext
10632cat >>conftest.$ac_ext <<_ACEOF 8896cat >>conftest.$ac_ext <<_ACEOF
10633/* end confdefs.h. */ 8897/* end confdefs.h. */
10634$ac_includes_default 8898$ac_includes_default
10635#include <utmp.h> 8899#include <$ac_header>
10636_ACEOF 8900_ACEOF
10637rm -f conftest.$ac_objext 8901rm -f conftest.$ac_objext
10638if { (ac_try="$ac_compile" 8902if { (ac_try="$ac_compile"
10639case "(($ac_try" in 8903case "(($ac_try" in
10640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10663{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8927{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10664echo "${ECHO_T}$ac_header_compiler" >&6; } 8928echo "${ECHO_T}$ac_header_compiler" >&6; }
10665 8929
10666# Is the header present? 8930# Is the header present?
10667{ echo "$as_me:$LINENO: checking utmp.h presence" >&5 8931{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10668echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } 8932echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10669cat >conftest.$ac_ext <<_ACEOF 8933cat >conftest.$ac_ext <<_ACEOF
10670/* confdefs.h. */ 8934/* confdefs.h. */
10671_ACEOF 8935_ACEOF
10672cat confdefs.h >>conftest.$ac_ext 8936cat confdefs.h >>conftest.$ac_ext
10673cat >>conftest.$ac_ext <<_ACEOF 8937cat >>conftest.$ac_ext <<_ACEOF
10674/* end confdefs.h. */ 8938/* end confdefs.h. */
10675#include <utmp.h> 8939#include <$ac_header>
10676_ACEOF 8940_ACEOF
10677if { (ac_try="$ac_cpp conftest.$ac_ext" 8941if { (ac_try="$ac_cpp conftest.$ac_ext"
10678case "(($ac_try" in 8942case "(($ac_try" in
10679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10680 *) ac_try_echo=$ac_try;; 8944 *) ac_try_echo=$ac_try;;
10703echo "${ECHO_T}$ac_header_preproc" >&6; } 8967echo "${ECHO_T}$ac_header_preproc" >&6; }
10704 8968
10705# So? What about this header? 8969# So? What about this header?
10706case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8970case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10707 yes:no: ) 8971 yes:no: )
10708 { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 8972 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10709echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8973echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10710 { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 8974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10711echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} 8975echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10712 ac_header_preproc=yes 8976 ac_header_preproc=yes
10713 ;; 8977 ;;
10714 no:yes:* ) 8978 no:yes:* )
10715 { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 8979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10716echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} 8980echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10717 { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 8981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10718echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} 8982echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10719 { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 8983 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10720echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} 8984echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10721 { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 8985 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10722echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 8986echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10723 { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 8987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10724echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} 8988echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10725 { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 8989 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10726echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} 8990echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10727 8991
10728 ;; 8992 ;;
10729esac 8993esac
10730{ echo "$as_me:$LINENO: checking for utmp.h" >&5 8994{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10731echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8995echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10732if test "${ac_cv_header_utmp_h+set}" = set; then 8996if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10733 echo $ECHO_N "(cached) $ECHO_C" >&6 8997 echo $ECHO_N "(cached) $ECHO_C" >&6
10734else 8998else
10735 ac_cv_header_utmp_h=$ac_header_preproc 8999 eval "$as_ac_Header=\$ac_header_preproc"
10736fi 9000fi
9001ac_res=`eval echo '${'$as_ac_Header'}'`
10737{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 9002 { echo "$as_me:$LINENO: result: $ac_res" >&5
10738echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 9003echo "${ECHO_T}$ac_res" >&6; }
10739 9004
10740fi 9005fi
10741if test $ac_cv_header_utmp_h = yes; then 9006if test `eval echo '${'$as_ac_Header'}'` = yes; then
9007 cat >>confdefs.h <<_ACEOF
9008#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9009_ACEOF
10742 { echo "$as_me:$LINENO: checking for struct utmp" >&5 9010 { echo "$as_me:$LINENO: checking for struct utmp" >&5
10743echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } 9011echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; }
10744if test "${struct_utmp+set}" = set; then 9012if test "${struct_utmp+set}" = set; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6 9013 echo $ECHO_N "(cached) $ECHO_C" >&6
10746else 9014else
10747 cat >conftest.$ac_ext <<_ACEOF 9015 cat >conftest.$ac_ext <<_ACEOF
10914 9182
10915fi 9183fi
10916 9184
10917fi 9185fi
10918 9186
9187done
10919 9188
10920 9189
10921if test "${ac_cv_header_utmpx_h+set}" = set; then 9190
9191for ac_header in utmpx.h
9192do
9193as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9194if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10922 { echo "$as_me:$LINENO: checking for utmpx.h" >&5 9195 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10923echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9196echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10924if test "${ac_cv_header_utmpx_h+set}" = set; then 9197if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6 9198 echo $ECHO_N "(cached) $ECHO_C" >&6
10926fi 9199fi
9200ac_res=`eval echo '${'$as_ac_Header'}'`
10927{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 9201 { echo "$as_me:$LINENO: result: $ac_res" >&5
10928echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9202echo "${ECHO_T}$ac_res" >&6; }
10929else 9203else
10930 # Is the header compilable? 9204 # Is the header compilable?
10931{ echo "$as_me:$LINENO: checking utmpx.h usability" >&5 9205{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10932echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } 9206echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10933cat >conftest.$ac_ext <<_ACEOF 9207cat >conftest.$ac_ext <<_ACEOF
10934/* confdefs.h. */ 9208/* confdefs.h. */
10935_ACEOF 9209_ACEOF
10936cat confdefs.h >>conftest.$ac_ext 9210cat confdefs.h >>conftest.$ac_ext
10937cat >>conftest.$ac_ext <<_ACEOF 9211cat >>conftest.$ac_ext <<_ACEOF
10938/* end confdefs.h. */ 9212/* end confdefs.h. */
10939$ac_includes_default 9213$ac_includes_default
10940#include <utmpx.h> 9214#include <$ac_header>
10941_ACEOF 9215_ACEOF
10942rm -f conftest.$ac_objext 9216rm -f conftest.$ac_objext
10943if { (ac_try="$ac_compile" 9217if { (ac_try="$ac_compile"
10944case "(($ac_try" in 9218case "(($ac_try" in
10945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10968{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9242{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10969echo "${ECHO_T}$ac_header_compiler" >&6; } 9243echo "${ECHO_T}$ac_header_compiler" >&6; }
10970 9244
10971# Is the header present? 9245# Is the header present?
10972{ echo "$as_me:$LINENO: checking utmpx.h presence" >&5 9246{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10973echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } 9247echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10974cat >conftest.$ac_ext <<_ACEOF 9248cat >conftest.$ac_ext <<_ACEOF
10975/* confdefs.h. */ 9249/* confdefs.h. */
10976_ACEOF 9250_ACEOF
10977cat confdefs.h >>conftest.$ac_ext 9251cat confdefs.h >>conftest.$ac_ext
10978cat >>conftest.$ac_ext <<_ACEOF 9252cat >>conftest.$ac_ext <<_ACEOF
10979/* end confdefs.h. */ 9253/* end confdefs.h. */
10980#include <utmpx.h> 9254#include <$ac_header>
10981_ACEOF 9255_ACEOF
10982if { (ac_try="$ac_cpp conftest.$ac_ext" 9256if { (ac_try="$ac_cpp conftest.$ac_ext"
10983case "(($ac_try" in 9257case "(($ac_try" in
10984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10985 *) ac_try_echo=$ac_try;; 9259 *) ac_try_echo=$ac_try;;
11008echo "${ECHO_T}$ac_header_preproc" >&6; } 9282echo "${ECHO_T}$ac_header_preproc" >&6; }
11009 9283
11010# So? What about this header? 9284# So? What about this header?
11011case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9285case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11012 yes:no: ) 9286 yes:no: )
11013 { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 9287 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11014echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9288echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11015 { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 9289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11016echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} 9290echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11017 ac_header_preproc=yes 9291 ac_header_preproc=yes
11018 ;; 9292 ;;
11019 no:yes:* ) 9293 no:yes:* )
11020 { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 9294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11021echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} 9295echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11022 { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 9296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11023echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} 9297echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11024 { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 9298 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11025echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} 9299echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11026 { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 9300 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11027echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} 9301echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11028 { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 9302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11029echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} 9303echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11030 { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 9304 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11031echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} 9305echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11032 9306
11033 ;; 9307 ;;
11034esac 9308esac
11035{ echo "$as_me:$LINENO: checking for utmpx.h" >&5 9309{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11036echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9310echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11037if test "${ac_cv_header_utmpx_h+set}" = set; then 9311if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11038 echo $ECHO_N "(cached) $ECHO_C" >&6 9312 echo $ECHO_N "(cached) $ECHO_C" >&6
11039else 9313else
11040 ac_cv_header_utmpx_h=$ac_header_preproc 9314 eval "$as_ac_Header=\$ac_header_preproc"
11041fi 9315fi
9316ac_res=`eval echo '${'$as_ac_Header'}'`
11042{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 9317 { echo "$as_me:$LINENO: result: $ac_res" >&5
11043echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9318echo "${ECHO_T}$ac_res" >&6; }
11044 9319
11045fi 9320fi
11046if test $ac_cv_header_utmpx_h = yes; then 9321if test `eval echo '${'$as_ac_Header'}'` = yes; then
9322 cat >>confdefs.h <<_ACEOF
9323#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9324_ACEOF
11047 { echo "$as_me:$LINENO: checking for struct utmpx" >&5 9325 { echo "$as_me:$LINENO: checking for struct utmpx" >&5
11048echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } 9326echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; }
11049if test "${struct_utmpx+set}" = set; then 9327if test "${struct_utmpx+set}" = set; then
11050 echo $ECHO_N "(cached) $ECHO_C" >&6 9328 echo $ECHO_N "(cached) $ECHO_C" >&6
11051else 9329else
11052 cat >conftest.$ac_ext <<_ACEOF 9330 cat >conftest.$ac_ext <<_ACEOF
11219 9497
11220fi 9498fi
11221 9499
11222fi 9500fi
11223 9501
9502done
11224 9503
11225{ echo "$as_me:$LINENO: checking for struct lastlog" >&5 9504{ echo "$as_me:$LINENO: checking for struct lastlog" >&5
11226echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } 9505echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; }
11227if test "${struct_lastlog+set}" = set; then 9506if test "${struct_lastlog+set}" = set; then
11228 echo $ECHO_N "(cached) $ECHO_C" >&6 9507 echo $ECHO_N "(cached) $ECHO_C" >&6
12298 10577
12299 10578
12300 10579
12301 10580
12302 10581
10582
12303for ac_header in \ 10583for ac_header in \
12304 pty.h \ 10584 pty.h \
12305 util.h \ 10585 util.h \
12306 libutil.h \ 10586 libutil.h \
12307 sys/ioctl.h \ 10587 sys/ioctl.h \
12308 sys/stropts.h \ 10588 sys/stropts.h \
10589 stropts.h \
12309 10590
12310do 10591do
12311as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10592as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12312if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10593if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12313 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10594 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13336_ACEOF 11617_ACEOF
13337 11618
13338fi 11619fi
13339 11620
13340 11621
11622scrolltypes=plain
11623
11624cat >>confdefs.h <<\_ACEOF
11625#define PLAIN_SCROLLBAR 1
11626_ACEOF
11627
11628
13341if test x$support_scroll_rxvt = xyes; then 11629if test x$support_scroll_rxvt = xyes; then
13342 11630
13343cat >>confdefs.h <<\_ACEOF 11631cat >>confdefs.h <<\_ACEOF
13344#define RXVT_SCROLLBAR 1 11632#define RXVT_SCROLLBAR 1
13345_ACEOF 11633_ACEOF
13346 11634
13347 scrolltypes="rxvt" 11635 scrolltypes="$scrolltypes rxvt"
13348fi 11636fi
13349if test x$support_scroll_next = xyes; then 11637if test x$support_scroll_next = xyes; then
13350 11638
13351cat >>confdefs.h <<\_ACEOF 11639cat >>confdefs.h <<\_ACEOF
13352#define NEXT_SCROLLBAR 1 11640#define NEXT_SCROLLBAR 1
13359cat >>confdefs.h <<\_ACEOF 11647cat >>confdefs.h <<\_ACEOF
13360#define XTERM_SCROLLBAR 1 11648#define XTERM_SCROLLBAR 1
13361_ACEOF 11649_ACEOF
13362 11650
13363 scrolltypes="$scrolltypes xterm" 11651 scrolltypes="$scrolltypes xterm"
13364fi
13365if test x$support_scroll_plain = xyes; then
13366
13367cat >>confdefs.h <<\_ACEOF
13368#define PLAIN_SCROLLBAR 1
13369_ACEOF
13370
13371 scrolltypes="$scrolltypes plain"
13372fi 11652fi
13373if test x$support_pointer_blank = xyes; then 11653if test x$support_pointer_blank = xyes; then
13374 11654
13375cat >>confdefs.h <<\_ACEOF 11655cat >>confdefs.h <<\_ACEOF
13376#define POINTER_BLANK 1 11656#define POINTER_BLANK 1
13639_ACEOF 11919_ACEOF
13640program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 11920program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
13641rm -f conftest.sed 11921rm -f conftest.sed
13642 11922
13643 11923
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" 11924ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
13714 11925
13715cat >confcache <<\_ACEOF 11926cat >confcache <<\_ACEOF
13716# This file is a shell script that caches the results of configure 11927# This file is a shell script that caches the results of configure
13717# tests run on this system so they can be shared between configure 11928# tests run on this system so they can be shared between configure
13718# scripts and configure runs, see configure's option --config-cache. 11929# scripts and configure runs, see configure's option --config-cache.
14267 case $ac_config_target in 12478 case $ac_config_target in
14268 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 12479 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
14269 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12480 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14270 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 12481 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14271 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12482 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14272 "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
14273 12483
14274 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 12484 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14275echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12485echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14276 { (exit 1); exit 1; }; };; 12486 { (exit 1); exit 1; }; };;
14277 esac 12487 esac
14376host_cpu!$host_cpu$ac_delim 12586host_cpu!$host_cpu$ac_delim
14377host_vendor!$host_vendor$ac_delim 12587host_vendor!$host_vendor$ac_delim
14378host_os!$host_os$ac_delim 12588host_os!$host_os$ac_delim
14379VERSION!$VERSION$ac_delim 12589VERSION!$VERSION$ac_delim
14380DATE!$DATE$ac_delim 12590DATE!$DATE$ac_delim
14381LSMDATE!$LSMDATE$ac_delim
14382LIBVERSION!$LIBVERSION$ac_delim
14383CC!$CC$ac_delim 12591CC!$CC$ac_delim
14384CFLAGS!$CFLAGS$ac_delim 12592CFLAGS!$CFLAGS$ac_delim
14385LDFLAGS!$LDFLAGS$ac_delim 12593LDFLAGS!$LDFLAGS$ac_delim
14386CPPFLAGS!$CPPFLAGS$ac_delim 12594CPPFLAGS!$CPPFLAGS$ac_delim
14387ac_ct_CC!$ac_ct_CC$ac_delim 12595ac_ct_CC!$ac_ct_CC$ac_delim
14395INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 12603INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
14396INSTALL_DATA!$INSTALL_DATA$ac_delim 12604INSTALL_DATA!$INSTALL_DATA$ac_delim
14397GREP!$GREP$ac_delim 12605GREP!$GREP$ac_delim
14398EGREP!$EGREP$ac_delim 12606EGREP!$EGREP$ac_delim
14399LINKER!$LINKER$ac_delim 12607LINKER!$LINKER$ac_delim
14400INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim
14401RXVTNAME!$RXVTNAME$ac_delim 12608RXVTNAME!$RXVTNAME$ac_delim
14402CXXCPP!$CXXCPP$ac_delim 12609CXXCPP!$CXXCPP$ac_delim
14403TIC!$TIC$ac_delim 12610TIC!$TIC$ac_delim
14404XMKMF!$XMKMF$ac_delim 12611XMKMF!$XMKMF$ac_delim
14405X_CFLAGS!$X_CFLAGS$ac_delim 12612X_CFLAGS!$X_CFLAGS$ac_delim
14406X_PRE_LIBS!$X_PRE_LIBS$ac_delim 12613X_PRE_LIBS!$X_PRE_LIBS$ac_delim
14407X_LIBS!$X_LIBS$ac_delim 12614X_LIBS!$X_LIBS$ac_delim
14408X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim 12615X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
14409afterimage_config!$afterimage_config$ac_delim 12616afterimage_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 12617PKG_CONFIG!$PKG_CONFIG$ac_delim
14417XFT_CONFIG!$XFT_CONFIG$ac_delim 12618XFT_CONFIG!$XFT_CONFIG$ac_delim
14418PERL!$PERL$ac_delim 12619PERL!$PERL$ac_delim
14419PERLLIB!$PERLLIB$ac_delim 12620PERLLIB!$PERLLIB$ac_delim
14420PERLFLAGS!$PERLFLAGS$ac_delim 12621PERLFLAGS!$PERLFLAGS$ac_delim
14421PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 12622PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
14422IF_PERL!$IF_PERL$ac_delim 12623IF_PERL!$IF_PERL$ac_delim
14423PERL_O!$PERL_O$ac_delim 12624PERL_O!$PERL_O$ac_delim
14424AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim 12625AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
14425AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim 12626AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
14426include_stdint_h!$include_stdint_h$ac_delim 12627LIBOBJS!$LIBOBJS$ac_delim
14427include_stdarg_h!$include_stdarg_h$ac_delim 12628LTLIBOBJS!$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 12629_ACEOF
14432 12630
14433 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 12631 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
14434 break 12632 break
14435 elif $ac_last_try; then 12633 elif $ac_last_try; then
14436 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12634 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14437echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12635echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14438 { (exit 1); exit 1; }; } 12636 { (exit 1); exit 1; }; }
14447 ac_eof=`expr $ac_eof + 1` 12645 ac_eof=`expr $ac_eof + 1`
14448fi 12646fi
14449 12647
14450cat >>$CONFIG_STATUS <<_ACEOF 12648cat >>$CONFIG_STATUS <<_ACEOF
14451cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 12649cat >"\$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 12650/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14504_ACEOF 12651_ACEOF
14505sed ' 12652sed '
14506s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 12653s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14507s/^/s,@/; s/!/@,|#_!!_#|/ 12654s/^/s,@/; s/!/@,|#_!!_#|/
14760s&@builddir@&$ac_builddir&;t t 12907s&@builddir@&$ac_builddir&;t t
14761s&@abs_builddir@&$ac_abs_builddir&;t t 12908s&@abs_builddir@&$ac_abs_builddir&;t t
14762s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 12909s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14763s&@INSTALL@&$ac_INSTALL&;t t 12910s&@INSTALL@&$ac_INSTALL&;t t
14764$ac_datarootdir_hack 12911$ac_datarootdir_hack
14765" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 12912" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
14766 12913
14767test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 12914test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14768 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 12915 { 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"; } && 12916 { 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' 12917 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines