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

Comparing rxvt-unicode/configure (file contents):
Revision 1.118 by root, Sun Nov 18 01:31:38 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
5368 5337
5369 5338
5370 5339
5371 5340
5372 5341
5373for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h 5342
5343
5344
5345
5346
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
5374do 5348do
5375as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5349as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5376if { 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
5377 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5378echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5352echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5511 5485
5512 5486
5513 5487
5514 5488
5515 5489
5516for ac_func in epoll_ctl kqueue port_create 5490
5491
5492
5493
5494
5495for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd
5517do 5496do
5518as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5497as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5519{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5498{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5520echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5499echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5521if { 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
5690echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } 5669echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; }
5691if test $ac_cv_func_clock_gettime = yes; then 5670if test $ac_cv_func_clock_gettime = yes; then
5692 : 5671 :
5693else 5672else
5694 5673
5695 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
5696 5731
5697{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 5732{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
5698echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } 5733echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
5699if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 5734if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6 5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5762 5797
5763 LIBS="-lrt $LIBS" 5798 LIBS="-lrt $LIBS"
5764 5799
5765fi 5800fi
5766 5801
5802 unset ac_cv_func_clock_gettime
5767 5803
5768for 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
5769do 6062do
5770as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6063as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5771{ echo "$as_me:$LINENO: checking for $ac_func" >&5 6064{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5772echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6065echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5773if { 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
5931_ACEOF 6224_ACEOF
5932 6225
5933 LIBS="-lm $LIBS" 6226 LIBS="-lm $LIBS"
5934 6227
5935fi 6228fi
5936
5937
5938 6229
5939 6230
5940 6231
5941 6232
5942 6233
5977echo "${ECHO_T}$TIC" >&6; } 6268echo "${ECHO_T}$TIC" >&6; }
5978else 6269else
5979 { echo "$as_me:$LINENO: result: no" >&5 6270 { echo "$as_me:$LINENO: result: no" >&5
5980echo "${ECHO_T}no" >&6; } 6271echo "${ECHO_T}no" >&6; }
5981fi 6272fi
5982
5983
5984 6273
5985 6274
5986 6275
5987{ echo "$as_me:$LINENO: checking for X" >&5 6276{ echo "$as_me:$LINENO: checking for X" >&5
5988echo $ECHO_N "checking for X... $ECHO_C" >&6; } 6277echo $ECHO_N "checking for X... $ECHO_C" >&6; }
7375echo "${ECHO_T}no" >&6; } 7664echo "${ECHO_T}no" >&6; }
7376 fi 7665 fi
7377 fi 7666 fi
7378fi 7667fi
7379 7668
7380{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7381echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
7382if test "${ac_cv_header_sys_wait_h+set}" = set; then
7383 echo $ECHO_N "(cached) $ECHO_C" >&6
7384else
7385 cat >conftest.$ac_ext <<_ACEOF
7386/* confdefs.h. */
7387_ACEOF
7388cat confdefs.h >>conftest.$ac_ext
7389cat >>conftest.$ac_ext <<_ACEOF
7390/* end confdefs.h. */
7391#include <sys/types.h>
7392#include <sys/wait.h>
7393#ifndef WEXITSTATUS
7394# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
7395#endif
7396#ifndef WIFEXITED
7397# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7398#endif
7399
7400int
7401main ()
7402{
7403 int s;
7404 wait (&s);
7405 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7406 ;
7407 return 0;
7408}
7409_ACEOF
7410rm -f conftest.$ac_objext
7411if { (ac_try="$ac_compile"
7412case "(($ac_try" in
7413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7414 *) ac_try_echo=$ac_try;;
7415esac
7416eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7417 (eval "$ac_compile") 2>conftest.er1
7418 ac_status=$?
7419 grep -v '^ *+' conftest.er1 >conftest.err
7420 rm -f conftest.er1
7421 cat conftest.err >&5
7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423 (exit $ac_status); } && {
7424 test -z "$ac_cxx_werror_flag" ||
7425 test ! -s conftest.err
7426 } && test -s conftest.$ac_objext; then
7427 ac_cv_header_sys_wait_h=yes
7428else
7429 echo "$as_me: failed program was:" >&5
7430sed 's/^/| /' conftest.$ac_ext >&5
7431
7432 ac_cv_header_sys_wait_h=no
7433fi
7434
7435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7436fi
7437{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
7438echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
7439if test $ac_cv_header_sys_wait_h = yes; then
7440
7441cat >>confdefs.h <<\_ACEOF
7442#define HAVE_SYS_WAIT_H 1
7443_ACEOF
7444
7445fi
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457 7669
7458 7670
7459 7671
7460 7672
7461 7673
7462 7674
7463 7675
7464for ac_header in \ 7676for ac_header in \
7465 assert.h \
7466 fcntl.h \
7467 stdarg.h \
7468 stdlib.h \
7469 string.h \
7470 termios.h \
7471 unistd.h \
7472 sys/byteorder.h \ 7677 sys/byteorder.h \
7473 sys/ioctl.h \ 7678 sys/ioctl.h \
7474 sys/select.h \
7475 sys/sockio.h \ 7679 sys/sockio.h \
7476 sys/strredir.h \ 7680 sys/strredir.h \
7477 sys/time.h \
7478 stdint.h \ 7681 stdint.h \
7479 wchar.h \ 7682 wchar.h \
7480 cwchar \ 7683 cwchar \
7481 clocale \
7482 7684
7483do 7685do
7484as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7686as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7485if { 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
7486 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7688 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7617fi 7819fi
7618 7820
7619done 7821done
7620 7822
7621 7823
7622{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7623echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
7624if test "${ac_cv_header_time+set}" = set; then
7625 echo $ECHO_N "(cached) $ECHO_C" >&6
7626else
7627 cat >conftest.$ac_ext <<_ACEOF
7628/* confdefs.h. */
7629_ACEOF
7630cat confdefs.h >>conftest.$ac_ext
7631cat >>conftest.$ac_ext <<_ACEOF
7632/* end confdefs.h. */
7633#include <sys/types.h>
7634#include <sys/time.h>
7635#include <time.h>
7636
7637int
7638main ()
7639{
7640if ((struct tm *) 0)
7641return 0;
7642 ;
7643 return 0;
7644}
7645_ACEOF
7646rm -f conftest.$ac_objext
7647if { (ac_try="$ac_compile"
7648case "(($ac_try" in
7649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7650 *) ac_try_echo=$ac_try;;
7651esac
7652eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7653 (eval "$ac_compile") 2>conftest.er1
7654 ac_status=$?
7655 grep -v '^ *+' conftest.er1 >conftest.err
7656 rm -f conftest.er1
7657 cat conftest.err >&5
7658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7659 (exit $ac_status); } && {
7660 test -z "$ac_cxx_werror_flag" ||
7661 test ! -s conftest.err
7662 } && test -s conftest.$ac_objext; then
7663 ac_cv_header_time=yes
7664else
7665 echo "$as_me: failed program was:" >&5
7666sed 's/^/| /' conftest.$ac_ext >&5
7667
7668 ac_cv_header_time=no
7669fi
7670
7671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7672fi
7673{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7674echo "${ECHO_T}$ac_cv_header_time" >&6; }
7675if test $ac_cv_header_time = yes; then
7676
7677cat >>confdefs.h <<\_ACEOF
7678#define TIME_WITH_SYS_TIME 1
7679_ACEOF
7680
7681fi
7682
7683
7684{ echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5
7685echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; }
7686if test "${rxvt_cv_header_sysioctl+set}" = set; then
7687 echo $ECHO_N "(cached) $ECHO_C" >&6
7688else
7689 cat >conftest.$ac_ext <<_ACEOF
7690/* confdefs.h. */
7691_ACEOF
7692cat confdefs.h >>conftest.$ac_ext
7693cat >>conftest.$ac_ext <<_ACEOF
7694/* end confdefs.h. */
7695#include <stdio.h>
7696#include <sys/ioctl.h>
7697#ifdef HAVE_TERMIOS_H
7698#include <termios.h>
7699#endif
7700int
7701main ()
7702{
7703int a = ECHO;
7704 ;
7705 return 0;
7706}
7707_ACEOF
7708rm -f conftest.$ac_objext
7709if { (ac_try="$ac_compile"
7710case "(($ac_try" in
7711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7712 *) ac_try_echo=$ac_try;;
7713esac
7714eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7715 (eval "$ac_compile") 2>conftest.er1
7716 ac_status=$?
7717 grep -v '^ *+' conftest.er1 >conftest.err
7718 rm -f conftest.er1
7719 cat conftest.err >&5
7720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721 (exit $ac_status); } && {
7722 test -z "$ac_cxx_werror_flag" ||
7723 test ! -s conftest.err
7724 } && test -s conftest.$ac_objext; then
7725 rxvt_cv_header_sysioctl=yes
7726else
7727 echo "$as_me: failed program was:" >&5
7728sed 's/^/| /' conftest.$ac_ext >&5
7729
7730 rxvt_cv_header_sysioctl=no
7731fi
7732
7733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7734fi
7735{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7736echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; }
7737
7738{ echo "$as_me:$LINENO: checking for XPointer" >&5 7824{ echo "$as_me:$LINENO: checking for XPointer" >&5
7739echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } 7825echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; }
7740if test "${rxvt_cv_xpointer+set}" = set; then 7826if test "${rxvt_cv_xpointer+set}" = set; then
7741 echo $ECHO_N "(cached) $ECHO_C" >&6 7827 echo $ECHO_N "(cached) $ECHO_C" >&6
7742else 7828else
7853cat >>confdefs.h <<\_ACEOF 7939cat >>confdefs.h <<\_ACEOF
7854#define XLIB_ILLEGAL_ACCESS 1 7940#define XLIB_ILLEGAL_ACCESS 1
7855_ACEOF 7941_ACEOF
7856 7942
7857fi 7943fi
7858
7859{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7860echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
7861if test "${ac_cv_c_const+set}" = set; then
7862 echo $ECHO_N "(cached) $ECHO_C" >&6
7863else
7864 cat >conftest.$ac_ext <<_ACEOF
7865/* confdefs.h. */
7866_ACEOF
7867cat confdefs.h >>conftest.$ac_ext
7868cat >>conftest.$ac_ext <<_ACEOF
7869/* end confdefs.h. */
7870
7871int
7872main ()
7873{
7874/* FIXME: Include the comments suggested by Paul. */
7875#ifndef __cplusplus
7876 /* Ultrix mips cc rejects this. */
7877 typedef int charset[2];
7878 const charset cs;
7879 /* SunOS 4.1.1 cc rejects this. */
7880 char const *const *pcpcc;
7881 char **ppc;
7882 /* NEC SVR4.0.2 mips cc rejects this. */
7883 struct point {int x, y;};
7884 static struct point const zero = {0,0};
7885 /* AIX XL C 1.02.0.0 rejects this.
7886 It does not let you subtract one const X* pointer from another in
7887 an arm of an if-expression whose if-part is not a constant
7888 expression */
7889 const char *g = "string";
7890 pcpcc = &g + (g ? g-g : 0);
7891 /* HPUX 7.0 cc rejects these. */
7892 ++pcpcc;
7893 ppc = (char**) pcpcc;
7894 pcpcc = (char const *const *) ppc;
7895 { /* SCO 3.2v4 cc rejects this. */
7896 char *t;
7897 char const *s = 0 ? (char *) 0 : (char const *) 0;
7898
7899 *t++ = 0;
7900 if (s) return 0;
7901 }
7902 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7903 int x[] = {25, 17};
7904 const int *foo = &x[0];
7905 ++foo;
7906 }
7907 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7908 typedef const int *iptr;
7909 iptr p = 0;
7910 ++p;
7911 }
7912 { /* AIX XL C 1.02.0.0 rejects this saying
7913 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7914 struct s { int j; const int *ap[3]; };
7915 struct s *b; b->j = 5;
7916 }
7917 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7918 const int foo = 10;
7919 if (!foo) return 0;
7920 }
7921 return !cs[0] && !zero.x;
7922#endif
7923
7924 ;
7925 return 0;
7926}
7927_ACEOF
7928rm -f conftest.$ac_objext
7929if { (ac_try="$ac_compile"
7930case "(($ac_try" in
7931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7932 *) ac_try_echo=$ac_try;;
7933esac
7934eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7935 (eval "$ac_compile") 2>conftest.er1
7936 ac_status=$?
7937 grep -v '^ *+' conftest.er1 >conftest.err
7938 rm -f conftest.er1
7939 cat conftest.err >&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); } && {
7942 test -z "$ac_cxx_werror_flag" ||
7943 test ! -s conftest.err
7944 } && test -s conftest.$ac_objext; then
7945 ac_cv_c_const=yes
7946else
7947 echo "$as_me: failed program was:" >&5
7948sed 's/^/| /' conftest.$ac_ext >&5
7949
7950 ac_cv_c_const=no
7951fi
7952
7953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7954fi
7955{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7956echo "${ECHO_T}$ac_cv_c_const" >&6; }
7957if test $ac_cv_c_const = no; then
7958
7959cat >>confdefs.h <<\_ACEOF
7960#define const
7961_ACEOF
7962
7963fi
7964
7965{ echo "$as_me:$LINENO: checking for inline" >&5
7966echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
7967if test "${ac_cv_c_inline+set}" = set; then
7968 echo $ECHO_N "(cached) $ECHO_C" >&6
7969else
7970 ac_cv_c_inline=no
7971for ac_kw in inline __inline__ __inline; do
7972 cat >conftest.$ac_ext <<_ACEOF
7973/* confdefs.h. */
7974_ACEOF
7975cat confdefs.h >>conftest.$ac_ext
7976cat >>conftest.$ac_ext <<_ACEOF
7977/* end confdefs.h. */
7978#ifndef __cplusplus
7979typedef int foo_t;
7980static $ac_kw foo_t static_foo () {return 0; }
7981$ac_kw foo_t foo () {return 0; }
7982#endif
7983
7984_ACEOF
7985rm -f conftest.$ac_objext
7986if { (ac_try="$ac_compile"
7987case "(($ac_try" in
7988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7989 *) ac_try_echo=$ac_try;;
7990esac
7991eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7992 (eval "$ac_compile") 2>conftest.er1
7993 ac_status=$?
7994 grep -v '^ *+' conftest.er1 >conftest.err
7995 rm -f conftest.er1
7996 cat conftest.err >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); } && {
7999 test -z "$ac_cxx_werror_flag" ||
8000 test ! -s conftest.err
8001 } && test -s conftest.$ac_objext; then
8002 ac_cv_c_inline=$ac_kw
8003else
8004 echo "$as_me: failed program was:" >&5
8005sed 's/^/| /' conftest.$ac_ext >&5
8006
8007
8008fi
8009
8010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8011 test "$ac_cv_c_inline" != no && break
8012done
8013
8014fi
8015{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8016echo "${ECHO_T}$ac_cv_c_inline" >&6; }
8017
8018
8019case $ac_cv_c_inline in
8020 inline | yes) ;;
8021 *)
8022 case $ac_cv_c_inline in
8023 no) ac_val=;;
8024 *) ac_val=$ac_cv_c_inline;;
8025 esac
8026 cat >>confdefs.h <<_ACEOF
8027#ifndef __cplusplus
8028#define inline $ac_val
8029#endif
8030_ACEOF
8031 ;;
8032esac
8033
8034
8035 7944
8036{ echo "$as_me:$LINENO: checking for mode_t" >&5 7945{ echo "$as_me:$LINENO: checking for mode_t" >&5
8037echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } 7946echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
8038if test "${ac_cv_type_mode_t+set}" = set; then 7947if test "${ac_cv_type_mode_t+set}" = set; then
8039 echo $ECHO_N "(cached) $ECHO_C" >&6 7948 echo $ECHO_N "(cached) $ECHO_C" >&6
8196_ACEOF 8105_ACEOF
8197 8106
8198fi 8107fi
8199 8108
8200 8109
8201{ echo "$as_me:$LINENO: checking for short" >&5 8110 { echo "$as_me:$LINENO: checking for int16_t" >&5
8202echo $ECHO_N "checking for short... $ECHO_C" >&6; } 8111echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
8203if test "${ac_cv_type_short+set}" = set; then 8112if test "${ac_cv_c_int16_t+set}" = set; then
8204 echo $ECHO_N "(cached) $ECHO_C" >&6 8113 echo $ECHO_N "(cached) $ECHO_C" >&6
8205else 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
8206 cat >conftest.$ac_ext <<_ACEOF 8118 cat >conftest.$ac_ext <<_ACEOF
8207/* confdefs.h. */ 8119/* confdefs.h. */
8208_ACEOF 8120_ACEOF
8209cat confdefs.h >>conftest.$ac_ext 8121cat confdefs.h >>conftest.$ac_ext
8210cat >>conftest.$ac_ext <<_ACEOF 8122cat >>conftest.$ac_ext <<_ACEOF
8211/* end confdefs.h. */ 8123/* end confdefs.h. */
8212$ac_includes_default 8124$ac_includes_default
8213typedef short ac__type_new_;
8214int 8125int
8215main () 8126main ()
8216{ 8127{
8217if ((ac__type_new_ *) 0) 8128static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
8218 return 0; 8129test_array [0] = 0
8219if (sizeof (ac__type_new_)) 8130
8220 return 0;
8221 ; 8131 ;
8222 return 0; 8132 return 0;
8223} 8133}
8224_ACEOF 8134_ACEOF
8225rm -f conftest.$ac_objext 8135rm -f conftest.$ac_objext
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); } && { 8148 (exit $ac_status); } && {
8239 test -z "$ac_cxx_werror_flag" || 8149 test -z "$ac_cxx_werror_flag" ||
8240 test ! -s conftest.err 8150 test ! -s conftest.err
8241 } && test -s conftest.$ac_objext; then 8151 } && test -s conftest.$ac_objext; then
8242 ac_cv_type_short=yes
8243else
8244 echo "$as_me: failed program was:" >&5
8245sed 's/^/| /' conftest.$ac_ext >&5
8246
8247 ac_cv_type_short=no
8248fi
8249
8250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8251fi
8252{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8253echo "${ECHO_T}$ac_cv_type_short" >&6; }
8254
8255# The cast to long int works around a bug in the HP C Compiler
8256# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8257# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8258# This bug is HP SR number 8606223364.
8259{ echo "$as_me:$LINENO: checking size of short" >&5
8260echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
8261if test "${ac_cv_sizeof_short+set}" = set; then
8262 echo $ECHO_N "(cached) $ECHO_C" >&6
8263else
8264 if test "$cross_compiling" = yes; then
8265 # Depending upon the size, compute the lo and hi bounds.
8266cat >conftest.$ac_ext <<_ACEOF 8152 cat >conftest.$ac_ext <<_ACEOF
8267/* confdefs.h. */ 8153/* confdefs.h. */
8268_ACEOF 8154_ACEOF
8269cat confdefs.h >>conftest.$ac_ext 8155cat confdefs.h >>conftest.$ac_ext
8270cat >>conftest.$ac_ext <<_ACEOF 8156cat >>conftest.$ac_ext <<_ACEOF
8271/* end confdefs.h. */ 8157/* end confdefs.h. */
8272$ac_includes_default 8158$ac_includes_default
8273 typedef short ac__type_sizeof_;
8274int 8159int
8275main () 8160main ()
8276{ 8161{
8277static 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))];
8278test_array [0] = 0 8164test_array [0] = 0
8279 8165
8280 ; 8166 ;
8281 return 0; 8167 return 0;
8282} 8168}
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); } && { 8183 (exit $ac_status); } && {
8298 test -z "$ac_cxx_werror_flag" || 8184 test -z "$ac_cxx_werror_flag" ||
8299 test ! -s conftest.err 8185 test ! -s conftest.err
8300 } && test -s conftest.$ac_objext; then 8186 } && test -s conftest.$ac_objext; then
8301 ac_lo=0 ac_mid=0 8187 :
8302 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
8303 cat >conftest.$ac_ext <<_ACEOF 8232 cat >conftest.$ac_ext <<_ACEOF
8304/* confdefs.h. */ 8233/* confdefs.h. */
8305_ACEOF 8234_ACEOF
8306cat confdefs.h >>conftest.$ac_ext 8235cat confdefs.h >>conftest.$ac_ext
8307cat >>conftest.$ac_ext <<_ACEOF 8236cat >>conftest.$ac_ext <<_ACEOF
8308/* end confdefs.h. */ 8237/* end confdefs.h. */
8309$ac_includes_default 8238$ac_includes_default
8310 typedef short ac__type_sizeof_;
8311int 8239int
8312main () 8240main ()
8313{ 8241{
8314static 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)];
8315test_array [0] = 0 8243test_array [0] = 0
8316 8244
8317 ; 8245 ;
8318 return 0; 8246 return 0;
8319} 8247}
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); } && { 8262 (exit $ac_status); } && {
8335 test -z "$ac_cxx_werror_flag" || 8263 test -z "$ac_cxx_werror_flag" ||
8336 test ! -s conftest.err 8264 test ! -s conftest.err
8337 } && test -s conftest.$ac_objext; then 8265 } && test -s conftest.$ac_objext; then
8338 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
8339else 8271else
8340 echo "$as_me: failed program was:" >&5 8272 echo "$as_me: failed program was:" >&5
8341sed 's/^/| /' conftest.$ac_ext >&5 8273sed 's/^/| /' conftest.$ac_ext >&5
8342 8274
8343 ac_lo=`expr $ac_mid + 1` 8275
8344 if test $ac_lo -le $ac_mid; then
8345 ac_lo= ac_hi=
8346 break
8347 fi
8348 ac_mid=`expr 2 '*' $ac_mid + 1`
8349fi 8276fi
8350 8277
8351rm -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
8352 done 8280 done
8353else 8281fi
8354 echo "$as_me: failed program was:" >&5 8282{ echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
8355sed '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 *)
8356 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
8357 cat >conftest.$ac_ext <<_ACEOF 8304 cat >conftest.$ac_ext <<_ACEOF
8358/* confdefs.h. */ 8305/* confdefs.h. */
8359_ACEOF 8306_ACEOF
8360cat confdefs.h >>conftest.$ac_ext 8307cat confdefs.h >>conftest.$ac_ext
8361cat >>conftest.$ac_ext <<_ACEOF 8308cat >>conftest.$ac_ext <<_ACEOF
8362/* end confdefs.h. */ 8309/* end confdefs.h. */
8363$ac_includes_default 8310$ac_includes_default
8364 typedef short ac__type_sizeof_;
8365int 8311int
8366main () 8312main ()
8367{ 8313{
8368static 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))];
8369test_array [0] = 0 8315test_array [0] = 0
8370 8316
8371 ; 8317 ;
8372 return 0; 8318 return 0;
8373} 8319}
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); } && { 8334 (exit $ac_status); } && {
8389 test -z "$ac_cxx_werror_flag" || 8335 test -z "$ac_cxx_werror_flag" ||
8390 test ! -s conftest.err 8336 test ! -s conftest.err
8391 } && test -s conftest.$ac_objext; then 8337 } && test -s conftest.$ac_objext; then
8392 ac_hi=-1 ac_mid=-1
8393 while :; do
8394 cat >conftest.$ac_ext <<_ACEOF 8338 cat >conftest.$ac_ext <<_ACEOF
8395/* confdefs.h. */ 8339/* confdefs.h. */
8396_ACEOF 8340_ACEOF
8397cat confdefs.h >>conftest.$ac_ext 8341cat confdefs.h >>conftest.$ac_ext
8398cat >>conftest.$ac_ext <<_ACEOF 8342cat >>conftest.$ac_ext <<_ACEOF
8399/* end confdefs.h. */ 8343/* end confdefs.h. */
8400$ac_includes_default 8344$ac_includes_default
8401 typedef short ac__type_sizeof_;
8402int 8345int
8403main () 8346main ()
8404{ 8347{
8405static 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))];
8406test_array [0] = 0 8350test_array [0] = 0
8407 8351
8408 ; 8352 ;
8409 return 0; 8353 return 0;
8410} 8354}
8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8425 (exit $ac_status); } && { 8369 (exit $ac_status); } && {
8426 test -z "$ac_cxx_werror_flag" || 8370 test -z "$ac_cxx_werror_flag" ||
8427 test ! -s conftest.err 8371 test ! -s conftest.err
8428 } && test -s conftest.$ac_objext; then 8372 } && test -s conftest.$ac_objext; then
8429 ac_lo=$ac_mid; break 8373 :
8430else 8374else
8431 echo "$as_me: failed program was:" >&5 8375 echo "$as_me: failed program was:" >&5
8432sed 's/^/| /' conftest.$ac_ext >&5 8376sed 's/^/| /' conftest.$ac_ext >&5
8433 8377
8434 ac_hi=`expr '(' $ac_mid ')' - 1` 8378 case $ac_type in
8435 if test $ac_mid -le $ac_hi; then 8379 int32_t) ac_cv_c_int32_t=yes ;;
8436 ac_lo= ac_hi= 8380 *) ac_cv_c_int32_t=$ac_type ;;
8437 break 8381esac
8438 fi 8382
8439 ac_mid=`expr 2 '*' $ac_mid`
8440fi 8383fi
8441 8384
8442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8443 done
8444else 8386else
8445 echo "$as_me: failed program was:" >&5 8387 echo "$as_me: failed program was:" >&5
8446sed 's/^/| /' conftest.$ac_ext >&5 8388sed 's/^/| /' conftest.$ac_ext >&5
8447 8389
8448 ac_lo= ac_hi= 8390
8449fi 8391fi
8450 8392
8451rm -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
8452fi 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 *)
8453 8402
8454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8403cat >>confdefs.h <<_ACEOF
8455# Binary search between lo and hi bounds. 8404#define int32_t $ac_cv_c_int32_t
8456while test "x$ac_lo" != "x$ac_hi"; do 8405_ACEOF
8457 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
8458 cat >conftest.$ac_ext <<_ACEOF 8418 cat >conftest.$ac_ext <<_ACEOF
8459/* confdefs.h. */ 8419/* confdefs.h. */
8460_ACEOF 8420_ACEOF
8461cat confdefs.h >>conftest.$ac_ext 8421cat confdefs.h >>conftest.$ac_ext
8462cat >>conftest.$ac_ext <<_ACEOF 8422cat >>conftest.$ac_ext <<_ACEOF
8463/* end confdefs.h. */ 8423/* end confdefs.h. */
8464$ac_includes_default 8424$ac_includes_default
8465 typedef short ac__type_sizeof_;
8466int 8425int
8467main () 8426main ()
8468{ 8427{
8469static 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)];
8470test_array [0] = 0 8429test_array [0] = 0
8471 8430
8472 ; 8431 ;
8473 return 0; 8432 return 0;
8474} 8433}
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } && { 8448 (exit $ac_status); } && {
8490 test -z "$ac_cxx_werror_flag" || 8449 test -z "$ac_cxx_werror_flag" ||
8491 test ! -s conftest.err 8450 test ! -s conftest.err
8492 } && test -s conftest.$ac_objext; then 8451 } && test -s conftest.$ac_objext; then
8493 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
8494else 8457else
8495 echo "$as_me: failed program was:" >&5 8458 echo "$as_me: failed program was:" >&5
8496sed 's/^/| /' conftest.$ac_ext >&5 8459sed 's/^/| /' conftest.$ac_ext >&5
8497 8460
8498 ac_lo=`expr '(' $ac_mid ')' + 1` 8461
8499fi 8462fi
8500 8463
8501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8502done 8465 test "$ac_cv_c_uint32_t" != no && break
8503case $ac_lo in 8466 done
8504?*) ac_cv_sizeof_short=$ac_lo;;
8505'') if test "$ac_cv_type_short" = yes; then
8506 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
8507See \`config.log' for more details." >&5
8508echo "$as_me: error: cannot compute sizeof (short)
8509See \`config.log' for more details." >&2;}
8510 { (exit 77); exit 77; }; }
8511 else
8512 ac_cv_sizeof_short=0
8513 fi ;;
8514esac
8515else
8516 cat >conftest.$ac_ext <<_ACEOF
8517/* confdefs.h. */
8518_ACEOF
8519cat confdefs.h >>conftest.$ac_ext
8520cat >>conftest.$ac_ext <<_ACEOF
8521/* end confdefs.h. */
8522$ac_includes_default
8523 typedef short ac__type_sizeof_;
8524static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8525static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8526#include <stdio.h>
8527#include <stdlib.h>
8528int
8529main ()
8530{
8531
8532 FILE *f = fopen ("conftest.val", "w");
8533 if (! f)
8534 return 1;
8535 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8536 {
8537 long int i = longval ();
8538 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8539 return 1;
8540 fprintf (f, "%ld\n", i);
8541 }
8542 else
8543 {
8544 unsigned long int i = ulongval ();
8545 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8546 return 1;
8547 fprintf (f, "%lu\n", i);
8548 }
8549 return ferror (f) || fclose (f) != 0;
8550
8551 ;
8552 return 0;
8553}
8554_ACEOF
8555rm -f conftest$ac_exeext
8556if { (ac_try="$ac_link"
8557case "(($ac_try" in
8558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8559 *) ac_try_echo=$ac_try;;
8560esac
8561eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8562 (eval "$ac_link") 2>&5
8563 ac_status=$?
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8566 { (case "(($ac_try" in
8567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8568 *) ac_try_echo=$ac_try;;
8569esac
8570eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8571 (eval "$ac_try") 2>&5
8572 ac_status=$?
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); }; }; then
8575 ac_cv_sizeof_short=`cat conftest.val`
8576else
8577 echo "$as_me: program exited with status $ac_status" >&5
8578echo "$as_me: failed program was:" >&5
8579sed 's/^/| /' conftest.$ac_ext >&5
8580
8581( exit $ac_status )
8582if test "$ac_cv_type_short" = yes; then
8583 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
8584See \`config.log' for more details." >&5
8585echo "$as_me: error: cannot compute sizeof (short)
8586See \`config.log' for more details." >&2;}
8587 { (exit 77); exit 77; }; }
8588 else
8589 ac_cv_sizeof_short=0
8590 fi
8591fi 8467fi
8592rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8593fi
8594rm -f conftest.val
8595fi
8596{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 8468{ echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
8597echo "${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 *)
8598 8473
8474cat >>confdefs.h <<\_ACEOF
8475#define _UINT32_T 1
8476_ACEOF
8599 8477
8600 8478
8601cat >>confdefs.h <<_ACEOF 8479cat >>confdefs.h <<_ACEOF
8602#define SIZEOF_SHORT $ac_cv_sizeof_short 8480#define uint32_t $ac_cv_c_uint32_t
8603_ACEOF 8481_ACEOF
8604 8482;;
8605
8606{ echo "$as_me:$LINENO: checking for int" >&5
8607echo $ECHO_N "checking for int... $ECHO_C" >&6; }
8608if test "${ac_cv_type_int+set}" = set; then
8609 echo $ECHO_N "(cached) $ECHO_C" >&6
8610else
8611 cat >conftest.$ac_ext <<_ACEOF
8612/* confdefs.h. */
8613_ACEOF
8614cat confdefs.h >>conftest.$ac_ext
8615cat >>conftest.$ac_ext <<_ACEOF
8616/* end confdefs.h. */
8617$ac_includes_default
8618typedef int ac__type_new_;
8619int
8620main ()
8621{
8622if ((ac__type_new_ *) 0)
8623 return 0;
8624if (sizeof (ac__type_new_))
8625 return 0;
8626 ;
8627 return 0;
8628}
8629_ACEOF
8630rm -f conftest.$ac_objext
8631if { (ac_try="$ac_compile"
8632case "(($ac_try" in
8633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8634 *) ac_try_echo=$ac_try;;
8635esac 8483 esac
8636eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8637 (eval "$ac_compile") 2>conftest.er1
8638 ac_status=$?
8639 grep -v '^ *+' conftest.er1 >conftest.err
8640 rm -f conftest.er1
8641 cat conftest.err >&5
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); } && {
8644 test -z "$ac_cxx_werror_flag" ||
8645 test ! -s conftest.err
8646 } && test -s conftest.$ac_objext; then
8647 ac_cv_type_int=yes
8648else
8649 echo "$as_me: failed program was:" >&5
8650sed 's/^/| /' conftest.$ac_ext >&5
8651
8652 ac_cv_type_int=no
8653fi
8654
8655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8656fi
8657{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8658echo "${ECHO_T}$ac_cv_type_int" >&6; }
8659
8660# The cast to long int works around a bug in the HP C Compiler
8661# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8662# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8663# This bug is HP SR number 8606223364.
8664{ echo "$as_me:$LINENO: checking size of int" >&5
8665echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
8666if test "${ac_cv_sizeof_int+set}" = set; then
8667 echo $ECHO_N "(cached) $ECHO_C" >&6
8668else
8669 if test "$cross_compiling" = yes; then
8670 # Depending upon the size, compute the lo and hi bounds.
8671cat >conftest.$ac_ext <<_ACEOF
8672/* confdefs.h. */
8673_ACEOF
8674cat confdefs.h >>conftest.$ac_ext
8675cat >>conftest.$ac_ext <<_ACEOF
8676/* end confdefs.h. */
8677$ac_includes_default
8678 typedef int ac__type_sizeof_;
8679int
8680main ()
8681{
8682static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8683test_array [0] = 0
8684
8685 ;
8686 return 0;
8687}
8688_ACEOF
8689rm -f conftest.$ac_objext
8690if { (ac_try="$ac_compile"
8691case "(($ac_try" in
8692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8693 *) ac_try_echo=$ac_try;;
8694esac
8695eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8696 (eval "$ac_compile") 2>conftest.er1
8697 ac_status=$?
8698 grep -v '^ *+' conftest.er1 >conftest.err
8699 rm -f conftest.er1
8700 cat conftest.err >&5
8701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 (exit $ac_status); } && {
8703 test -z "$ac_cxx_werror_flag" ||
8704 test ! -s conftest.err
8705 } && test -s conftest.$ac_objext; then
8706 ac_lo=0 ac_mid=0
8707 while :; do
8708 cat >conftest.$ac_ext <<_ACEOF
8709/* confdefs.h. */
8710_ACEOF
8711cat confdefs.h >>conftest.$ac_ext
8712cat >>conftest.$ac_ext <<_ACEOF
8713/* end confdefs.h. */
8714$ac_includes_default
8715 typedef int ac__type_sizeof_;
8716int
8717main ()
8718{
8719static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8720test_array [0] = 0
8721
8722 ;
8723 return 0;
8724}
8725_ACEOF
8726rm -f conftest.$ac_objext
8727if { (ac_try="$ac_compile"
8728case "(($ac_try" in
8729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8730 *) ac_try_echo=$ac_try;;
8731esac
8732eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8733 (eval "$ac_compile") 2>conftest.er1
8734 ac_status=$?
8735 grep -v '^ *+' conftest.er1 >conftest.err
8736 rm -f conftest.er1
8737 cat conftest.err >&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); } && {
8740 test -z "$ac_cxx_werror_flag" ||
8741 test ! -s conftest.err
8742 } && test -s conftest.$ac_objext; then
8743 ac_hi=$ac_mid; break
8744else
8745 echo "$as_me: failed program was:" >&5
8746sed 's/^/| /' conftest.$ac_ext >&5
8747
8748 ac_lo=`expr $ac_mid + 1`
8749 if test $ac_lo -le $ac_mid; then
8750 ac_lo= ac_hi=
8751 break
8752 fi
8753 ac_mid=`expr 2 '*' $ac_mid + 1`
8754fi
8755
8756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8757 done
8758else
8759 echo "$as_me: failed program was:" >&5
8760sed 's/^/| /' conftest.$ac_ext >&5
8761
8762 cat >conftest.$ac_ext <<_ACEOF
8763/* confdefs.h. */
8764_ACEOF
8765cat confdefs.h >>conftest.$ac_ext
8766cat >>conftest.$ac_ext <<_ACEOF
8767/* end confdefs.h. */
8768$ac_includes_default
8769 typedef int ac__type_sizeof_;
8770int
8771main ()
8772{
8773static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8774test_array [0] = 0
8775
8776 ;
8777 return 0;
8778}
8779_ACEOF
8780rm -f conftest.$ac_objext
8781if { (ac_try="$ac_compile"
8782case "(($ac_try" in
8783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8784 *) ac_try_echo=$ac_try;;
8785esac
8786eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8787 (eval "$ac_compile") 2>conftest.er1
8788 ac_status=$?
8789 grep -v '^ *+' conftest.er1 >conftest.err
8790 rm -f conftest.er1
8791 cat conftest.err >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } && {
8794 test -z "$ac_cxx_werror_flag" ||
8795 test ! -s conftest.err
8796 } && test -s conftest.$ac_objext; then
8797 ac_hi=-1 ac_mid=-1
8798 while :; do
8799 cat >conftest.$ac_ext <<_ACEOF
8800/* confdefs.h. */
8801_ACEOF
8802cat confdefs.h >>conftest.$ac_ext
8803cat >>conftest.$ac_ext <<_ACEOF
8804/* end confdefs.h. */
8805$ac_includes_default
8806 typedef int ac__type_sizeof_;
8807int
8808main ()
8809{
8810static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8811test_array [0] = 0
8812
8813 ;
8814 return 0;
8815}
8816_ACEOF
8817rm -f conftest.$ac_objext
8818if { (ac_try="$ac_compile"
8819case "(($ac_try" in
8820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8821 *) ac_try_echo=$ac_try;;
8822esac
8823eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8824 (eval "$ac_compile") 2>conftest.er1
8825 ac_status=$?
8826 grep -v '^ *+' conftest.er1 >conftest.err
8827 rm -f conftest.er1
8828 cat conftest.err >&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); } && {
8831 test -z "$ac_cxx_werror_flag" ||
8832 test ! -s conftest.err
8833 } && test -s conftest.$ac_objext; then
8834 ac_lo=$ac_mid; break
8835else
8836 echo "$as_me: failed program was:" >&5
8837sed 's/^/| /' conftest.$ac_ext >&5
8838
8839 ac_hi=`expr '(' $ac_mid ')' - 1`
8840 if test $ac_mid -le $ac_hi; then
8841 ac_lo= ac_hi=
8842 break
8843 fi
8844 ac_mid=`expr 2 '*' $ac_mid`
8845fi
8846
8847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8848 done
8849else
8850 echo "$as_me: failed program was:" >&5
8851sed 's/^/| /' conftest.$ac_ext >&5
8852
8853 ac_lo= ac_hi=
8854fi
8855
8856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8857fi
8858
8859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8860# Binary search between lo and hi bounds.
8861while test "x$ac_lo" != "x$ac_hi"; do
8862 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8863 cat >conftest.$ac_ext <<_ACEOF
8864/* confdefs.h. */
8865_ACEOF
8866cat confdefs.h >>conftest.$ac_ext
8867cat >>conftest.$ac_ext <<_ACEOF
8868/* end confdefs.h. */
8869$ac_includes_default
8870 typedef int ac__type_sizeof_;
8871int
8872main ()
8873{
8874static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8875test_array [0] = 0
8876
8877 ;
8878 return 0;
8879}
8880_ACEOF
8881rm -f conftest.$ac_objext
8882if { (ac_try="$ac_compile"
8883case "(($ac_try" in
8884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8885 *) ac_try_echo=$ac_try;;
8886esac
8887eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8888 (eval "$ac_compile") 2>conftest.er1
8889 ac_status=$?
8890 grep -v '^ *+' conftest.er1 >conftest.err
8891 rm -f conftest.er1
8892 cat conftest.err >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); } && {
8895 test -z "$ac_cxx_werror_flag" ||
8896 test ! -s conftest.err
8897 } && test -s conftest.$ac_objext; then
8898 ac_hi=$ac_mid
8899else
8900 echo "$as_me: failed program was:" >&5
8901sed 's/^/| /' conftest.$ac_ext >&5
8902
8903 ac_lo=`expr '(' $ac_mid ')' + 1`
8904fi
8905
8906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8907done
8908case $ac_lo in
8909?*) ac_cv_sizeof_int=$ac_lo;;
8910'') if test "$ac_cv_type_int" = yes; then
8911 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
8912See \`config.log' for more details." >&5
8913echo "$as_me: error: cannot compute sizeof (int)
8914See \`config.log' for more details." >&2;}
8915 { (exit 77); exit 77; }; }
8916 else
8917 ac_cv_sizeof_int=0
8918 fi ;;
8919esac
8920else
8921 cat >conftest.$ac_ext <<_ACEOF
8922/* confdefs.h. */
8923_ACEOF
8924cat confdefs.h >>conftest.$ac_ext
8925cat >>conftest.$ac_ext <<_ACEOF
8926/* end confdefs.h. */
8927$ac_includes_default
8928 typedef int ac__type_sizeof_;
8929static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8930static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8931#include <stdio.h>
8932#include <stdlib.h>
8933int
8934main ()
8935{
8936
8937 FILE *f = fopen ("conftest.val", "w");
8938 if (! f)
8939 return 1;
8940 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8941 {
8942 long int i = longval ();
8943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8944 return 1;
8945 fprintf (f, "%ld\n", i);
8946 }
8947 else
8948 {
8949 unsigned long int i = ulongval ();
8950 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8951 return 1;
8952 fprintf (f, "%lu\n", i);
8953 }
8954 return ferror (f) || fclose (f) != 0;
8955
8956 ;
8957 return 0;
8958}
8959_ACEOF
8960rm -f conftest$ac_exeext
8961if { (ac_try="$ac_link"
8962case "(($ac_try" in
8963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8964 *) ac_try_echo=$ac_try;;
8965esac
8966eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8967 (eval "$ac_link") 2>&5
8968 ac_status=$?
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8971 { (case "(($ac_try" in
8972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8973 *) ac_try_echo=$ac_try;;
8974esac
8975eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8976 (eval "$ac_try") 2>&5
8977 ac_status=$?
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); }; }; then
8980 ac_cv_sizeof_int=`cat conftest.val`
8981else
8982 echo "$as_me: program exited with status $ac_status" >&5
8983echo "$as_me: failed program was:" >&5
8984sed 's/^/| /' conftest.$ac_ext >&5
8985
8986( exit $ac_status )
8987if test "$ac_cv_type_int" = yes; then
8988 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
8989See \`config.log' for more details." >&5
8990echo "$as_me: error: cannot compute sizeof (int)
8991See \`config.log' for more details." >&2;}
8992 { (exit 77); exit 77; }; }
8993 else
8994 ac_cv_sizeof_int=0
8995 fi
8996fi
8997rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8998fi
8999rm -f conftest.val
9000fi
9001{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
9002echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
9003
9004
9005
9006cat >>confdefs.h <<_ACEOF
9007#define SIZEOF_INT $ac_cv_sizeof_int
9008_ACEOF
9009
9010
9011{ echo "$as_me:$LINENO: checking for long long" >&5
9012echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
9013if test "${ac_cv_type_long_long+set}" = set; then
9014 echo $ECHO_N "(cached) $ECHO_C" >&6
9015else
9016 cat >conftest.$ac_ext <<_ACEOF
9017/* confdefs.h. */
9018_ACEOF
9019cat confdefs.h >>conftest.$ac_ext
9020cat >>conftest.$ac_ext <<_ACEOF
9021/* end confdefs.h. */
9022$ac_includes_default
9023typedef long long ac__type_new_;
9024int
9025main ()
9026{
9027if ((ac__type_new_ *) 0)
9028 return 0;
9029if (sizeof (ac__type_new_))
9030 return 0;
9031 ;
9032 return 0;
9033}
9034_ACEOF
9035rm -f conftest.$ac_objext
9036if { (ac_try="$ac_compile"
9037case "(($ac_try" in
9038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9039 *) ac_try_echo=$ac_try;;
9040esac
9041eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9042 (eval "$ac_compile") 2>conftest.er1
9043 ac_status=$?
9044 grep -v '^ *+' conftest.er1 >conftest.err
9045 rm -f conftest.er1
9046 cat conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } && {
9049 test -z "$ac_cxx_werror_flag" ||
9050 test ! -s conftest.err
9051 } && test -s conftest.$ac_objext; then
9052 ac_cv_type_long_long=yes
9053else
9054 echo "$as_me: failed program was:" >&5
9055sed 's/^/| /' conftest.$ac_ext >&5
9056
9057 ac_cv_type_long_long=no
9058fi
9059
9060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9061fi
9062{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
9063echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
9064
9065# The cast to long int works around a bug in the HP C Compiler
9066# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9067# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9068# This bug is HP SR number 8606223364.
9069{ echo "$as_me:$LINENO: checking size of long long" >&5
9070echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
9071if test "${ac_cv_sizeof_long_long+set}" = set; then
9072 echo $ECHO_N "(cached) $ECHO_C" >&6
9073else
9074 if test "$cross_compiling" = yes; then
9075 # Depending upon the size, compute the lo and hi bounds.
9076cat >conftest.$ac_ext <<_ACEOF
9077/* confdefs.h. */
9078_ACEOF
9079cat confdefs.h >>conftest.$ac_ext
9080cat >>conftest.$ac_ext <<_ACEOF
9081/* end confdefs.h. */
9082$ac_includes_default
9083 typedef long long ac__type_sizeof_;
9084int
9085main ()
9086{
9087static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9088test_array [0] = 0
9089
9090 ;
9091 return 0;
9092}
9093_ACEOF
9094rm -f conftest.$ac_objext
9095if { (ac_try="$ac_compile"
9096case "(($ac_try" in
9097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9098 *) ac_try_echo=$ac_try;;
9099esac
9100eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9101 (eval "$ac_compile") 2>conftest.er1
9102 ac_status=$?
9103 grep -v '^ *+' conftest.er1 >conftest.err
9104 rm -f conftest.er1
9105 cat conftest.err >&5
9106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107 (exit $ac_status); } && {
9108 test -z "$ac_cxx_werror_flag" ||
9109 test ! -s conftest.err
9110 } && test -s conftest.$ac_objext; then
9111 ac_lo=0 ac_mid=0
9112 while :; do
9113 cat >conftest.$ac_ext <<_ACEOF
9114/* confdefs.h. */
9115_ACEOF
9116cat confdefs.h >>conftest.$ac_ext
9117cat >>conftest.$ac_ext <<_ACEOF
9118/* end confdefs.h. */
9119$ac_includes_default
9120 typedef long long ac__type_sizeof_;
9121int
9122main ()
9123{
9124static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9125test_array [0] = 0
9126
9127 ;
9128 return 0;
9129}
9130_ACEOF
9131rm -f conftest.$ac_objext
9132if { (ac_try="$ac_compile"
9133case "(($ac_try" in
9134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9135 *) ac_try_echo=$ac_try;;
9136esac
9137eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9138 (eval "$ac_compile") 2>conftest.er1
9139 ac_status=$?
9140 grep -v '^ *+' conftest.er1 >conftest.err
9141 rm -f conftest.er1
9142 cat conftest.err >&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); } && {
9145 test -z "$ac_cxx_werror_flag" ||
9146 test ! -s conftest.err
9147 } && test -s conftest.$ac_objext; then
9148 ac_hi=$ac_mid; break
9149else
9150 echo "$as_me: failed program was:" >&5
9151sed 's/^/| /' conftest.$ac_ext >&5
9152
9153 ac_lo=`expr $ac_mid + 1`
9154 if test $ac_lo -le $ac_mid; then
9155 ac_lo= ac_hi=
9156 break
9157 fi
9158 ac_mid=`expr 2 '*' $ac_mid + 1`
9159fi
9160
9161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9162 done
9163else
9164 echo "$as_me: failed program was:" >&5
9165sed 's/^/| /' conftest.$ac_ext >&5
9166
9167 cat >conftest.$ac_ext <<_ACEOF
9168/* confdefs.h. */
9169_ACEOF
9170cat confdefs.h >>conftest.$ac_ext
9171cat >>conftest.$ac_ext <<_ACEOF
9172/* end confdefs.h. */
9173$ac_includes_default
9174 typedef long long ac__type_sizeof_;
9175int
9176main ()
9177{
9178static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9179test_array [0] = 0
9180
9181 ;
9182 return 0;
9183}
9184_ACEOF
9185rm -f conftest.$ac_objext
9186if { (ac_try="$ac_compile"
9187case "(($ac_try" in
9188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9189 *) ac_try_echo=$ac_try;;
9190esac
9191eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9192 (eval "$ac_compile") 2>conftest.er1
9193 ac_status=$?
9194 grep -v '^ *+' conftest.er1 >conftest.err
9195 rm -f conftest.er1
9196 cat conftest.err >&5
9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 (exit $ac_status); } && {
9199 test -z "$ac_cxx_werror_flag" ||
9200 test ! -s conftest.err
9201 } && test -s conftest.$ac_objext; then
9202 ac_hi=-1 ac_mid=-1
9203 while :; do
9204 cat >conftest.$ac_ext <<_ACEOF
9205/* confdefs.h. */
9206_ACEOF
9207cat confdefs.h >>conftest.$ac_ext
9208cat >>conftest.$ac_ext <<_ACEOF
9209/* end confdefs.h. */
9210$ac_includes_default
9211 typedef long long ac__type_sizeof_;
9212int
9213main ()
9214{
9215static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9216test_array [0] = 0
9217
9218 ;
9219 return 0;
9220}
9221_ACEOF
9222rm -f conftest.$ac_objext
9223if { (ac_try="$ac_compile"
9224case "(($ac_try" in
9225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9226 *) ac_try_echo=$ac_try;;
9227esac
9228eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9229 (eval "$ac_compile") 2>conftest.er1
9230 ac_status=$?
9231 grep -v '^ *+' conftest.er1 >conftest.err
9232 rm -f conftest.er1
9233 cat conftest.err >&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); } && {
9236 test -z "$ac_cxx_werror_flag" ||
9237 test ! -s conftest.err
9238 } && test -s conftest.$ac_objext; then
9239 ac_lo=$ac_mid; break
9240else
9241 echo "$as_me: failed program was:" >&5
9242sed 's/^/| /' conftest.$ac_ext >&5
9243
9244 ac_hi=`expr '(' $ac_mid ')' - 1`
9245 if test $ac_mid -le $ac_hi; then
9246 ac_lo= ac_hi=
9247 break
9248 fi
9249 ac_mid=`expr 2 '*' $ac_mid`
9250fi
9251
9252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9253 done
9254else
9255 echo "$as_me: failed program was:" >&5
9256sed 's/^/| /' conftest.$ac_ext >&5
9257
9258 ac_lo= ac_hi=
9259fi
9260
9261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9262fi
9263
9264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9265# Binary search between lo and hi bounds.
9266while test "x$ac_lo" != "x$ac_hi"; do
9267 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9268 cat >conftest.$ac_ext <<_ACEOF
9269/* confdefs.h. */
9270_ACEOF
9271cat confdefs.h >>conftest.$ac_ext
9272cat >>conftest.$ac_ext <<_ACEOF
9273/* end confdefs.h. */
9274$ac_includes_default
9275 typedef long long ac__type_sizeof_;
9276int
9277main ()
9278{
9279static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9280test_array [0] = 0
9281
9282 ;
9283 return 0;
9284}
9285_ACEOF
9286rm -f conftest.$ac_objext
9287if { (ac_try="$ac_compile"
9288case "(($ac_try" in
9289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9290 *) ac_try_echo=$ac_try;;
9291esac
9292eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9293 (eval "$ac_compile") 2>conftest.er1
9294 ac_status=$?
9295 grep -v '^ *+' conftest.er1 >conftest.err
9296 rm -f conftest.er1
9297 cat conftest.err >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); } && {
9300 test -z "$ac_cxx_werror_flag" ||
9301 test ! -s conftest.err
9302 } && test -s conftest.$ac_objext; then
9303 ac_hi=$ac_mid
9304else
9305 echo "$as_me: failed program was:" >&5
9306sed 's/^/| /' conftest.$ac_ext >&5
9307
9308 ac_lo=`expr '(' $ac_mid ')' + 1`
9309fi
9310
9311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9312done
9313case $ac_lo in
9314?*) ac_cv_sizeof_long_long=$ac_lo;;
9315'') if test "$ac_cv_type_long_long" = yes; then
9316 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9317See \`config.log' for more details." >&5
9318echo "$as_me: error: cannot compute sizeof (long long)
9319See \`config.log' for more details." >&2;}
9320 { (exit 77); exit 77; }; }
9321 else
9322 ac_cv_sizeof_long_long=0
9323 fi ;;
9324esac
9325else
9326 cat >conftest.$ac_ext <<_ACEOF
9327/* confdefs.h. */
9328_ACEOF
9329cat confdefs.h >>conftest.$ac_ext
9330cat >>conftest.$ac_ext <<_ACEOF
9331/* end confdefs.h. */
9332$ac_includes_default
9333 typedef long long ac__type_sizeof_;
9334static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9335static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9336#include <stdio.h>
9337#include <stdlib.h>
9338int
9339main ()
9340{
9341
9342 FILE *f = fopen ("conftest.val", "w");
9343 if (! f)
9344 return 1;
9345 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9346 {
9347 long int i = longval ();
9348 if (i != ((long int) (sizeof (ac__type_sizeof_))))
9349 return 1;
9350 fprintf (f, "%ld\n", i);
9351 }
9352 else
9353 {
9354 unsigned long int i = ulongval ();
9355 if (i != ((long int) (sizeof (ac__type_sizeof_))))
9356 return 1;
9357 fprintf (f, "%lu\n", i);
9358 }
9359 return ferror (f) || fclose (f) != 0;
9360
9361 ;
9362 return 0;
9363}
9364_ACEOF
9365rm -f conftest$ac_exeext
9366if { (ac_try="$ac_link"
9367case "(($ac_try" in
9368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9369 *) ac_try_echo=$ac_try;;
9370esac
9371eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9372 (eval "$ac_link") 2>&5
9373 ac_status=$?
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9376 { (case "(($ac_try" in
9377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9378 *) ac_try_echo=$ac_try;;
9379esac
9380eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9381 (eval "$ac_try") 2>&5
9382 ac_status=$?
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; }; then
9385 ac_cv_sizeof_long_long=`cat conftest.val`
9386else
9387 echo "$as_me: program exited with status $ac_status" >&5
9388echo "$as_me: failed program was:" >&5
9389sed 's/^/| /' conftest.$ac_ext >&5
9390
9391( exit $ac_status )
9392if test "$ac_cv_type_long_long" = yes; then
9393 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9394See \`config.log' for more details." >&5
9395echo "$as_me: error: cannot compute sizeof (long long)
9396See \`config.log' for more details." >&2;}
9397 { (exit 77); exit 77; }; }
9398 else
9399 ac_cv_sizeof_long_long=0
9400 fi
9401fi
9402rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9403fi
9404rm -f conftest.val
9405fi
9406{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
9407echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
9408
9409
9410
9411cat >>confdefs.h <<_ACEOF
9412#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9413_ACEOF
9414
9415
9416{ echo "$as_me:$LINENO: checking for int *" >&5
9417echo $ECHO_N "checking for int *... $ECHO_C" >&6; }
9418if test "${ac_cv_type_int_p+set}" = set; then
9419 echo $ECHO_N "(cached) $ECHO_C" >&6
9420else
9421 cat >conftest.$ac_ext <<_ACEOF
9422/* confdefs.h. */
9423_ACEOF
9424cat confdefs.h >>conftest.$ac_ext
9425cat >>conftest.$ac_ext <<_ACEOF
9426/* end confdefs.h. */
9427$ac_includes_default
9428typedef int * ac__type_new_;
9429int
9430main ()
9431{
9432if ((ac__type_new_ *) 0)
9433 return 0;
9434if (sizeof (ac__type_new_))
9435 return 0;
9436 ;
9437 return 0;
9438}
9439_ACEOF
9440rm -f conftest.$ac_objext
9441if { (ac_try="$ac_compile"
9442case "(($ac_try" in
9443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9444 *) ac_try_echo=$ac_try;;
9445esac
9446eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9447 (eval "$ac_compile") 2>conftest.er1
9448 ac_status=$?
9449 grep -v '^ *+' conftest.er1 >conftest.err
9450 rm -f conftest.er1
9451 cat conftest.err >&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); } && {
9454 test -z "$ac_cxx_werror_flag" ||
9455 test ! -s conftest.err
9456 } && test -s conftest.$ac_objext; then
9457 ac_cv_type_int_p=yes
9458else
9459 echo "$as_me: failed program was:" >&5
9460sed 's/^/| /' conftest.$ac_ext >&5
9461
9462 ac_cv_type_int_p=no
9463fi
9464
9465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9466fi
9467{ echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5
9468echo "${ECHO_T}$ac_cv_type_int_p" >&6; }
9469
9470# The cast to long int works around a bug in the HP C Compiler
9471# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9472# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9473# This bug is HP SR number 8606223364.
9474{ echo "$as_me:$LINENO: checking size of int *" >&5
9475echo $ECHO_N "checking size of int *... $ECHO_C" >&6; }
9476if test "${ac_cv_sizeof_int_p+set}" = set; then
9477 echo $ECHO_N "(cached) $ECHO_C" >&6
9478else
9479 if test "$cross_compiling" = yes; then
9480 # Depending upon the size, compute the lo and hi bounds.
9481cat >conftest.$ac_ext <<_ACEOF
9482/* confdefs.h. */
9483_ACEOF
9484cat confdefs.h >>conftest.$ac_ext
9485cat >>conftest.$ac_ext <<_ACEOF
9486/* end confdefs.h. */
9487$ac_includes_default
9488 typedef int * ac__type_sizeof_;
9489int
9490main ()
9491{
9492static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9493test_array [0] = 0
9494
9495 ;
9496 return 0;
9497}
9498_ACEOF
9499rm -f conftest.$ac_objext
9500if { (ac_try="$ac_compile"
9501case "(($ac_try" in
9502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9503 *) ac_try_echo=$ac_try;;
9504esac
9505eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9506 (eval "$ac_compile") 2>conftest.er1
9507 ac_status=$?
9508 grep -v '^ *+' conftest.er1 >conftest.err
9509 rm -f conftest.er1
9510 cat conftest.err >&5
9511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9512 (exit $ac_status); } && {
9513 test -z "$ac_cxx_werror_flag" ||
9514 test ! -s conftest.err
9515 } && test -s conftest.$ac_objext; then
9516 ac_lo=0 ac_mid=0
9517 while :; do
9518 cat >conftest.$ac_ext <<_ACEOF
9519/* confdefs.h. */
9520_ACEOF
9521cat confdefs.h >>conftest.$ac_ext
9522cat >>conftest.$ac_ext <<_ACEOF
9523/* end confdefs.h. */
9524$ac_includes_default
9525 typedef int * ac__type_sizeof_;
9526int
9527main ()
9528{
9529static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9530test_array [0] = 0
9531
9532 ;
9533 return 0;
9534}
9535_ACEOF
9536rm -f conftest.$ac_objext
9537if { (ac_try="$ac_compile"
9538case "(($ac_try" in
9539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9540 *) ac_try_echo=$ac_try;;
9541esac
9542eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9543 (eval "$ac_compile") 2>conftest.er1
9544 ac_status=$?
9545 grep -v '^ *+' conftest.er1 >conftest.err
9546 rm -f conftest.er1
9547 cat conftest.err >&5
9548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9549 (exit $ac_status); } && {
9550 test -z "$ac_cxx_werror_flag" ||
9551 test ! -s conftest.err
9552 } && test -s conftest.$ac_objext; then
9553 ac_hi=$ac_mid; break
9554else
9555 echo "$as_me: failed program was:" >&5
9556sed 's/^/| /' conftest.$ac_ext >&5
9557
9558 ac_lo=`expr $ac_mid + 1`
9559 if test $ac_lo -le $ac_mid; then
9560 ac_lo= ac_hi=
9561 break
9562 fi
9563 ac_mid=`expr 2 '*' $ac_mid + 1`
9564fi
9565
9566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9567 done
9568else
9569 echo "$as_me: failed program was:" >&5
9570sed 's/^/| /' conftest.$ac_ext >&5
9571
9572 cat >conftest.$ac_ext <<_ACEOF
9573/* confdefs.h. */
9574_ACEOF
9575cat confdefs.h >>conftest.$ac_ext
9576cat >>conftest.$ac_ext <<_ACEOF
9577/* end confdefs.h. */
9578$ac_includes_default
9579 typedef int * ac__type_sizeof_;
9580int
9581main ()
9582{
9583static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9584test_array [0] = 0
9585
9586 ;
9587 return 0;
9588}
9589_ACEOF
9590rm -f conftest.$ac_objext
9591if { (ac_try="$ac_compile"
9592case "(($ac_try" in
9593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9594 *) ac_try_echo=$ac_try;;
9595esac
9596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9597 (eval "$ac_compile") 2>conftest.er1
9598 ac_status=$?
9599 grep -v '^ *+' conftest.er1 >conftest.err
9600 rm -f conftest.er1
9601 cat conftest.err >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); } && {
9604 test -z "$ac_cxx_werror_flag" ||
9605 test ! -s conftest.err
9606 } && test -s conftest.$ac_objext; then
9607 ac_hi=-1 ac_mid=-1
9608 while :; do
9609 cat >conftest.$ac_ext <<_ACEOF
9610/* confdefs.h. */
9611_ACEOF
9612cat confdefs.h >>conftest.$ac_ext
9613cat >>conftest.$ac_ext <<_ACEOF
9614/* end confdefs.h. */
9615$ac_includes_default
9616 typedef int * ac__type_sizeof_;
9617int
9618main ()
9619{
9620static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9621test_array [0] = 0
9622
9623 ;
9624 return 0;
9625}
9626_ACEOF
9627rm -f conftest.$ac_objext
9628if { (ac_try="$ac_compile"
9629case "(($ac_try" in
9630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9631 *) ac_try_echo=$ac_try;;
9632esac
9633eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9634 (eval "$ac_compile") 2>conftest.er1
9635 ac_status=$?
9636 grep -v '^ *+' conftest.er1 >conftest.err
9637 rm -f conftest.er1
9638 cat conftest.err >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); } && {
9641 test -z "$ac_cxx_werror_flag" ||
9642 test ! -s conftest.err
9643 } && test -s conftest.$ac_objext; then
9644 ac_lo=$ac_mid; break
9645else
9646 echo "$as_me: failed program was:" >&5
9647sed 's/^/| /' conftest.$ac_ext >&5
9648
9649 ac_hi=`expr '(' $ac_mid ')' - 1`
9650 if test $ac_mid -le $ac_hi; then
9651 ac_lo= ac_hi=
9652 break
9653 fi
9654 ac_mid=`expr 2 '*' $ac_mid`
9655fi
9656
9657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9658 done
9659else
9660 echo "$as_me: failed program was:" >&5
9661sed 's/^/| /' conftest.$ac_ext >&5
9662
9663 ac_lo= ac_hi=
9664fi
9665
9666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9667fi
9668
9669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9670# Binary search between lo and hi bounds.
9671while test "x$ac_lo" != "x$ac_hi"; do
9672 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9673 cat >conftest.$ac_ext <<_ACEOF
9674/* confdefs.h. */
9675_ACEOF
9676cat confdefs.h >>conftest.$ac_ext
9677cat >>conftest.$ac_ext <<_ACEOF
9678/* end confdefs.h. */
9679$ac_includes_default
9680 typedef int * ac__type_sizeof_;
9681int
9682main ()
9683{
9684static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9685test_array [0] = 0
9686
9687 ;
9688 return 0;
9689}
9690_ACEOF
9691rm -f conftest.$ac_objext
9692if { (ac_try="$ac_compile"
9693case "(($ac_try" in
9694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9695 *) ac_try_echo=$ac_try;;
9696esac
9697eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9698 (eval "$ac_compile") 2>conftest.er1
9699 ac_status=$?
9700 grep -v '^ *+' conftest.er1 >conftest.err
9701 rm -f conftest.er1
9702 cat conftest.err >&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); } && {
9705 test -z "$ac_cxx_werror_flag" ||
9706 test ! -s conftest.err
9707 } && test -s conftest.$ac_objext; then
9708 ac_hi=$ac_mid
9709else
9710 echo "$as_me: failed program was:" >&5
9711sed 's/^/| /' conftest.$ac_ext >&5
9712
9713 ac_lo=`expr '(' $ac_mid ')' + 1`
9714fi
9715
9716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9717done
9718case $ac_lo in
9719?*) ac_cv_sizeof_int_p=$ac_lo;;
9720'') if test "$ac_cv_type_int_p" = yes; then
9721 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *)
9722See \`config.log' for more details." >&5
9723echo "$as_me: error: cannot compute sizeof (int *)
9724See \`config.log' for more details." >&2;}
9725 { (exit 77); exit 77; }; }
9726 else
9727 ac_cv_sizeof_int_p=0
9728 fi ;;
9729esac
9730else
9731 cat >conftest.$ac_ext <<_ACEOF
9732/* confdefs.h. */
9733_ACEOF
9734cat confdefs.h >>conftest.$ac_ext
9735cat >>conftest.$ac_ext <<_ACEOF
9736/* end confdefs.h. */
9737$ac_includes_default
9738 typedef int * ac__type_sizeof_;
9739static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9740static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9741#include <stdio.h>
9742#include <stdlib.h>
9743int
9744main ()
9745{
9746
9747 FILE *f = fopen ("conftest.val", "w");
9748 if (! f)
9749 return 1;
9750 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9751 {
9752 long int i = longval ();
9753 if (i != ((long int) (sizeof (ac__type_sizeof_))))
9754 return 1;
9755 fprintf (f, "%ld\n", i);
9756 }
9757 else
9758 {
9759 unsigned long int i = ulongval ();
9760 if (i != ((long int) (sizeof (ac__type_sizeof_))))
9761 return 1;
9762 fprintf (f, "%lu\n", i);
9763 }
9764 return ferror (f) || fclose (f) != 0;
9765
9766 ;
9767 return 0;
9768}
9769_ACEOF
9770rm -f conftest$ac_exeext
9771if { (ac_try="$ac_link"
9772case "(($ac_try" in
9773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9774 *) ac_try_echo=$ac_try;;
9775esac
9776eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9777 (eval "$ac_link") 2>&5
9778 ac_status=$?
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9781 { (case "(($ac_try" in
9782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9783 *) ac_try_echo=$ac_try;;
9784esac
9785eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9786 (eval "$ac_try") 2>&5
9787 ac_status=$?
9788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789 (exit $ac_status); }; }; then
9790 ac_cv_sizeof_int_p=`cat conftest.val`
9791else
9792 echo "$as_me: program exited with status $ac_status" >&5
9793echo "$as_me: failed program was:" >&5
9794sed 's/^/| /' conftest.$ac_ext >&5
9795
9796( exit $ac_status )
9797if test "$ac_cv_type_int_p" = yes; then
9798 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *)
9799See \`config.log' for more details." >&5
9800echo "$as_me: error: cannot compute sizeof (int *)
9801See \`config.log' for more details." >&2;}
9802 { (exit 77); exit 77; }; }
9803 else
9804 ac_cv_sizeof_int_p=0
9805 fi
9806fi
9807rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9808fi
9809rm -f conftest.val
9810fi
9811{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5
9812echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6; }
9813
9814
9815
9816cat >>confdefs.h <<_ACEOF
9817#define SIZEOF_INT_P $ac_cv_sizeof_int_p
9818_ACEOF
9819
9820
9821
9822
9823{ echo "$as_me:$LINENO: checking for int16_t" >&5
9824echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
9825if test "${rxvt_cv_int16_t+set}" = set; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9827else
9828 cat >conftest.$ac_ext <<_ACEOF
9829/* confdefs.h. */
9830_ACEOF
9831cat confdefs.h >>conftest.$ac_ext
9832cat >>conftest.$ac_ext <<_ACEOF
9833/* end confdefs.h. */
9834#include <stdint.h>
9835int
9836main ()
9837{
9838int16_t dummy;
9839 ;
9840 return 0;
9841}
9842_ACEOF
9843rm -f conftest.$ac_objext
9844if { (ac_try="$ac_compile"
9845case "(($ac_try" in
9846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9847 *) ac_try_echo=$ac_try;;
9848esac
9849eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9850 (eval "$ac_compile") 2>conftest.er1
9851 ac_status=$?
9852 grep -v '^ *+' conftest.er1 >conftest.err
9853 rm -f conftest.er1
9854 cat conftest.err >&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); } && {
9857 test -z "$ac_cxx_werror_flag" ||
9858 test ! -s conftest.err
9859 } && test -s conftest.$ac_objext; then
9860 rxvt_cv_int16_t=yes
9861else
9862 echo "$as_me: failed program was:" >&5
9863sed 's/^/| /' conftest.$ac_ext >&5
9864
9865 if test "$ac_cv_sizeof_char" -ge 2; then
9866 rxvt_cv_int16_t=" char"
9867else
9868 if test "$ac_cv_sizeof_short" -ge 2; then
9869 rxvt_cv_int16_t=" short"
9870 else
9871 if test "$ac_cv_sizeof_int" -ge 2; then
9872 rxvt_cv_int16_t=" int"
9873 else
9874 if test "$ac_cv_sizeof_long" -ge 2; then
9875 rxvt_cv_int16_t=" long"
9876 else
9877 if test "$ac_cv_sizeof_long_long" -ge 2; then
9878 rxvt_cv_int16_t=" long long"
9879 else
9880 rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default
9881 fi
9882 fi
9883 fi
9884 fi
9885fi
9886fi
9887
9888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9889fi
9890{ echo "$as_me:$LINENO: result: $rxvt_cv_int16_t" >&5
9891echo "${ECHO_T}$rxvt_cv_int16_t" >&6; }
9892if test x"$rxvt_cv_int16_t" != xyes; then
9893 rxvt_int16_typedef="typedef $rxvt_cv_int16_t int16_t;"
9894else
9895 if test x"" = x; then
9896 rxvt_int16_typedef="/* typedef short int16_t; */"
9897 else
9898 rxvt_int16_typedef="/* typedef short int16_t; */"
9899 fi
9900fi
9901
9902{ echo "$as_me:$LINENO: checking for uint16_t" >&5
9903echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
9904if test "${rxvt_cv_uint16_t+set}" = set; then
9905 echo $ECHO_N "(cached) $ECHO_C" >&6
9906else
9907 cat >conftest.$ac_ext <<_ACEOF
9908/* confdefs.h. */
9909_ACEOF
9910cat confdefs.h >>conftest.$ac_ext
9911cat >>conftest.$ac_ext <<_ACEOF
9912/* end confdefs.h. */
9913#include <stdint.h>
9914int
9915main ()
9916{
9917uint16_t dummy;
9918 ;
9919 return 0;
9920}
9921_ACEOF
9922rm -f conftest.$ac_objext
9923if { (ac_try="$ac_compile"
9924case "(($ac_try" in
9925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9926 *) ac_try_echo=$ac_try;;
9927esac
9928eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9929 (eval "$ac_compile") 2>conftest.er1
9930 ac_status=$?
9931 grep -v '^ *+' conftest.er1 >conftest.err
9932 rm -f conftest.er1
9933 cat conftest.err >&5
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 (exit $ac_status); } && {
9936 test -z "$ac_cxx_werror_flag" ||
9937 test ! -s conftest.err
9938 } && test -s conftest.$ac_objext; then
9939 rxvt_cv_uint16_t=yes
9940else
9941 echo "$as_me: failed program was:" >&5
9942sed 's/^/| /' conftest.$ac_ext >&5
9943
9944 if test "$ac_cv_sizeof_char" -ge 2; then
9945 rxvt_cv_uint16_t="unsigned char"
9946else
9947 if test "$ac_cv_sizeof_short" -ge 2; then
9948 rxvt_cv_uint16_t="unsigned short"
9949 else
9950 if test "$ac_cv_sizeof_int" -ge 2; then
9951 rxvt_cv_uint16_t="unsigned int"
9952 else
9953 if test "$ac_cv_sizeof_long" -ge 2; then
9954 rxvt_cv_uint16_t="unsigned long"
9955 else
9956 if test "$ac_cv_sizeof_long_long" -ge 2; then
9957 rxvt_cv_uint16_t="unsigned long long"
9958 else
9959 rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default
9960 fi
9961 fi
9962 fi
9963 fi
9964fi
9965fi
9966
9967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9968fi
9969{ echo "$as_me:$LINENO: result: $rxvt_cv_uint16_t" >&5
9970echo "${ECHO_T}$rxvt_cv_uint16_t" >&6; }
9971if test x"$rxvt_cv_uint16_t" != xyes; then
9972 rxvt_uint16_typedef="typedef $rxvt_cv_uint16_t uint16_t;"
9973else
9974 if test x"unsigned" = x; then
9975 rxvt_uint16_typedef="/* typedef short uint16_t; */"
9976 else
9977 rxvt_uint16_typedef="/* typedef unsigned short uint16_t; */"
9978 fi
9979fi
9980
9981{ echo "$as_me:$LINENO: checking for int32_t" >&5
9982echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
9983if test "${rxvt_cv_int32_t+set}" = set; then
9984 echo $ECHO_N "(cached) $ECHO_C" >&6
9985else
9986 cat >conftest.$ac_ext <<_ACEOF
9987/* confdefs.h. */
9988_ACEOF
9989cat confdefs.h >>conftest.$ac_ext
9990cat >>conftest.$ac_ext <<_ACEOF
9991/* end confdefs.h. */
9992#include <stdint.h>
9993int
9994main ()
9995{
9996int32_t dummy;
9997 ;
9998 return 0;
9999}
10000_ACEOF
10001rm -f conftest.$ac_objext
10002if { (ac_try="$ac_compile"
10003case "(($ac_try" in
10004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10005 *) ac_try_echo=$ac_try;;
10006esac
10007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10008 (eval "$ac_compile") 2>conftest.er1
10009 ac_status=$?
10010 grep -v '^ *+' conftest.er1 >conftest.err
10011 rm -f conftest.er1
10012 cat conftest.err >&5
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); } && {
10015 test -z "$ac_cxx_werror_flag" ||
10016 test ! -s conftest.err
10017 } && test -s conftest.$ac_objext; then
10018 rxvt_cv_int32_t=yes
10019else
10020 echo "$as_me: failed program was:" >&5
10021sed 's/^/| /' conftest.$ac_ext >&5
10022
10023 if test "$ac_cv_sizeof_char" -ge 4; then
10024 rxvt_cv_int32_t=" char"
10025else
10026 if test "$ac_cv_sizeof_short" -ge 4; then
10027 rxvt_cv_int32_t=" short"
10028 else
10029 if test "$ac_cv_sizeof_int" -ge 4; then
10030 rxvt_cv_int32_t=" int"
10031 else
10032 if test "$ac_cv_sizeof_long" -ge 4; then
10033 rxvt_cv_int32_t=" long"
10034 else
10035 if test "$ac_cv_sizeof_long_long" -ge 4; then
10036 rxvt_cv_int32_t=" long long"
10037 else
10038 rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default
10039 fi
10040 fi
10041 fi
10042 fi
10043fi
10044fi
10045
10046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10047fi
10048{ echo "$as_me:$LINENO: result: $rxvt_cv_int32_t" >&5
10049echo "${ECHO_T}$rxvt_cv_int32_t" >&6; }
10050if test x"$rxvt_cv_int32_t" != xyes; then
10051 rxvt_int32_typedef="typedef $rxvt_cv_int32_t int32_t;"
10052else
10053 if test x"" = x; then
10054 rxvt_int32_typedef="/* typedef int int32_t; */"
10055 else
10056 rxvt_int32_typedef="/* typedef int int32_t; */"
10057 fi
10058fi
10059
10060{ echo "$as_me:$LINENO: checking for uint32_t" >&5
10061echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
10062if test "${rxvt_cv_uint32_t+set}" = set; then
10063 echo $ECHO_N "(cached) $ECHO_C" >&6
10064else
10065 cat >conftest.$ac_ext <<_ACEOF
10066/* confdefs.h. */
10067_ACEOF
10068cat confdefs.h >>conftest.$ac_ext
10069cat >>conftest.$ac_ext <<_ACEOF
10070/* end confdefs.h. */
10071#include <stdint.h>
10072int
10073main ()
10074{
10075uint32_t dummy;
10076 ;
10077 return 0;
10078}
10079_ACEOF
10080rm -f conftest.$ac_objext
10081if { (ac_try="$ac_compile"
10082case "(($ac_try" in
10083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10084 *) ac_try_echo=$ac_try;;
10085esac
10086eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10087 (eval "$ac_compile") 2>conftest.er1
10088 ac_status=$?
10089 grep -v '^ *+' conftest.er1 >conftest.err
10090 rm -f conftest.er1
10091 cat conftest.err >&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); } && {
10094 test -z "$ac_cxx_werror_flag" ||
10095 test ! -s conftest.err
10096 } && test -s conftest.$ac_objext; then
10097 rxvt_cv_uint32_t=yes
10098else
10099 echo "$as_me: failed program was:" >&5
10100sed 's/^/| /' conftest.$ac_ext >&5
10101
10102 if test "$ac_cv_sizeof_char" -ge 4; then
10103 rxvt_cv_uint32_t="unsigned char"
10104else
10105 if test "$ac_cv_sizeof_short" -ge 4; then
10106 rxvt_cv_uint32_t="unsigned short"
10107 else
10108 if test "$ac_cv_sizeof_int" -ge 4; then
10109 rxvt_cv_uint32_t="unsigned int"
10110 else
10111 if test "$ac_cv_sizeof_long" -ge 4; then
10112 rxvt_cv_uint32_t="unsigned long"
10113 else
10114 if test "$ac_cv_sizeof_long_long" -ge 4; then
10115 rxvt_cv_uint32_t="unsigned long long"
10116 else
10117 rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default
10118 fi
10119 fi
10120 fi
10121 fi
10122fi
10123fi
10124
10125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10126fi
10127{ echo "$as_me:$LINENO: result: $rxvt_cv_uint32_t" >&5
10128echo "${ECHO_T}$rxvt_cv_uint32_t" >&6; }
10129if test x"$rxvt_cv_uint32_t" != xyes; then
10130 rxvt_uint32_typedef="typedef $rxvt_cv_uint32_t uint32_t;"
10131else
10132 if test x"unsigned" = x; then
10133 rxvt_uint32_typedef="/* typedef int uint32_t; */"
10134 else
10135 rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */"
10136 fi
10137fi
10138
10139if test "$ac_cv_sizeof_int_p" -eq 8; then
10140 rxvt_intp_define="#define intp_t int64_t"
10141 rxvt_u_intp_define="#define u_intp_t u_int64_t"
10142else
10143 if test "$ac_cv_sizeof_int_p" -eq 4; then
10144 rxvt_intp_define="#define intp_t int32_t"
10145 rxvt_u_intp_define="#define u_intp_t u_int32_t"
10146 else
10147 if test "$ac_cv_sizeof_int_p" -eq 2; then
10148 rxvt_intp_define="#define intp_t int16_t"
10149 rxvt_u_intp_define="#define u_intp_t u_int16_t"
10150 else
10151 rxvt_intp_define="#error set intp_t"
10152 rxvt_u_intp_define="#error set u_intp_t"
10153 fi
10154 fi
10155fi
10156
10157
10158
10159{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
10160echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
10161if test "${ac_cv_type_signal+set}" = set; then
10162 echo $ECHO_N "(cached) $ECHO_C" >&6
10163else
10164 cat >conftest.$ac_ext <<_ACEOF
10165/* confdefs.h. */
10166_ACEOF
10167cat confdefs.h >>conftest.$ac_ext
10168cat >>conftest.$ac_ext <<_ACEOF
10169/* end confdefs.h. */
10170#include <sys/types.h>
10171#include <signal.h>
10172
10173int
10174main ()
10175{
10176return *(signal (0, 0)) (0) == 1;
10177 ;
10178 return 0;
10179}
10180_ACEOF
10181rm -f conftest.$ac_objext
10182if { (ac_try="$ac_compile"
10183case "(($ac_try" in
10184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10185 *) ac_try_echo=$ac_try;;
10186esac
10187eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10188 (eval "$ac_compile") 2>conftest.er1
10189 ac_status=$?
10190 grep -v '^ *+' conftest.er1 >conftest.err
10191 rm -f conftest.er1
10192 cat conftest.err >&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } && {
10195 test -z "$ac_cxx_werror_flag" ||
10196 test ! -s conftest.err
10197 } && test -s conftest.$ac_objext; then
10198 ac_cv_type_signal=int
10199else
10200 echo "$as_me: failed program was:" >&5
10201sed 's/^/| /' conftest.$ac_ext >&5
10202
10203 ac_cv_type_signal=void
10204fi
10205
10206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10207fi
10208{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
10209echo "${ECHO_T}$ac_cv_type_signal" >&6; }
10210
10211cat >>confdefs.h <<_ACEOF
10212#define RETSIGTYPE $ac_cv_type_signal
10213_ACEOF
10214
10215 8484
10216 8485
10217 8486
10218for ac_func in unsetenv 8487for ac_func in unsetenv
10219do 8488do
10460fi 8729fi
10461done 8730done
10462 8731
10463 8732
10464 8733
10465
10466
10467for ac_header in \ 8734for ac_header in lastlog.h
10468 utmp.h \
10469 utmpx.h \
10470 lastlog.h \
10471
10472do 8735do
10473as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8736as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10474if { 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
10475 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8738 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10476echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8739echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10607 8870
10608done 8871done
10609 8872
10610 8873
10611 8874
10612if 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
10613 { echo "$as_me:$LINENO: checking for utmp.h" >&5 8880 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10614echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8881echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10615if test "${ac_cv_header_utmp_h+set}" = set; then 8882if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10616 echo $ECHO_N "(cached) $ECHO_C" >&6 8883 echo $ECHO_N "(cached) $ECHO_C" >&6
10617fi 8884fi
8885ac_res=`eval echo '${'$as_ac_Header'}'`
10618{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 8886 { echo "$as_me:$LINENO: result: $ac_res" >&5
10619echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 8887echo "${ECHO_T}$ac_res" >&6; }
10620else 8888else
10621 # Is the header compilable? 8889 # Is the header compilable?
10622{ echo "$as_me:$LINENO: checking utmp.h usability" >&5 8890{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10623echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } 8891echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10624cat >conftest.$ac_ext <<_ACEOF 8892cat >conftest.$ac_ext <<_ACEOF
10625/* confdefs.h. */ 8893/* confdefs.h. */
10626_ACEOF 8894_ACEOF
10627cat confdefs.h >>conftest.$ac_ext 8895cat confdefs.h >>conftest.$ac_ext
10628cat >>conftest.$ac_ext <<_ACEOF 8896cat >>conftest.$ac_ext <<_ACEOF
10629/* end confdefs.h. */ 8897/* end confdefs.h. */
10630$ac_includes_default 8898$ac_includes_default
10631#include <utmp.h> 8899#include <$ac_header>
10632_ACEOF 8900_ACEOF
10633rm -f conftest.$ac_objext 8901rm -f conftest.$ac_objext
10634if { (ac_try="$ac_compile" 8902if { (ac_try="$ac_compile"
10635case "(($ac_try" in 8903case "(($ac_try" in
10636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10659{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8927{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10660echo "${ECHO_T}$ac_header_compiler" >&6; } 8928echo "${ECHO_T}$ac_header_compiler" >&6; }
10661 8929
10662# Is the header present? 8930# Is the header present?
10663{ echo "$as_me:$LINENO: checking utmp.h presence" >&5 8931{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10664echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } 8932echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10665cat >conftest.$ac_ext <<_ACEOF 8933cat >conftest.$ac_ext <<_ACEOF
10666/* confdefs.h. */ 8934/* confdefs.h. */
10667_ACEOF 8935_ACEOF
10668cat confdefs.h >>conftest.$ac_ext 8936cat confdefs.h >>conftest.$ac_ext
10669cat >>conftest.$ac_ext <<_ACEOF 8937cat >>conftest.$ac_ext <<_ACEOF
10670/* end confdefs.h. */ 8938/* end confdefs.h. */
10671#include <utmp.h> 8939#include <$ac_header>
10672_ACEOF 8940_ACEOF
10673if { (ac_try="$ac_cpp conftest.$ac_ext" 8941if { (ac_try="$ac_cpp conftest.$ac_ext"
10674case "(($ac_try" in 8942case "(($ac_try" in
10675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10676 *) ac_try_echo=$ac_try;; 8944 *) ac_try_echo=$ac_try;;
10699echo "${ECHO_T}$ac_header_preproc" >&6; } 8967echo "${ECHO_T}$ac_header_preproc" >&6; }
10700 8968
10701# So? What about this header? 8969# So? What about this header?
10702case $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
10703 yes:no: ) 8971 yes:no: )
10704 { 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
10705echo "$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;}
10706 { 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
10707echo "$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;}
10708 ac_header_preproc=yes 8976 ac_header_preproc=yes
10709 ;; 8977 ;;
10710 no:yes:* ) 8978 no:yes:* )
10711 { 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
10712echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} 8980echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10713 { 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
10714echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} 8982echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10715 { 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
10716echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} 8984echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10717 { 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
10718echo "$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;}
10719 { 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
10720echo "$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;}
10721 { 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
10722echo "$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;}
10723 8991
10724 ;; 8992 ;;
10725esac 8993esac
10726{ echo "$as_me:$LINENO: checking for utmp.h" >&5 8994{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10727echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8995echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10728if test "${ac_cv_header_utmp_h+set}" = set; then 8996if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10729 echo $ECHO_N "(cached) $ECHO_C" >&6 8997 echo $ECHO_N "(cached) $ECHO_C" >&6
10730else 8998else
10731 ac_cv_header_utmp_h=$ac_header_preproc 8999 eval "$as_ac_Header=\$ac_header_preproc"
10732fi 9000fi
9001ac_res=`eval echo '${'$as_ac_Header'}'`
10733{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 9002 { echo "$as_me:$LINENO: result: $ac_res" >&5
10734echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 9003echo "${ECHO_T}$ac_res" >&6; }
10735 9004
10736fi 9005fi
10737if 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
10738 { echo "$as_me:$LINENO: checking for struct utmp" >&5 9010 { echo "$as_me:$LINENO: checking for struct utmp" >&5
10739echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } 9011echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; }
10740if test "${struct_utmp+set}" = set; then 9012if test "${struct_utmp+set}" = set; then
10741 echo $ECHO_N "(cached) $ECHO_C" >&6 9013 echo $ECHO_N "(cached) $ECHO_C" >&6
10742else 9014else
10743 cat >conftest.$ac_ext <<_ACEOF 9015 cat >conftest.$ac_ext <<_ACEOF
10910 9182
10911fi 9183fi
10912 9184
10913fi 9185fi
10914 9186
9187done
10915 9188
10916 9189
10917if 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
10918 { echo "$as_me:$LINENO: checking for utmpx.h" >&5 9195 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10919echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9196echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10920if test "${ac_cv_header_utmpx_h+set}" = set; then 9197if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10921 echo $ECHO_N "(cached) $ECHO_C" >&6 9198 echo $ECHO_N "(cached) $ECHO_C" >&6
10922fi 9199fi
9200ac_res=`eval echo '${'$as_ac_Header'}'`
10923{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 9201 { echo "$as_me:$LINENO: result: $ac_res" >&5
10924echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9202echo "${ECHO_T}$ac_res" >&6; }
10925else 9203else
10926 # Is the header compilable? 9204 # Is the header compilable?
10927{ echo "$as_me:$LINENO: checking utmpx.h usability" >&5 9205{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10928echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } 9206echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10929cat >conftest.$ac_ext <<_ACEOF 9207cat >conftest.$ac_ext <<_ACEOF
10930/* confdefs.h. */ 9208/* confdefs.h. */
10931_ACEOF 9209_ACEOF
10932cat confdefs.h >>conftest.$ac_ext 9210cat confdefs.h >>conftest.$ac_ext
10933cat >>conftest.$ac_ext <<_ACEOF 9211cat >>conftest.$ac_ext <<_ACEOF
10934/* end confdefs.h. */ 9212/* end confdefs.h. */
10935$ac_includes_default 9213$ac_includes_default
10936#include <utmpx.h> 9214#include <$ac_header>
10937_ACEOF 9215_ACEOF
10938rm -f conftest.$ac_objext 9216rm -f conftest.$ac_objext
10939if { (ac_try="$ac_compile" 9217if { (ac_try="$ac_compile"
10940case "(($ac_try" in 9218case "(($ac_try" in
10941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10964{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9242{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10965echo "${ECHO_T}$ac_header_compiler" >&6; } 9243echo "${ECHO_T}$ac_header_compiler" >&6; }
10966 9244
10967# Is the header present? 9245# Is the header present?
10968{ echo "$as_me:$LINENO: checking utmpx.h presence" >&5 9246{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10969echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } 9247echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10970cat >conftest.$ac_ext <<_ACEOF 9248cat >conftest.$ac_ext <<_ACEOF
10971/* confdefs.h. */ 9249/* confdefs.h. */
10972_ACEOF 9250_ACEOF
10973cat confdefs.h >>conftest.$ac_ext 9251cat confdefs.h >>conftest.$ac_ext
10974cat >>conftest.$ac_ext <<_ACEOF 9252cat >>conftest.$ac_ext <<_ACEOF
10975/* end confdefs.h. */ 9253/* end confdefs.h. */
10976#include <utmpx.h> 9254#include <$ac_header>
10977_ACEOF 9255_ACEOF
10978if { (ac_try="$ac_cpp conftest.$ac_ext" 9256if { (ac_try="$ac_cpp conftest.$ac_ext"
10979case "(($ac_try" in 9257case "(($ac_try" in
10980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10981 *) ac_try_echo=$ac_try;; 9259 *) ac_try_echo=$ac_try;;
11004echo "${ECHO_T}$ac_header_preproc" >&6; } 9282echo "${ECHO_T}$ac_header_preproc" >&6; }
11005 9283
11006# So? What about this header? 9284# So? What about this header?
11007case $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
11008 yes:no: ) 9286 yes:no: )
11009 { 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
11010echo "$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;}
11011 { 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
11012echo "$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;}
11013 ac_header_preproc=yes 9291 ac_header_preproc=yes
11014 ;; 9292 ;;
11015 no:yes:* ) 9293 no:yes:* )
11016 { 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
11017echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} 9295echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11018 { 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
11019echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} 9297echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11020 { 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
11021echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} 9299echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11022 { 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
11023echo "$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;}
11024 { 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
11025echo "$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;}
11026 { 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
11027echo "$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;}
11028 9306
11029 ;; 9307 ;;
11030esac 9308esac
11031{ echo "$as_me:$LINENO: checking for utmpx.h" >&5 9309{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11032echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9310echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11033if test "${ac_cv_header_utmpx_h+set}" = set; then 9311if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11034 echo $ECHO_N "(cached) $ECHO_C" >&6 9312 echo $ECHO_N "(cached) $ECHO_C" >&6
11035else 9313else
11036 ac_cv_header_utmpx_h=$ac_header_preproc 9314 eval "$as_ac_Header=\$ac_header_preproc"
11037fi 9315fi
9316ac_res=`eval echo '${'$as_ac_Header'}'`
11038{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 9317 { echo "$as_me:$LINENO: result: $ac_res" >&5
11039echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9318echo "${ECHO_T}$ac_res" >&6; }
11040 9319
11041fi 9320fi
11042if 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
11043 { echo "$as_me:$LINENO: checking for struct utmpx" >&5 9325 { echo "$as_me:$LINENO: checking for struct utmpx" >&5
11044echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } 9326echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; }
11045if test "${struct_utmpx+set}" = set; then 9327if test "${struct_utmpx+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6 9328 echo $ECHO_N "(cached) $ECHO_C" >&6
11047else 9329else
11048 cat >conftest.$ac_ext <<_ACEOF 9330 cat >conftest.$ac_ext <<_ACEOF
11215 9497
11216fi 9498fi
11217 9499
11218fi 9500fi
11219 9501
9502done
11220 9503
11221{ echo "$as_me:$LINENO: checking for struct lastlog" >&5 9504{ echo "$as_me:$LINENO: checking for struct lastlog" >&5
11222echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } 9505echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; }
11223if test "${struct_lastlog+set}" = set; then 9506if test "${struct_lastlog+set}" = set; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6 9507 echo $ECHO_N "(cached) $ECHO_C" >&6
12294 10577
12295 10578
12296 10579
12297 10580
12298 10581
10582
12299for ac_header in \ 10583for ac_header in \
12300 pty.h \ 10584 pty.h \
12301 util.h \ 10585 util.h \
12302 libutil.h \ 10586 libutil.h \
12303 sys/ioctl.h \ 10587 sys/ioctl.h \
12304 sys/stropts.h \ 10588 sys/stropts.h \
10589 stropts.h \
12305 10590
12306do 10591do
12307as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10592as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12308if { 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
12309 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10594 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13332_ACEOF 11617_ACEOF
13333 11618
13334fi 11619fi
13335 11620
13336 11621
11622scrolltypes=plain
11623
11624cat >>confdefs.h <<\_ACEOF
11625#define PLAIN_SCROLLBAR 1
11626_ACEOF
11627
11628
13337if test x$support_scroll_rxvt = xyes; then 11629if test x$support_scroll_rxvt = xyes; then
13338 11630
13339cat >>confdefs.h <<\_ACEOF 11631cat >>confdefs.h <<\_ACEOF
13340#define RXVT_SCROLLBAR 1 11632#define RXVT_SCROLLBAR 1
13341_ACEOF 11633_ACEOF
13342 11634
13343 scrolltypes="rxvt" 11635 scrolltypes="$scrolltypes rxvt"
13344fi 11636fi
13345if test x$support_scroll_next = xyes; then 11637if test x$support_scroll_next = xyes; then
13346 11638
13347cat >>confdefs.h <<\_ACEOF 11639cat >>confdefs.h <<\_ACEOF
13348#define NEXT_SCROLLBAR 1 11640#define NEXT_SCROLLBAR 1
13355cat >>confdefs.h <<\_ACEOF 11647cat >>confdefs.h <<\_ACEOF
13356#define XTERM_SCROLLBAR 1 11648#define XTERM_SCROLLBAR 1
13357_ACEOF 11649_ACEOF
13358 11650
13359 scrolltypes="$scrolltypes xterm" 11651 scrolltypes="$scrolltypes xterm"
13360fi
13361if test x$support_scroll_plain = xyes; then
13362
13363cat >>confdefs.h <<\_ACEOF
13364#define PLAIN_SCROLLBAR 1
13365_ACEOF
13366
13367 scrolltypes="$scrolltypes plain"
13368fi 11652fi
13369if test x$support_pointer_blank = xyes; then 11653if test x$support_pointer_blank = xyes; then
13370 11654
13371cat >>confdefs.h <<\_ACEOF 11655cat >>confdefs.h <<\_ACEOF
13372#define POINTER_BLANK 1 11656#define POINTER_BLANK 1
13635_ACEOF 11919_ACEOF
13636program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 11920program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
13637rm -f conftest.sed 11921rm -f conftest.sed
13638 11922
13639 11923
13640
13641
13642
13643if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
13644 include_stdint_h="#include <stdint.h>"
13645else
13646 include_stdint_h="/* #include <stdint.h> */"
13647fi
13648if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
13649 include_stdarg_h="#include <cstdarg>"
13650else
13651 include_stdarg_h="/* #include <cstdarg> */"
13652fi
13653if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
13654 include_stdlib_h="#include <cstdlib>"
13655else
13656 include_stdlib_h="/* #include <cstdlib> */"
13657fi
13658if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
13659 include_unistd_h="#include <unistd.h>"
13660else
13661 include_unistd_h="/* #include <unistd.h> */"
13662fi
13663if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
13664 include_string_h="#include <cstring>"
13665else
13666 include_string_h="/* #include <cstring> */"
13667fi
13668if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
13669 include_fcntl_h="#include <fcntl.h>"
13670else
13671 include_fcntl_h="/* #include <fcntl.h> */"
13672fi
13673if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
13674 include_util_h="#include <util.h>"
13675else
13676 include_util_h="/* #include <util.h> */"
13677fi
13678if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
13679 include_assert_h="#include <assert.h>"
13680else
13681 include_assert_h="/* #include <assert.h> */"
13682fi
13683if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
13684 include_sys_ioctl_h="#include <sys/ioctl.h>"
13685else
13686 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
13687fi
13688if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
13689 include_sys_select_h="#include <sys/select.h>"
13690else
13691 include_sys_select_h="/* #include <sys/select.h> */"
13692fi
13693if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
13694 include_sys_strredir_h="#include <sys/strredir.h>"
13695else
13696 include_sys_strredir_h="/* #include <sys/strredir.h> */"
13697fi
13698if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
13699 include_sys_time_h="#include <sys/time.h>"
13700else
13701 include_sys_time_h="/* #include <sys/time.h> */"
13702fi
13703if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
13704 include_time_h="#include <time.h>"
13705else
13706 include_time_h="/* #include <time.h> */"
13707fi
13708
13709ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" 11924ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
13710 11925
13711cat >confcache <<\_ACEOF 11926cat >confcache <<\_ACEOF
13712# 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
13713# 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
13714# scripts and configure runs, see configure's option --config-cache. 11929# scripts and configure runs, see configure's option --config-cache.
14263 case $ac_config_target in 12478 case $ac_config_target in
14264 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 12479 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
14265 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12480 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14266 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 12481 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14267 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12482 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14268 "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
14269 12483
14270 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 12484 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14271echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12485echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14272 { (exit 1); exit 1; }; };; 12486 { (exit 1); exit 1; }; };;
14273 esac 12487 esac
14372host_cpu!$host_cpu$ac_delim 12586host_cpu!$host_cpu$ac_delim
14373host_vendor!$host_vendor$ac_delim 12587host_vendor!$host_vendor$ac_delim
14374host_os!$host_os$ac_delim 12588host_os!$host_os$ac_delim
14375VERSION!$VERSION$ac_delim 12589VERSION!$VERSION$ac_delim
14376DATE!$DATE$ac_delim 12590DATE!$DATE$ac_delim
14377LSMDATE!$LSMDATE$ac_delim
14378LIBVERSION!$LIBVERSION$ac_delim
14379CC!$CC$ac_delim 12591CC!$CC$ac_delim
14380CFLAGS!$CFLAGS$ac_delim 12592CFLAGS!$CFLAGS$ac_delim
14381LDFLAGS!$LDFLAGS$ac_delim 12593LDFLAGS!$LDFLAGS$ac_delim
14382CPPFLAGS!$CPPFLAGS$ac_delim 12594CPPFLAGS!$CPPFLAGS$ac_delim
14383ac_ct_CC!$ac_ct_CC$ac_delim 12595ac_ct_CC!$ac_ct_CC$ac_delim
14391INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 12603INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
14392INSTALL_DATA!$INSTALL_DATA$ac_delim 12604INSTALL_DATA!$INSTALL_DATA$ac_delim
14393GREP!$GREP$ac_delim 12605GREP!$GREP$ac_delim
14394EGREP!$EGREP$ac_delim 12606EGREP!$EGREP$ac_delim
14395LINKER!$LINKER$ac_delim 12607LINKER!$LINKER$ac_delim
14396INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim
14397RXVTNAME!$RXVTNAME$ac_delim 12608RXVTNAME!$RXVTNAME$ac_delim
14398CXXCPP!$CXXCPP$ac_delim 12609CXXCPP!$CXXCPP$ac_delim
14399TIC!$TIC$ac_delim 12610TIC!$TIC$ac_delim
14400XMKMF!$XMKMF$ac_delim 12611XMKMF!$XMKMF$ac_delim
14401X_CFLAGS!$X_CFLAGS$ac_delim 12612X_CFLAGS!$X_CFLAGS$ac_delim
14402X_PRE_LIBS!$X_PRE_LIBS$ac_delim 12613X_PRE_LIBS!$X_PRE_LIBS$ac_delim
14403X_LIBS!$X_LIBS$ac_delim 12614X_LIBS!$X_LIBS$ac_delim
14404X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim 12615X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
14405afterimage_config!$afterimage_config$ac_delim 12616afterimage_config!$afterimage_config$ac_delim
14406rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim
14407rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim
14408rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim
14409rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim
14410rxvt_intp_define!$rxvt_intp_define$ac_delim
14411rxvt_u_intp_define!$rxvt_u_intp_define$ac_delim
14412PKG_CONFIG!$PKG_CONFIG$ac_delim 12617PKG_CONFIG!$PKG_CONFIG$ac_delim
14413XFT_CONFIG!$XFT_CONFIG$ac_delim 12618XFT_CONFIG!$XFT_CONFIG$ac_delim
14414PERL!$PERL$ac_delim 12619PERL!$PERL$ac_delim
14415PERLLIB!$PERLLIB$ac_delim 12620PERLLIB!$PERLLIB$ac_delim
14416PERLFLAGS!$PERLFLAGS$ac_delim 12621PERLFLAGS!$PERLFLAGS$ac_delim
14417PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 12622PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
14418IF_PERL!$IF_PERL$ac_delim 12623IF_PERL!$IF_PERL$ac_delim
14419PERL_O!$PERL_O$ac_delim 12624PERL_O!$PERL_O$ac_delim
14420AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim 12625AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
14421AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim 12626AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
14422include_stdint_h!$include_stdint_h$ac_delim 12627LIBOBJS!$LIBOBJS$ac_delim
14423include_stdarg_h!$include_stdarg_h$ac_delim 12628LTLIBOBJS!$LTLIBOBJS$ac_delim
14424include_stdlib_h!$include_stdlib_h$ac_delim
14425include_unistd_h!$include_unistd_h$ac_delim
14426include_string_h!$include_string_h$ac_delim
14427_ACEOF 12629_ACEOF
14428 12630
14429 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
14430 break 12632 break
14431 elif $ac_last_try; then 12633 elif $ac_last_try; then
14432 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12634 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14433echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12635echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14434 { (exit 1); exit 1; }; } 12636 { (exit 1); exit 1; }; }
14443 ac_eof=`expr $ac_eof + 1` 12645 ac_eof=`expr $ac_eof + 1`
14444fi 12646fi
14445 12647
14446cat >>$CONFIG_STATUS <<_ACEOF 12648cat >>$CONFIG_STATUS <<_ACEOF
14447cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 12649cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
14448/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14449_ACEOF
14450sed '
14451s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14452s/^/s,@/; s/!/@,|#_!!_#|/
14453:n
14454t n
14455s/'"$ac_delim"'$/,g/; t
14456s/$/\\/; p
14457N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14458' >>$CONFIG_STATUS <conf$$subs.sed
14459rm -f conf$$subs.sed
14460cat >>$CONFIG_STATUS <<_ACEOF
14461CEOF$ac_eof
14462_ACEOF
14463
14464
14465ac_delim='%!_!# '
14466for ac_last_try in false false false false false :; do
14467 cat >conf$$subs.sed <<_ACEOF
14468include_fcntl_h!$include_fcntl_h$ac_delim
14469include_util_h!$include_util_h$ac_delim
14470include_assert_h!$include_assert_h$ac_delim
14471include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim
14472include_sys_select_h!$include_sys_select_h$ac_delim
14473include_sys_strredir_h!$include_sys_strredir_h$ac_delim
14474include_sys_time_h!$include_sys_time_h$ac_delim
14475include_time_h!$include_time_h$ac_delim
14476LIBOBJS!$LIBOBJS$ac_delim
14477LTLIBOBJS!$LTLIBOBJS$ac_delim
14478_ACEOF
14479
14480 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
14481 break
14482 elif $ac_last_try; then
14483 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14484echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14485 { (exit 1); exit 1; }; }
14486 else
14487 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14488 fi
14489done
14490
14491ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14492if test -n "$ac_eof"; then
14493 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14494 ac_eof=`expr $ac_eof + 1`
14495fi
14496
14497cat >>$CONFIG_STATUS <<_ACEOF
14498cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
14499/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 12650/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14500_ACEOF 12651_ACEOF
14501sed ' 12652sed '
14502s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 12653s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14503s/^/s,@/; s/!/@,|#_!!_#|/ 12654s/^/s,@/; s/!/@,|#_!!_#|/
14756s&@builddir@&$ac_builddir&;t t 12907s&@builddir@&$ac_builddir&;t t
14757s&@abs_builddir@&$ac_abs_builddir&;t t 12908s&@abs_builddir@&$ac_abs_builddir&;t t
14758s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 12909s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14759s&@INSTALL@&$ac_INSTALL&;t t 12910s&@INSTALL@&$ac_INSTALL&;t t
14760$ac_datarootdir_hack 12911$ac_datarootdir_hack
14761" $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
14762 12913
14763test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 12914test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14764 { 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"; } &&
14765 { 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"; } &&
14766 { 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