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

Comparing rxvt-unicode/configure (file contents):
Revision 1.119 by root, Sun Nov 18 02:19:20 2007 UTC vs.
Revision 1.129 by root, Fri Sep 4 15:40:12 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
1322 --enable-warnings turn on g++ warnings 1299 --enable-warnings turn on g++ warnings
1323 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1300 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1324 --enable-combining enable composition of base and combining characters 1301 --enable-combining enable composition of base and combining characters
1325 --enable-xft enable xft support on systems that have it 1302 --enable-xft enable xft support on systems that have it
1326 --enable-font-styles enable bold and italic support 1303 --enable-font-styles enable bold and italic support
1327 --enable-afterimage enable integration with libAfterImage for background images 1304 --enable-afterimage enable integration with libAfterImage for background images
1328 --enable-transparency enable transparent backgrounds 1305 --enable-transparency enable transparent backgrounds
1329 --enable-fading enable colors fading when off focus 1306 --enable-fading enable colors fading when off focus
1330 --enable-rxvt-scroll enable rxvt style scrollbar 1307 --enable-rxvt-scroll enable rxvt style scrollbar
1331 --enable-next-scroll enable NeXT style scrollbar 1308 --enable-next-scroll enable NeXT style scrollbar
1332 --enable-xterm-scroll enable Xterm style scrollbar 1309 --enable-xterm-scroll enable Xterm style scrollbar
1333 --enable-perl enable embedded perl interpreter 1310 --enable-perl enable embedded perl interpreter
1334 --enable-plain-scroll enable plain style scrollbar
1335 --enable-xim XIM (X Input Method) protocol support 1311 --enable-xim XIM (X Input Method) protocol support
1336 --disable-backspace-key disable handling of the backspace key 1312 --disable-backspace-key disable handling of the backspace key
1337 --disable-delete-key disable handling of the delete key 1313 --disable-delete-key disable handling of the delete key
1338 --disable-resources disable all resource checking 1314 --disable-resources disable all resource checking
1339 --enable-8bitctrls enable 8 bit control sequences (not recommended) 1315 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1927echo "configuring for rxvt $VERSION" 1903echo "configuring for rxvt $VERSION"
1928echo "" 1904echo ""
1929 1905
1930orig_CXXFLAGS="$CXXFLAGS" 1906orig_CXXFLAGS="$CXXFLAGS"
1931 1907
1932
1933ac_ext=c 1908ac_ext=c
1934ac_cpp='$CPP $CPPFLAGS' 1909ac_cpp='$CPP $CPPFLAGS'
1935ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1910ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1936ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1911ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1937ac_compiler_gnu=$ac_cv_c_compiler_gnu 1912ac_compiler_gnu=$ac_cv_c_compiler_gnu
3715echo "${ECHO_T}no" >&6; } 3690echo "${ECHO_T}no" >&6; }
3716fi 3691fi
3717rm -f conftest* 3692rm -f conftest*
3718 3693
3719 3694
3695
3696cat >>confdefs.h <<\_ACEOF
3697#define _GNU_SOURCE 1
3698_ACEOF
3699
3700
3720{ echo "$as_me:$LINENO: checking for library containing strerror" >&5 3701{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3721echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } 3702echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3722if test "${ac_cv_search_strerror+set}" = set; then 3703if test "${ac_cv_search_strerror+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6 3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3724else 3705else
3871LINKER=$LINKER 3852LINKER=$LINKER
3872 3853
3873 3854
3874if test -z "$orig_CXXFLAGS"; then 3855if test -z "$orig_CXXFLAGS"; then
3875 if test x$GCC = xyes && test "x$GXX" = xyes; then 3856 if test x$GCC = xyes && test "x$GXX" = xyes; then
3876 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3857 CXXFLAGS="-g -O3 -fno-rtti -fvisibility-inlines-hidden -fno-threadsafe-statics -fno-enforce-eh-specs"
3877 cat >conftest.$ac_ext <<_ACEOF 3858 cat >conftest.$ac_ext <<_ACEOF
3878/* confdefs.h. */ 3859/* confdefs.h. */
3879_ACEOF 3860_ACEOF
3880cat confdefs.h >>conftest.$ac_ext 3861cat confdefs.h >>conftest.$ac_ext
3881cat >>conftest.$ac_ext <<_ACEOF 3862cat >>conftest.$ac_ext <<_ACEOF
3919 CXXFLAGS="-O" 3900 CXXFLAGS="-O"
3920 fi 3901 fi
3921 CFLAGS="$CXXFLAGS" 3902 CFLAGS="$CXXFLAGS"
3922fi 3903fi
3923 3904
3924
3925cat >>confdefs.h <<\_ACEOF
3926#define _GNU_SOURCE 1
3927_ACEOF
3928
3929
3930case $host in 3905case $host in
3931 *-*-solaris* ) 3906 *-*-solaris* )
3932 3907
3933cat >>confdefs.h <<\_ACEOF 3908cat >>confdefs.h <<\_ACEOF
3934#define _XOPEN_SOURCE 500 3909#define _XOPEN_SOURCE 500
3935_ACEOF 3910_ACEOF
3936 3911
3937 ;; 3912 ;;
3938esac 3913esac
3939
3940 3914
3941{ echo "$as_me:$LINENO: checking for setlocale" >&5 3915{ echo "$as_me:$LINENO: checking for setlocale" >&5
3942echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } 3916echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; }
3943if test "${ac_cv_func_setlocale+set}" = set; then 3917if test "${ac_cv_func_setlocale+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6 3918 echo $ECHO_N "(cached) $ECHO_C" >&6
4391fi 4365fi
4392 4366
4393fi 4367fi
4394 4368
4395 4369
4396
4397support_frills=yes 4370support_frills=yes
4398support_inheritpixmap=yes 4371support_inheritpixmap=yes
4399support_fading=yes 4372support_fading=yes
4400support_keepscrolling=yes 4373support_keepscrolling=yes
4401support_selectionscrolling=yes 4374support_selectionscrolling=yes
4404support_text_blink=yes 4377support_text_blink=yes
4405support_pointer_blank=yes 4378support_pointer_blank=yes
4406support_scroll_rxvt=yes 4379support_scroll_rxvt=yes
4407support_scroll_next=yes 4380support_scroll_next=yes
4408support_scroll_xterm=yes 4381support_scroll_xterm=yes
4409support_scroll_plain=yes
4410support_xim=yes 4382support_xim=yes
4411support_afterimage=yes 4383support_afterimage=yes
4412support_afterstep=yes 4384support_afterstep=yes
4413support_xft=yes 4385support_xft=yes
4414support_unicode3=no 4386support_unicode3=no
4416support_8bitctrls=no 4388support_8bitctrls=no
4417support_iso14755=yes 4389support_iso14755=yes
4418support_styles=yes 4390support_styles=yes
4419support_perl=yes 4391support_perl=yes
4420codesets=all 4392codesets=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 4393
4432 4394
4433# Check whether --enable-everything was given. 4395# Check whether --enable-everything was given.
4434if test "${enable_everything+set}" = set; then 4396if test "${enable_everything+set}" = set; then
4435 enableval=$enable_everything; 4397 enableval=$enable_everything;
4445 support_text_blink=no 4407 support_text_blink=no
4446 support_pointer_blank=no 4408 support_pointer_blank=no
4447 support_scroll_rxvt=no 4409 support_scroll_rxvt=no
4448 support_scroll_next=no 4410 support_scroll_next=no
4449 support_scroll_xterm=no 4411 support_scroll_xterm=no
4450 support_scroll_plain=no
4451 support_utmp=no 4412 support_utmp=no
4452 support_wtmp=no 4413 support_wtmp=no
4453 support_xim=no 4414 support_xim=no
4454 support_afterimage=no 4415 support_afterimage=no
4455 support_afterstep=no 4416 support_afterstep=no
4474 support_text_blink=yes 4435 support_text_blink=yes
4475 support_pointer_blank=yes 4436 support_pointer_blank=yes
4476 support_scroll_rxvt=yes 4437 support_scroll_rxvt=yes
4477 support_scroll_next=yes 4438 support_scroll_next=yes
4478 support_scroll_xterm=yes 4439 support_scroll_xterm=yes
4479 support_scroll_plain=yes
4480 support_utmp=yes 4440 support_utmp=yes
4481 support_wtmp=yes 4441 support_wtmp=yes
4482 support_xim=yes 4442 support_xim=yes
4483 support_afterimage=yes 4443 support_afterimage=yes
4484 support_afterstep=yes 4444 support_afterstep=yes
4645 4605
4646# Check whether --enable-perl was given. 4606# Check whether --enable-perl was given.
4647if test "${enable_perl+set}" = set; then 4607if test "${enable_perl+set}" = set; then
4648 enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then 4608 enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then
4649 support_perl=$enableval 4609 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 4610 fi
4659fi 4611fi
4660 4612
4661 4613
4662 4614
5370 5322
5371 5323
5372 5324
5373 5325
5374 5326
5327
5328
5329
5375for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h 5330for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h
5376do 5331do
5377as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5332as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5378if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5333if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5379 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5380echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5335echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5515 5470
5516 5471
5517 5472
5518 5473
5519 5474
5475
5476
5477
5520for ac_func in epoll_ctl kqueue port_create poll select 5478for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd
5521do 5479do
5522as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5480as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5523{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5481{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5524echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5482echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5525if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5483if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5694echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } 5652echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; }
5695if test $ac_cv_func_clock_gettime = yes; then 5653if test $ac_cv_func_clock_gettime = yes; then
5696 : 5654 :
5697else 5655else
5698 5656
5699 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 5657 if test $(uname) = Linux; then
5658 { echo "$as_me:$LINENO: checking for clock_gettime syscall" >&5
5659echo $ECHO_N "checking for clock_gettime syscall... $ECHO_C" >&6; }
5660 cat >conftest.$ac_ext <<_ACEOF
5661/* confdefs.h. */
5662_ACEOF
5663cat confdefs.h >>conftest.$ac_ext
5664cat >>conftest.$ac_ext <<_ACEOF
5665/* end confdefs.h. */
5666#include <syscall.h>
5667 #include <time.h>
5668int
5669main ()
5670{
5671struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts)
5672 ;
5673 return 0;
5674}
5675_ACEOF
5676rm -f conftest.$ac_objext conftest$ac_exeext
5677if { (ac_try="$ac_link"
5678case "(($ac_try" in
5679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5680 *) ac_try_echo=$ac_try;;
5681esac
5682eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5683 (eval "$ac_link") 2>conftest.er1
5684 ac_status=$?
5685 grep -v '^ *+' conftest.er1 >conftest.err
5686 rm -f conftest.er1
5687 cat conftest.err >&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); } && {
5690 test -z "$ac_cxx_werror_flag" ||
5691 test ! -s conftest.err
5692 } && test -s conftest$ac_exeext &&
5693 $as_test_x conftest$ac_exeext; then
5694 ac_have_clock_syscall=1
5695
5696cat >>confdefs.h <<\_ACEOF
5697#define HAVE_CLOCK_SYSCALL 1
5698_ACEOF
5699
5700 { echo "$as_me:$LINENO: result: yes" >&5
5701echo "${ECHO_T}yes" >&6; }
5702else
5703 echo "$as_me: failed program was:" >&5
5704sed 's/^/| /' conftest.$ac_ext >&5
5705
5706 { echo "$as_me:$LINENO: result: no" >&5
5707echo "${ECHO_T}no" >&6; }
5708fi
5709
5710rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5711 conftest$ac_exeext conftest.$ac_ext
5712 fi
5713 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then
5700 5714
5701{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 5715{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
5702echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } 5716echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
5703if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 5717if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6 5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 5780
5767 LIBS="-lrt $LIBS" 5781 LIBS="-lrt $LIBS"
5768 5782
5769fi 5783fi
5770 5784
5785 unset ac_cv_func_clock_gettime
5771 5786
5772for ac_func in clock_gettime 5787for ac_func in clock_gettime
5788do
5789as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5790{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5791echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5792if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5793 echo $ECHO_N "(cached) $ECHO_C" >&6
5794else
5795 cat >conftest.$ac_ext <<_ACEOF
5796/* confdefs.h. */
5797_ACEOF
5798cat confdefs.h >>conftest.$ac_ext
5799cat >>conftest.$ac_ext <<_ACEOF
5800/* end confdefs.h. */
5801/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5803#define $ac_func innocuous_$ac_func
5804
5805/* System header to define __stub macros and hopefully few prototypes,
5806 which can conflict with char $ac_func (); below.
5807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5808 <limits.h> exists even on freestanding compilers. */
5809
5810#ifdef __STDC__
5811# include <limits.h>
5812#else
5813# include <assert.h>
5814#endif
5815
5816#undef $ac_func
5817
5818/* Override any GCC internal prototype to avoid an error.
5819 Use char because int might match the return type of a GCC
5820 builtin and then its argument prototype would still apply. */
5821#ifdef __cplusplus
5822extern "C"
5823#endif
5824char $ac_func ();
5825/* The GNU C library defines this for functions which it implements
5826 to always fail with ENOSYS. Some functions are actually named
5827 something starting with __ and the normal name is an alias. */
5828#if defined __stub_$ac_func || defined __stub___$ac_func
5829choke me
5830#endif
5831
5832int
5833main ()
5834{
5835return $ac_func ();
5836 ;
5837 return 0;
5838}
5839_ACEOF
5840rm -f conftest.$ac_objext conftest$ac_exeext
5841if { (ac_try="$ac_link"
5842case "(($ac_try" in
5843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5844 *) ac_try_echo=$ac_try;;
5845esac
5846eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5847 (eval "$ac_link") 2>conftest.er1
5848 ac_status=$?
5849 grep -v '^ *+' conftest.er1 >conftest.err
5850 rm -f conftest.er1
5851 cat conftest.err >&5
5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853 (exit $ac_status); } && {
5854 test -z "$ac_cxx_werror_flag" ||
5855 test ! -s conftest.err
5856 } && test -s conftest$ac_exeext &&
5857 $as_test_x conftest$ac_exeext; then
5858 eval "$as_ac_var=yes"
5859else
5860 echo "$as_me: failed program was:" >&5
5861sed 's/^/| /' conftest.$ac_ext >&5
5862
5863 eval "$as_ac_var=no"
5864fi
5865
5866rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5867 conftest$ac_exeext conftest.$ac_ext
5868fi
5869ac_res=`eval echo '${'$as_ac_var'}'`
5870 { echo "$as_me:$LINENO: result: $ac_res" >&5
5871echo "${ECHO_T}$ac_res" >&6; }
5872if test `eval echo '${'$as_ac_var'}'` = yes; then
5873 cat >>confdefs.h <<_ACEOF
5874#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5875_ACEOF
5876
5877fi
5878done
5879
5880 fi
5881
5882fi
5883
5884
5885{ echo "$as_me:$LINENO: checking for nanosleep" >&5
5886echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; }
5887if test "${ac_cv_func_nanosleep+set}" = set; then
5888 echo $ECHO_N "(cached) $ECHO_C" >&6
5889else
5890 cat >conftest.$ac_ext <<_ACEOF
5891/* confdefs.h. */
5892_ACEOF
5893cat confdefs.h >>conftest.$ac_ext
5894cat >>conftest.$ac_ext <<_ACEOF
5895/* end confdefs.h. */
5896/* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep.
5897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5898#define nanosleep innocuous_nanosleep
5899
5900/* System header to define __stub macros and hopefully few prototypes,
5901 which can conflict with char nanosleep (); below.
5902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5903 <limits.h> exists even on freestanding compilers. */
5904
5905#ifdef __STDC__
5906# include <limits.h>
5907#else
5908# include <assert.h>
5909#endif
5910
5911#undef nanosleep
5912
5913/* Override any GCC internal prototype to avoid an error.
5914 Use char because int might match the return type of a GCC
5915 builtin and then its argument prototype would still apply. */
5916#ifdef __cplusplus
5917extern "C"
5918#endif
5919char nanosleep ();
5920/* The GNU C library defines this for functions which it implements
5921 to always fail with ENOSYS. Some functions are actually named
5922 something starting with __ and the normal name is an alias. */
5923#if defined __stub_nanosleep || defined __stub___nanosleep
5924choke me
5925#endif
5926
5927int
5928main ()
5929{
5930return nanosleep ();
5931 ;
5932 return 0;
5933}
5934_ACEOF
5935rm -f conftest.$ac_objext conftest$ac_exeext
5936if { (ac_try="$ac_link"
5937case "(($ac_try" in
5938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5939 *) ac_try_echo=$ac_try;;
5940esac
5941eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5942 (eval "$ac_link") 2>conftest.er1
5943 ac_status=$?
5944 grep -v '^ *+' conftest.er1 >conftest.err
5945 rm -f conftest.er1
5946 cat conftest.err >&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); } && {
5949 test -z "$ac_cxx_werror_flag" ||
5950 test ! -s conftest.err
5951 } && test -s conftest$ac_exeext &&
5952 $as_test_x conftest$ac_exeext; then
5953 ac_cv_func_nanosleep=yes
5954else
5955 echo "$as_me: failed program was:" >&5
5956sed 's/^/| /' conftest.$ac_ext >&5
5957
5958 ac_cv_func_nanosleep=no
5959fi
5960
5961rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5962 conftest$ac_exeext conftest.$ac_ext
5963fi
5964{ echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5
5965echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; }
5966if test $ac_cv_func_nanosleep = yes; then
5967 :
5968else
5969
5970 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
5971
5972{ echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
5973echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; }
5974if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5976else
5977 ac_check_lib_save_LIBS=$LIBS
5978LIBS="-lrt $LIBS"
5979cat >conftest.$ac_ext <<_ACEOF
5980/* confdefs.h. */
5981_ACEOF
5982cat confdefs.h >>conftest.$ac_ext
5983cat >>conftest.$ac_ext <<_ACEOF
5984/* end confdefs.h. */
5985
5986/* Override any GCC internal prototype to avoid an error.
5987 Use char because int might match the return type of a GCC
5988 builtin and then its argument prototype would still apply. */
5989#ifdef __cplusplus
5990extern "C"
5991#endif
5992char nanosleep ();
5993int
5994main ()
5995{
5996return nanosleep ();
5997 ;
5998 return 0;
5999}
6000_ACEOF
6001rm -f conftest.$ac_objext conftest$ac_exeext
6002if { (ac_try="$ac_link"
6003case "(($ac_try" in
6004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6005 *) ac_try_echo=$ac_try;;
6006esac
6007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6008 (eval "$ac_link") 2>conftest.er1
6009 ac_status=$?
6010 grep -v '^ *+' conftest.er1 >conftest.err
6011 rm -f conftest.er1
6012 cat conftest.err >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); } && {
6015 test -z "$ac_cxx_werror_flag" ||
6016 test ! -s conftest.err
6017 } && test -s conftest$ac_exeext &&
6018 $as_test_x conftest$ac_exeext; then
6019 ac_cv_lib_rt_nanosleep=yes
6020else
6021 echo "$as_me: failed program was:" >&5
6022sed 's/^/| /' conftest.$ac_ext >&5
6023
6024 ac_cv_lib_rt_nanosleep=no
6025fi
6026
6027rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6028 conftest$ac_exeext conftest.$ac_ext
6029LIBS=$ac_check_lib_save_LIBS
6030fi
6031{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
6032echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; }
6033if test $ac_cv_lib_rt_nanosleep = yes; then
6034 cat >>confdefs.h <<_ACEOF
6035#define HAVE_LIBRT 1
6036_ACEOF
6037
6038 LIBS="-lrt $LIBS"
6039
6040fi
6041
6042 unset ac_cv_func_nanosleep
6043
6044for ac_func in nanosleep
5773do 6045do
5774as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6046as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5775{ echo "$as_me:$LINENO: checking for $ac_func" >&5 6047{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5776echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6048echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5777if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6049if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5935_ACEOF 6207_ACEOF
5936 6208
5937 LIBS="-lm $LIBS" 6209 LIBS="-lm $LIBS"
5938 6210
5939fi 6211fi
5940
5941
5942 6212
5943 6213
5944 6214
5945 6215
5946 6216
5981echo "${ECHO_T}$TIC" >&6; } 6251echo "${ECHO_T}$TIC" >&6; }
5982else 6252else
5983 { echo "$as_me:$LINENO: result: no" >&5 6253 { echo "$as_me:$LINENO: result: no" >&5
5984echo "${ECHO_T}no" >&6; } 6254echo "${ECHO_T}no" >&6; }
5985fi 6255fi
5986
5987
5988 6256
5989 6257
5990 6258
5991{ echo "$as_me:$LINENO: checking for X" >&5 6259{ echo "$as_me:$LINENO: checking for X" >&5
5992echo $ECHO_N "checking for X... $ECHO_C" >&6; } 6260echo $ECHO_N "checking for X... $ECHO_C" >&6; }
7379echo "${ECHO_T}no" >&6; } 7647echo "${ECHO_T}no" >&6; }
7380 fi 7648 fi
7381 fi 7649 fi
7382fi 7650fi
7383 7651
7384{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7385echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
7386if test "${ac_cv_header_sys_wait_h+set}" = set; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7388else
7389 cat >conftest.$ac_ext <<_ACEOF
7390/* confdefs.h. */
7391_ACEOF
7392cat confdefs.h >>conftest.$ac_ext
7393cat >>conftest.$ac_ext <<_ACEOF
7394/* end confdefs.h. */
7395#include <sys/types.h>
7396#include <sys/wait.h>
7397#ifndef WEXITSTATUS
7398# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
7399#endif
7400#ifndef WIFEXITED
7401# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7402#endif
7403
7404int
7405main ()
7406{
7407 int s;
7408 wait (&s);
7409 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7410 ;
7411 return 0;
7412}
7413_ACEOF
7414rm -f conftest.$ac_objext
7415if { (ac_try="$ac_compile"
7416case "(($ac_try" in
7417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7418 *) ac_try_echo=$ac_try;;
7419esac
7420eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7421 (eval "$ac_compile") 2>conftest.er1
7422 ac_status=$?
7423 grep -v '^ *+' conftest.er1 >conftest.err
7424 rm -f conftest.er1
7425 cat conftest.err >&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } && {
7428 test -z "$ac_cxx_werror_flag" ||
7429 test ! -s conftest.err
7430 } && test -s conftest.$ac_objext; then
7431 ac_cv_header_sys_wait_h=yes
7432else
7433 echo "$as_me: failed program was:" >&5
7434sed 's/^/| /' conftest.$ac_ext >&5
7435
7436 ac_cv_header_sys_wait_h=no
7437fi
7438
7439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7440fi
7441{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
7442echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
7443if test $ac_cv_header_sys_wait_h = yes; then
7444
7445cat >>confdefs.h <<\_ACEOF
7446#define HAVE_SYS_WAIT_H 1
7447_ACEOF
7448
7449fi
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461 7652
7462 7653
7463 7654
7464 7655
7465 7656
7466 7657
7467 7658
7468for ac_header in \ 7659for ac_header in \
7469 assert.h \
7470 fcntl.h \
7471 stdarg.h \
7472 stdlib.h \
7473 string.h \
7474 termios.h \
7475 unistd.h \
7476 sys/byteorder.h \ 7660 sys/byteorder.h \
7477 sys/ioctl.h \ 7661 sys/ioctl.h \
7478 sys/select.h \
7479 sys/sockio.h \ 7662 sys/sockio.h \
7480 sys/strredir.h \ 7663 sys/strredir.h \
7481 sys/time.h \
7482 stdint.h \ 7664 stdint.h \
7483 wchar.h \ 7665 wchar.h \
7484 cwchar \ 7666 cwchar \
7485 clocale \
7486 7667
7487do 7668do
7488as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7669as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7489if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7670if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7490 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7671 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7621fi 7802fi
7622 7803
7623done 7804done
7624 7805
7625 7806
7626{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7627echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
7628if test "${ac_cv_header_time+set}" = set; then
7629 echo $ECHO_N "(cached) $ECHO_C" >&6
7630else
7631 cat >conftest.$ac_ext <<_ACEOF
7632/* confdefs.h. */
7633_ACEOF
7634cat confdefs.h >>conftest.$ac_ext
7635cat >>conftest.$ac_ext <<_ACEOF
7636/* end confdefs.h. */
7637#include <sys/types.h>
7638#include <sys/time.h>
7639#include <time.h>
7640
7641int
7642main ()
7643{
7644if ((struct tm *) 0)
7645return 0;
7646 ;
7647 return 0;
7648}
7649_ACEOF
7650rm -f conftest.$ac_objext
7651if { (ac_try="$ac_compile"
7652case "(($ac_try" in
7653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7654 *) ac_try_echo=$ac_try;;
7655esac
7656eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7657 (eval "$ac_compile") 2>conftest.er1
7658 ac_status=$?
7659 grep -v '^ *+' conftest.er1 >conftest.err
7660 rm -f conftest.er1
7661 cat conftest.err >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } && {
7664 test -z "$ac_cxx_werror_flag" ||
7665 test ! -s conftest.err
7666 } && test -s conftest.$ac_objext; then
7667 ac_cv_header_time=yes
7668else
7669 echo "$as_me: failed program was:" >&5
7670sed 's/^/| /' conftest.$ac_ext >&5
7671
7672 ac_cv_header_time=no
7673fi
7674
7675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7676fi
7677{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7678echo "${ECHO_T}$ac_cv_header_time" >&6; }
7679if test $ac_cv_header_time = yes; then
7680
7681cat >>confdefs.h <<\_ACEOF
7682#define TIME_WITH_SYS_TIME 1
7683_ACEOF
7684
7685fi
7686
7687
7688{ echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5
7689echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; }
7690if test "${rxvt_cv_header_sysioctl+set}" = set; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7692else
7693 cat >conftest.$ac_ext <<_ACEOF
7694/* confdefs.h. */
7695_ACEOF
7696cat confdefs.h >>conftest.$ac_ext
7697cat >>conftest.$ac_ext <<_ACEOF
7698/* end confdefs.h. */
7699#include <stdio.h>
7700#include <sys/ioctl.h>
7701#ifdef HAVE_TERMIOS_H
7702#include <termios.h>
7703#endif
7704int
7705main ()
7706{
7707int a = ECHO;
7708 ;
7709 return 0;
7710}
7711_ACEOF
7712rm -f conftest.$ac_objext
7713if { (ac_try="$ac_compile"
7714case "(($ac_try" in
7715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7716 *) ac_try_echo=$ac_try;;
7717esac
7718eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7719 (eval "$ac_compile") 2>conftest.er1
7720 ac_status=$?
7721 grep -v '^ *+' conftest.er1 >conftest.err
7722 rm -f conftest.er1
7723 cat conftest.err >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); } && {
7726 test -z "$ac_cxx_werror_flag" ||
7727 test ! -s conftest.err
7728 } && test -s conftest.$ac_objext; then
7729 rxvt_cv_header_sysioctl=yes
7730else
7731 echo "$as_me: failed program was:" >&5
7732sed 's/^/| /' conftest.$ac_ext >&5
7733
7734 rxvt_cv_header_sysioctl=no
7735fi
7736
7737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7738fi
7739{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7740echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; }
7741
7742{ echo "$as_me:$LINENO: checking for XPointer" >&5 7807{ echo "$as_me:$LINENO: checking for XPointer" >&5
7743echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } 7808echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; }
7744if test "${rxvt_cv_xpointer+set}" = set; then 7809if test "${rxvt_cv_xpointer+set}" = set; then
7745 echo $ECHO_N "(cached) $ECHO_C" >&6 7810 echo $ECHO_N "(cached) $ECHO_C" >&6
7746else 7811else
7857cat >>confdefs.h <<\_ACEOF 7922cat >>confdefs.h <<\_ACEOF
7858#define XLIB_ILLEGAL_ACCESS 1 7923#define XLIB_ILLEGAL_ACCESS 1
7859_ACEOF 7924_ACEOF
7860 7925
7861fi 7926fi
7862
7863{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7864echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
7865if test "${ac_cv_c_const+set}" = set; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7867else
7868 cat >conftest.$ac_ext <<_ACEOF
7869/* confdefs.h. */
7870_ACEOF
7871cat confdefs.h >>conftest.$ac_ext
7872cat >>conftest.$ac_ext <<_ACEOF
7873/* end confdefs.h. */
7874
7875int
7876main ()
7877{
7878/* FIXME: Include the comments suggested by Paul. */
7879#ifndef __cplusplus
7880 /* Ultrix mips cc rejects this. */
7881 typedef int charset[2];
7882 const charset cs;
7883 /* SunOS 4.1.1 cc rejects this. */
7884 char const *const *pcpcc;
7885 char **ppc;
7886 /* NEC SVR4.0.2 mips cc rejects this. */
7887 struct point {int x, y;};
7888 static struct point const zero = {0,0};
7889 /* AIX XL C 1.02.0.0 rejects this.
7890 It does not let you subtract one const X* pointer from another in
7891 an arm of an if-expression whose if-part is not a constant
7892 expression */
7893 const char *g = "string";
7894 pcpcc = &g + (g ? g-g : 0);
7895 /* HPUX 7.0 cc rejects these. */
7896 ++pcpcc;
7897 ppc = (char**) pcpcc;
7898 pcpcc = (char const *const *) ppc;
7899 { /* SCO 3.2v4 cc rejects this. */
7900 char *t;
7901 char const *s = 0 ? (char *) 0 : (char const *) 0;
7902
7903 *t++ = 0;
7904 if (s) return 0;
7905 }
7906 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7907 int x[] = {25, 17};
7908 const int *foo = &x[0];
7909 ++foo;
7910 }
7911 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7912 typedef const int *iptr;
7913 iptr p = 0;
7914 ++p;
7915 }
7916 { /* AIX XL C 1.02.0.0 rejects this saying
7917 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7918 struct s { int j; const int *ap[3]; };
7919 struct s *b; b->j = 5;
7920 }
7921 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7922 const int foo = 10;
7923 if (!foo) return 0;
7924 }
7925 return !cs[0] && !zero.x;
7926#endif
7927
7928 ;
7929 return 0;
7930}
7931_ACEOF
7932rm -f conftest.$ac_objext
7933if { (ac_try="$ac_compile"
7934case "(($ac_try" in
7935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7936 *) ac_try_echo=$ac_try;;
7937esac
7938eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7939 (eval "$ac_compile") 2>conftest.er1
7940 ac_status=$?
7941 grep -v '^ *+' conftest.er1 >conftest.err
7942 rm -f conftest.er1
7943 cat conftest.err >&5
7944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7945 (exit $ac_status); } && {
7946 test -z "$ac_cxx_werror_flag" ||
7947 test ! -s conftest.err
7948 } && test -s conftest.$ac_objext; then
7949 ac_cv_c_const=yes
7950else
7951 echo "$as_me: failed program was:" >&5
7952sed 's/^/| /' conftest.$ac_ext >&5
7953
7954 ac_cv_c_const=no
7955fi
7956
7957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7958fi
7959{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7960echo "${ECHO_T}$ac_cv_c_const" >&6; }
7961if test $ac_cv_c_const = no; then
7962
7963cat >>confdefs.h <<\_ACEOF
7964#define const
7965_ACEOF
7966
7967fi
7968
7969{ echo "$as_me:$LINENO: checking for inline" >&5
7970echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
7971if test "${ac_cv_c_inline+set}" = set; then
7972 echo $ECHO_N "(cached) $ECHO_C" >&6
7973else
7974 ac_cv_c_inline=no
7975for ac_kw in inline __inline__ __inline; do
7976 cat >conftest.$ac_ext <<_ACEOF
7977/* confdefs.h. */
7978_ACEOF
7979cat confdefs.h >>conftest.$ac_ext
7980cat >>conftest.$ac_ext <<_ACEOF
7981/* end confdefs.h. */
7982#ifndef __cplusplus
7983typedef int foo_t;
7984static $ac_kw foo_t static_foo () {return 0; }
7985$ac_kw foo_t foo () {return 0; }
7986#endif
7987
7988_ACEOF
7989rm -f conftest.$ac_objext
7990if { (ac_try="$ac_compile"
7991case "(($ac_try" in
7992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7993 *) ac_try_echo=$ac_try;;
7994esac
7995eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7996 (eval "$ac_compile") 2>conftest.er1
7997 ac_status=$?
7998 grep -v '^ *+' conftest.er1 >conftest.err
7999 rm -f conftest.er1
8000 cat conftest.err >&5
8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 (exit $ac_status); } && {
8003 test -z "$ac_cxx_werror_flag" ||
8004 test ! -s conftest.err
8005 } && test -s conftest.$ac_objext; then
8006 ac_cv_c_inline=$ac_kw
8007else
8008 echo "$as_me: failed program was:" >&5
8009sed 's/^/| /' conftest.$ac_ext >&5
8010
8011
8012fi
8013
8014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8015 test "$ac_cv_c_inline" != no && break
8016done
8017
8018fi
8019{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8020echo "${ECHO_T}$ac_cv_c_inline" >&6; }
8021
8022
8023case $ac_cv_c_inline in
8024 inline | yes) ;;
8025 *)
8026 case $ac_cv_c_inline in
8027 no) ac_val=;;
8028 *) ac_val=$ac_cv_c_inline;;
8029 esac
8030 cat >>confdefs.h <<_ACEOF
8031#ifndef __cplusplus
8032#define inline $ac_val
8033#endif
8034_ACEOF
8035 ;;
8036esac
8037
8038
8039 7927
8040{ echo "$as_me:$LINENO: checking for mode_t" >&5 7928{ echo "$as_me:$LINENO: checking for mode_t" >&5
8041echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } 7929echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
8042if test "${ac_cv_type_mode_t+set}" = set; then 7930if test "${ac_cv_type_mode_t+set}" = set; then
8043 echo $ECHO_N "(cached) $ECHO_C" >&6 7931 echo $ECHO_N "(cached) $ECHO_C" >&6
8200_ACEOF 8088_ACEOF
8201 8089
8202fi 8090fi
8203 8091
8204 8092
8205{ echo "$as_me:$LINENO: checking for short" >&5 8093 { echo "$as_me:$LINENO: checking for int16_t" >&5
8206echo $ECHO_N "checking for short... $ECHO_C" >&6; } 8094echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
8207if test "${ac_cv_type_short+set}" = set; then 8095if test "${ac_cv_c_int16_t+set}" = set; then
8208 echo $ECHO_N "(cached) $ECHO_C" >&6 8096 echo $ECHO_N "(cached) $ECHO_C" >&6
8209else 8097else
8098 ac_cv_c_int16_t=no
8099 for ac_type in 'int16_t' 'int' 'long int' \
8100 'long long int' 'short int' 'signed char'; do
8210 cat >conftest.$ac_ext <<_ACEOF 8101 cat >conftest.$ac_ext <<_ACEOF
8211/* confdefs.h. */ 8102/* confdefs.h. */
8212_ACEOF 8103_ACEOF
8213cat confdefs.h >>conftest.$ac_ext 8104cat confdefs.h >>conftest.$ac_ext
8214cat >>conftest.$ac_ext <<_ACEOF 8105cat >>conftest.$ac_ext <<_ACEOF
8215/* end confdefs.h. */ 8106/* end confdefs.h. */
8216$ac_includes_default 8107$ac_includes_default
8217typedef short ac__type_new_;
8218int 8108int
8219main () 8109main ()
8220{ 8110{
8221if ((ac__type_new_ *) 0) 8111static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
8222 return 0; 8112test_array [0] = 0
8223if (sizeof (ac__type_new_)) 8113
8224 return 0;
8225 ; 8114 ;
8226 return 0; 8115 return 0;
8227} 8116}
8228_ACEOF 8117_ACEOF
8229rm -f conftest.$ac_objext 8118rm -f conftest.$ac_objext
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } && { 8131 (exit $ac_status); } && {
8243 test -z "$ac_cxx_werror_flag" || 8132 test -z "$ac_cxx_werror_flag" ||
8244 test ! -s conftest.err 8133 test ! -s conftest.err
8245 } && test -s conftest.$ac_objext; then 8134 } && test -s conftest.$ac_objext; then
8246 ac_cv_type_short=yes
8247else
8248 echo "$as_me: failed program was:" >&5
8249sed 's/^/| /' conftest.$ac_ext >&5
8250
8251 ac_cv_type_short=no
8252fi
8253
8254rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8255fi
8256{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8257echo "${ECHO_T}$ac_cv_type_short" >&6; }
8258
8259# The cast to long int works around a bug in the HP C Compiler
8260# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8261# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8262# This bug is HP SR number 8606223364.
8263{ echo "$as_me:$LINENO: checking size of short" >&5
8264echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
8265if test "${ac_cv_sizeof_short+set}" = set; then
8266 echo $ECHO_N "(cached) $ECHO_C" >&6
8267else
8268 if test "$cross_compiling" = yes; then
8269 # Depending upon the size, compute the lo and hi bounds.
8270cat >conftest.$ac_ext <<_ACEOF 8135 cat >conftest.$ac_ext <<_ACEOF
8271/* confdefs.h. */ 8136/* confdefs.h. */
8272_ACEOF 8137_ACEOF
8273cat confdefs.h >>conftest.$ac_ext 8138cat confdefs.h >>conftest.$ac_ext
8274cat >>conftest.$ac_ext <<_ACEOF 8139cat >>conftest.$ac_ext <<_ACEOF
8275/* end confdefs.h. */ 8140/* end confdefs.h. */
8276$ac_includes_default 8141$ac_includes_default
8277 typedef short ac__type_sizeof_;
8278int 8142int
8279main () 8143main ()
8280{ 8144{
8281static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 8145static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)
8146 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];
8282test_array [0] = 0 8147test_array [0] = 0
8283 8148
8284 ; 8149 ;
8285 return 0; 8150 return 0;
8286} 8151}
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); } && { 8166 (exit $ac_status); } && {
8302 test -z "$ac_cxx_werror_flag" || 8167 test -z "$ac_cxx_werror_flag" ||
8303 test ! -s conftest.err 8168 test ! -s conftest.err
8304 } && test -s conftest.$ac_objext; then 8169 } && test -s conftest.$ac_objext; then
8305 ac_lo=0 ac_mid=0 8170 :
8306 while :; do 8171else
8172 echo "$as_me: failed program was:" >&5
8173sed 's/^/| /' conftest.$ac_ext >&5
8174
8175 case $ac_type in
8176 int16_t) ac_cv_c_int16_t=yes ;;
8177 *) ac_cv_c_int16_t=$ac_type ;;
8178esac
8179
8180fi
8181
8182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8183else
8184 echo "$as_me: failed program was:" >&5
8185sed 's/^/| /' conftest.$ac_ext >&5
8186
8187
8188fi
8189
8190rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8191 test "$ac_cv_c_int16_t" != no && break
8192 done
8193fi
8194{ echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5
8195echo "${ECHO_T}$ac_cv_c_int16_t" >&6; }
8196 case $ac_cv_c_int16_t in #(
8197 no|yes) ;; #(
8198 *)
8199
8200cat >>confdefs.h <<_ACEOF
8201#define int16_t $ac_cv_c_int16_t
8202_ACEOF
8203;;
8204 esac
8205
8206
8207 { echo "$as_me:$LINENO: checking for uint16_t" >&5
8208echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
8209if test "${ac_cv_c_uint16_t+set}" = set; then
8210 echo $ECHO_N "(cached) $ECHO_C" >&6
8211else
8212 ac_cv_c_uint16_t=no
8213 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
8214 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
8307 cat >conftest.$ac_ext <<_ACEOF 8215 cat >conftest.$ac_ext <<_ACEOF
8308/* confdefs.h. */ 8216/* confdefs.h. */
8309_ACEOF 8217_ACEOF
8310cat confdefs.h >>conftest.$ac_ext 8218cat confdefs.h >>conftest.$ac_ext
8311cat >>conftest.$ac_ext <<_ACEOF 8219cat >>conftest.$ac_ext <<_ACEOF
8312/* end confdefs.h. */ 8220/* end confdefs.h. */
8313$ac_includes_default 8221$ac_includes_default
8314 typedef short ac__type_sizeof_;
8315int 8222int
8316main () 8223main ()
8317{ 8224{
8318static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 8225static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
8319test_array [0] = 0 8226test_array [0] = 0
8320 8227
8321 ; 8228 ;
8322 return 0; 8229 return 0;
8323} 8230}
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); } && { 8245 (exit $ac_status); } && {
8339 test -z "$ac_cxx_werror_flag" || 8246 test -z "$ac_cxx_werror_flag" ||
8340 test ! -s conftest.err 8247 test ! -s conftest.err
8341 } && test -s conftest.$ac_objext; then 8248 } && test -s conftest.$ac_objext; then
8342 ac_hi=$ac_mid; break 8249 case $ac_type in
8250 uint16_t) ac_cv_c_uint16_t=yes ;;
8251 *) ac_cv_c_uint16_t=$ac_type ;;
8252esac
8253
8343else 8254else
8344 echo "$as_me: failed program was:" >&5 8255 echo "$as_me: failed program was:" >&5
8345sed 's/^/| /' conftest.$ac_ext >&5 8256sed 's/^/| /' conftest.$ac_ext >&5
8346 8257
8347 ac_lo=`expr $ac_mid + 1` 8258
8348 if test $ac_lo -le $ac_mid; then
8349 ac_lo= ac_hi=
8350 break
8351 fi
8352 ac_mid=`expr 2 '*' $ac_mid + 1`
8353fi 8259fi
8354 8260
8355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8262 test "$ac_cv_c_uint16_t" != no && break
8356 done 8263 done
8357else 8264fi
8358 echo "$as_me: failed program was:" >&5 8265{ echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
8359sed 's/^/| /' conftest.$ac_ext >&5 8266echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; }
8267 case $ac_cv_c_uint16_t in #(
8268 no|yes) ;; #(
8269 *)
8360 8270
8271
8272cat >>confdefs.h <<_ACEOF
8273#define uint16_t $ac_cv_c_uint16_t
8274_ACEOF
8275;;
8276 esac
8277
8278
8279 { echo "$as_me:$LINENO: checking for int32_t" >&5
8280echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
8281if test "${ac_cv_c_int32_t+set}" = set; then
8282 echo $ECHO_N "(cached) $ECHO_C" >&6
8283else
8284 ac_cv_c_int32_t=no
8285 for ac_type in 'int32_t' 'int' 'long int' \
8286 'long long int' 'short int' 'signed char'; do
8361 cat >conftest.$ac_ext <<_ACEOF 8287 cat >conftest.$ac_ext <<_ACEOF
8362/* confdefs.h. */ 8288/* confdefs.h. */
8363_ACEOF 8289_ACEOF
8364cat confdefs.h >>conftest.$ac_ext 8290cat confdefs.h >>conftest.$ac_ext
8365cat >>conftest.$ac_ext <<_ACEOF 8291cat >>conftest.$ac_ext <<_ACEOF
8366/* end confdefs.h. */ 8292/* end confdefs.h. */
8367$ac_includes_default 8293$ac_includes_default
8368 typedef short ac__type_sizeof_;
8369int 8294int
8370main () 8295main ()
8371{ 8296{
8372static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 8297static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
8373test_array [0] = 0 8298test_array [0] = 0
8374 8299
8375 ; 8300 ;
8376 return 0; 8301 return 0;
8377} 8302}
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); } && { 8317 (exit $ac_status); } && {
8393 test -z "$ac_cxx_werror_flag" || 8318 test -z "$ac_cxx_werror_flag" ||
8394 test ! -s conftest.err 8319 test ! -s conftest.err
8395 } && test -s conftest.$ac_objext; then 8320 } && test -s conftest.$ac_objext; then
8396 ac_hi=-1 ac_mid=-1
8397 while :; do
8398 cat >conftest.$ac_ext <<_ACEOF 8321 cat >conftest.$ac_ext <<_ACEOF
8399/* confdefs.h. */ 8322/* confdefs.h. */
8400_ACEOF 8323_ACEOF
8401cat confdefs.h >>conftest.$ac_ext 8324cat confdefs.h >>conftest.$ac_ext
8402cat >>conftest.$ac_ext <<_ACEOF 8325cat >>conftest.$ac_ext <<_ACEOF
8403/* end confdefs.h. */ 8326/* end confdefs.h. */
8404$ac_includes_default 8327$ac_includes_default
8405 typedef short ac__type_sizeof_;
8406int 8328int
8407main () 8329main ()
8408{ 8330{
8409static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 8331static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
8332 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
8410test_array [0] = 0 8333test_array [0] = 0
8411 8334
8412 ; 8335 ;
8413 return 0; 8336 return 0;
8414} 8337}
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } && { 8352 (exit $ac_status); } && {
8430 test -z "$ac_cxx_werror_flag" || 8353 test -z "$ac_cxx_werror_flag" ||
8431 test ! -s conftest.err 8354 test ! -s conftest.err
8432 } && test -s conftest.$ac_objext; then 8355 } && test -s conftest.$ac_objext; then
8433 ac_lo=$ac_mid; break 8356 :
8434else 8357else
8435 echo "$as_me: failed program was:" >&5 8358 echo "$as_me: failed program was:" >&5
8436sed 's/^/| /' conftest.$ac_ext >&5 8359sed 's/^/| /' conftest.$ac_ext >&5
8437 8360
8438 ac_hi=`expr '(' $ac_mid ')' - 1` 8361 case $ac_type in
8439 if test $ac_mid -le $ac_hi; then 8362 int32_t) ac_cv_c_int32_t=yes ;;
8440 ac_lo= ac_hi= 8363 *) ac_cv_c_int32_t=$ac_type ;;
8441 break 8364esac
8442 fi 8365
8443 ac_mid=`expr 2 '*' $ac_mid`
8444fi 8366fi
8445 8367
8446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8447 done
8448else 8369else
8449 echo "$as_me: failed program was:" >&5 8370 echo "$as_me: failed program was:" >&5
8450sed 's/^/| /' conftest.$ac_ext >&5 8371sed 's/^/| /' conftest.$ac_ext >&5
8451 8372
8452 ac_lo= ac_hi= 8373
8453fi 8374fi
8454 8375
8455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8377 test "$ac_cv_c_int32_t" != no && break
8378 done
8456fi 8379fi
8380{ echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
8381echo "${ECHO_T}$ac_cv_c_int32_t" >&6; }
8382 case $ac_cv_c_int32_t in #(
8383 no|yes) ;; #(
8384 *)
8457 8385
8458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8386cat >>confdefs.h <<_ACEOF
8459# Binary search between lo and hi bounds. 8387#define int32_t $ac_cv_c_int32_t
8460while test "x$ac_lo" != "x$ac_hi"; do 8388_ACEOF
8461 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 8389;;
8390 esac
8391
8392
8393 { echo "$as_me:$LINENO: checking for uint32_t" >&5
8394echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
8395if test "${ac_cv_c_uint32_t+set}" = set; then
8396 echo $ECHO_N "(cached) $ECHO_C" >&6
8397else
8398 ac_cv_c_uint32_t=no
8399 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
8400 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
8462 cat >conftest.$ac_ext <<_ACEOF 8401 cat >conftest.$ac_ext <<_ACEOF
8463/* confdefs.h. */ 8402/* confdefs.h. */
8464_ACEOF 8403_ACEOF
8465cat confdefs.h >>conftest.$ac_ext 8404cat confdefs.h >>conftest.$ac_ext
8466cat >>conftest.$ac_ext <<_ACEOF 8405cat >>conftest.$ac_ext <<_ACEOF
8467/* end confdefs.h. */ 8406/* end confdefs.h. */
8468$ac_includes_default 8407$ac_includes_default
8469 typedef short ac__type_sizeof_;
8470int 8408int
8471main () 8409main ()
8472{ 8410{
8473static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 8411static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
8474test_array [0] = 0 8412test_array [0] = 0
8475 8413
8476 ; 8414 ;
8477 return 0; 8415 return 0;
8478} 8416}
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } && { 8431 (exit $ac_status); } && {
8494 test -z "$ac_cxx_werror_flag" || 8432 test -z "$ac_cxx_werror_flag" ||
8495 test ! -s conftest.err 8433 test ! -s conftest.err
8496 } && test -s conftest.$ac_objext; then 8434 } && test -s conftest.$ac_objext; then
8497 ac_hi=$ac_mid 8435 case $ac_type in
8436 uint32_t) ac_cv_c_uint32_t=yes ;;
8437 *) ac_cv_c_uint32_t=$ac_type ;;
8438esac
8439
8498else 8440else
8499 echo "$as_me: failed program was:" >&5 8441 echo "$as_me: failed program was:" >&5
8500sed 's/^/| /' conftest.$ac_ext >&5 8442sed 's/^/| /' conftest.$ac_ext >&5
8501 8443
8502 ac_lo=`expr '(' $ac_mid ')' + 1` 8444
8503fi 8445fi
8504 8446
8505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8506done 8448 test "$ac_cv_c_uint32_t" != no && break
8507case $ac_lo in 8449 done
8508?*) ac_cv_sizeof_short=$ac_lo;;
8509'') if test "$ac_cv_type_short" = yes; then
8510 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
8511See \`config.log' for more details." >&5
8512echo "$as_me: error: cannot compute sizeof (short)
8513See \`config.log' for more details." >&2;}
8514 { (exit 77); exit 77; }; }
8515 else
8516 ac_cv_sizeof_short=0
8517 fi ;;
8518esac
8519else
8520 cat >conftest.$ac_ext <<_ACEOF
8521/* confdefs.h. */
8522_ACEOF
8523cat confdefs.h >>conftest.$ac_ext
8524cat >>conftest.$ac_ext <<_ACEOF
8525/* end confdefs.h. */
8526$ac_includes_default
8527 typedef short ac__type_sizeof_;
8528static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8529static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8530#include <stdio.h>
8531#include <stdlib.h>
8532int
8533main ()
8534{
8535
8536 FILE *f = fopen ("conftest.val", "w");
8537 if (! f)
8538 return 1;
8539 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8540 {
8541 long int i = longval ();
8542 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8543 return 1;
8544 fprintf (f, "%ld\n", i);
8545 }
8546 else
8547 {
8548 unsigned long int i = ulongval ();
8549 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8550 return 1;
8551 fprintf (f, "%lu\n", i);
8552 }
8553 return ferror (f) || fclose (f) != 0;
8554
8555 ;
8556 return 0;
8557}
8558_ACEOF
8559rm -f conftest$ac_exeext
8560if { (ac_try="$ac_link"
8561case "(($ac_try" in
8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8564esac
8565eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_link") 2>&5
8567 ac_status=$?
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8570 { (case "(($ac_try" in
8571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8572 *) ac_try_echo=$ac_try;;
8573esac
8574eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8575 (eval "$ac_try") 2>&5
8576 ac_status=$?
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); }; }; then
8579 ac_cv_sizeof_short=`cat conftest.val`
8580else
8581 echo "$as_me: program exited with status $ac_status" >&5
8582echo "$as_me: failed program was:" >&5
8583sed 's/^/| /' conftest.$ac_ext >&5
8584
8585( exit $ac_status )
8586if test "$ac_cv_type_short" = yes; then
8587 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
8588See \`config.log' for more details." >&5
8589echo "$as_me: error: cannot compute sizeof (short)
8590See \`config.log' for more details." >&2;}
8591 { (exit 77); exit 77; }; }
8592 else
8593 ac_cv_sizeof_short=0
8594 fi
8595fi 8450fi
8596rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8597fi
8598rm -f conftest.val
8599fi
8600{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 8451{ echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
8601echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } 8452echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
8453 case $ac_cv_c_uint32_t in #(
8454 no|yes) ;; #(
8455 *)
8602 8456
8457cat >>confdefs.h <<\_ACEOF
8458#define _UINT32_T 1
8459_ACEOF
8603 8460
8604 8461
8605cat >>confdefs.h <<_ACEOF 8462cat >>confdefs.h <<_ACEOF
8606#define SIZEOF_SHORT $ac_cv_sizeof_short 8463#define uint32_t $ac_cv_c_uint32_t
8607_ACEOF 8464_ACEOF
8608 8465;;
8609
8610{ echo "$as_me:$LINENO: checking for int" >&5
8611echo $ECHO_N "checking for int... $ECHO_C" >&6; }
8612if test "${ac_cv_type_int+set}" = set; then
8613 echo $ECHO_N "(cached) $ECHO_C" >&6
8614else
8615 cat >conftest.$ac_ext <<_ACEOF
8616/* confdefs.h. */
8617_ACEOF
8618cat confdefs.h >>conftest.$ac_ext
8619cat >>conftest.$ac_ext <<_ACEOF
8620/* end confdefs.h. */
8621$ac_includes_default
8622typedef int ac__type_new_;
8623int
8624main ()
8625{
8626if ((ac__type_new_ *) 0)
8627 return 0;
8628if (sizeof (ac__type_new_))
8629 return 0;
8630 ;
8631 return 0;
8632}
8633_ACEOF
8634rm -f conftest.$ac_objext
8635if { (ac_try="$ac_compile"
8636case "(($ac_try" in
8637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8638 *) ac_try_echo=$ac_try;;
8639esac 8466 esac
8640eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8641 (eval "$ac_compile") 2>conftest.er1
8642 ac_status=$?
8643 grep -v '^ *+' conftest.er1 >conftest.err
8644 rm -f conftest.er1
8645 cat conftest.err >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } && {
8648 test -z "$ac_cxx_werror_flag" ||
8649 test ! -s conftest.err
8650 } && test -s conftest.$ac_objext; then
8651 ac_cv_type_int=yes
8652else
8653 echo "$as_me: failed program was:" >&5
8654sed 's/^/| /' conftest.$ac_ext >&5
8655
8656 ac_cv_type_int=no
8657fi
8658
8659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8660fi
8661{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8662echo "${ECHO_T}$ac_cv_type_int" >&6; }
8663
8664# The cast to long int works around a bug in the HP C Compiler
8665# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8666# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8667# This bug is HP SR number 8606223364.
8668{ echo "$as_me:$LINENO: checking size of int" >&5
8669echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
8670if test "${ac_cv_sizeof_int+set}" = set; then
8671 echo $ECHO_N "(cached) $ECHO_C" >&6
8672else
8673 if test "$cross_compiling" = yes; then
8674 # Depending upon the size, compute the lo and hi bounds.
8675cat >conftest.$ac_ext <<_ACEOF
8676/* confdefs.h. */
8677_ACEOF
8678cat confdefs.h >>conftest.$ac_ext
8679cat >>conftest.$ac_ext <<_ACEOF
8680/* end confdefs.h. */
8681$ac_includes_default
8682 typedef int ac__type_sizeof_;
8683int
8684main ()
8685{
8686static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8687test_array [0] = 0
8688
8689 ;
8690 return 0;
8691}
8692_ACEOF
8693rm -f conftest.$ac_objext
8694if { (ac_try="$ac_compile"
8695case "(($ac_try" in
8696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8697 *) ac_try_echo=$ac_try;;
8698esac
8699eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8700 (eval "$ac_compile") 2>conftest.er1
8701 ac_status=$?
8702 grep -v '^ *+' conftest.er1 >conftest.err
8703 rm -f conftest.er1
8704 cat conftest.err >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } && {
8707 test -z "$ac_cxx_werror_flag" ||
8708 test ! -s conftest.err
8709 } && test -s conftest.$ac_objext; then
8710 ac_lo=0 ac_mid=0
8711 while :; do
8712 cat >conftest.$ac_ext <<_ACEOF
8713/* confdefs.h. */
8714_ACEOF
8715cat confdefs.h >>conftest.$ac_ext
8716cat >>conftest.$ac_ext <<_ACEOF
8717/* end confdefs.h. */
8718$ac_includes_default
8719 typedef int ac__type_sizeof_;
8720int
8721main ()
8722{
8723static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8724test_array [0] = 0
8725
8726 ;
8727 return 0;
8728}
8729_ACEOF
8730rm -f conftest.$ac_objext
8731if { (ac_try="$ac_compile"
8732case "(($ac_try" in
8733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8734 *) ac_try_echo=$ac_try;;
8735esac
8736eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8737 (eval "$ac_compile") 2>conftest.er1
8738 ac_status=$?
8739 grep -v '^ *+' conftest.er1 >conftest.err
8740 rm -f conftest.er1
8741 cat conftest.err >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); } && {
8744 test -z "$ac_cxx_werror_flag" ||
8745 test ! -s conftest.err
8746 } && test -s conftest.$ac_objext; then
8747 ac_hi=$ac_mid; break
8748else
8749 echo "$as_me: failed program was:" >&5
8750sed 's/^/| /' conftest.$ac_ext >&5
8751
8752 ac_lo=`expr $ac_mid + 1`
8753 if test $ac_lo -le $ac_mid; then
8754 ac_lo= ac_hi=
8755 break
8756 fi
8757 ac_mid=`expr 2 '*' $ac_mid + 1`
8758fi
8759
8760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8761 done
8762else
8763 echo "$as_me: failed program was:" >&5
8764sed 's/^/| /' conftest.$ac_ext >&5
8765
8766 cat >conftest.$ac_ext <<_ACEOF
8767/* confdefs.h. */
8768_ACEOF
8769cat confdefs.h >>conftest.$ac_ext
8770cat >>conftest.$ac_ext <<_ACEOF
8771/* end confdefs.h. */
8772$ac_includes_default
8773 typedef int ac__type_sizeof_;
8774int
8775main ()
8776{
8777static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8778test_array [0] = 0
8779
8780 ;
8781 return 0;
8782}
8783_ACEOF
8784rm -f conftest.$ac_objext
8785if { (ac_try="$ac_compile"
8786case "(($ac_try" in
8787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8788 *) ac_try_echo=$ac_try;;
8789esac
8790eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8791 (eval "$ac_compile") 2>conftest.er1
8792 ac_status=$?
8793 grep -v '^ *+' conftest.er1 >conftest.err
8794 rm -f conftest.er1
8795 cat conftest.err >&5
8796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797 (exit $ac_status); } && {
8798 test -z "$ac_cxx_werror_flag" ||
8799 test ! -s conftest.err
8800 } && test -s conftest.$ac_objext; then
8801 ac_hi=-1 ac_mid=-1
8802 while :; do
8803 cat >conftest.$ac_ext <<_ACEOF
8804/* confdefs.h. */
8805_ACEOF
8806cat confdefs.h >>conftest.$ac_ext
8807cat >>conftest.$ac_ext <<_ACEOF
8808/* end confdefs.h. */
8809$ac_includes_default
8810 typedef int ac__type_sizeof_;
8811int
8812main ()
8813{
8814static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8815test_array [0] = 0
8816
8817 ;
8818 return 0;
8819}
8820_ACEOF
8821rm -f conftest.$ac_objext
8822if { (ac_try="$ac_compile"
8823case "(($ac_try" in
8824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8825 *) ac_try_echo=$ac_try;;
8826esac
8827eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8828 (eval "$ac_compile") 2>conftest.er1
8829 ac_status=$?
8830 grep -v '^ *+' conftest.er1 >conftest.err
8831 rm -f conftest.er1
8832 cat conftest.err >&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); } && {
8835 test -z "$ac_cxx_werror_flag" ||
8836 test ! -s conftest.err
8837 } && test -s conftest.$ac_objext; then
8838 ac_lo=$ac_mid; break
8839else
8840 echo "$as_me: failed program was:" >&5
8841sed 's/^/| /' conftest.$ac_ext >&5
8842
8843 ac_hi=`expr '(' $ac_mid ')' - 1`
8844 if test $ac_mid -le $ac_hi; then
8845 ac_lo= ac_hi=
8846 break
8847 fi
8848 ac_mid=`expr 2 '*' $ac_mid`
8849fi
8850
8851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8852 done
8853else
8854 echo "$as_me: failed program was:" >&5
8855sed 's/^/| /' conftest.$ac_ext >&5
8856
8857 ac_lo= ac_hi=
8858fi
8859
8860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8861fi
8862
8863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8864# Binary search between lo and hi bounds.
8865while test "x$ac_lo" != "x$ac_hi"; do
8866 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8867 cat >conftest.$ac_ext <<_ACEOF
8868/* confdefs.h. */
8869_ACEOF
8870cat confdefs.h >>conftest.$ac_ext
8871cat >>conftest.$ac_ext <<_ACEOF
8872/* end confdefs.h. */
8873$ac_includes_default
8874 typedef int ac__type_sizeof_;
8875int
8876main ()
8877{
8878static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8879test_array [0] = 0
8880
8881 ;
8882 return 0;
8883}
8884_ACEOF
8885rm -f conftest.$ac_objext
8886if { (ac_try="$ac_compile"
8887case "(($ac_try" in
8888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8889 *) ac_try_echo=$ac_try;;
8890esac
8891eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8892 (eval "$ac_compile") 2>conftest.er1
8893 ac_status=$?
8894 grep -v '^ *+' conftest.er1 >conftest.err
8895 rm -f conftest.er1
8896 cat conftest.err >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); } && {
8899 test -z "$ac_cxx_werror_flag" ||
8900 test ! -s conftest.err
8901 } && test -s conftest.$ac_objext; then
8902 ac_hi=$ac_mid
8903else
8904 echo "$as_me: failed program was:" >&5
8905sed 's/^/| /' conftest.$ac_ext >&5
8906
8907 ac_lo=`expr '(' $ac_mid ')' + 1`
8908fi
8909
8910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8911done
8912case $ac_lo in
8913?*) ac_cv_sizeof_int=$ac_lo;;
8914'') if test "$ac_cv_type_int" = yes; then
8915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
8916See \`config.log' for more details." >&5
8917echo "$as_me: error: cannot compute sizeof (int)
8918See \`config.log' for more details." >&2;}
8919 { (exit 77); exit 77; }; }
8920 else
8921 ac_cv_sizeof_int=0
8922 fi ;;
8923esac
8924else
8925 cat >conftest.$ac_ext <<_ACEOF
8926/* confdefs.h. */
8927_ACEOF
8928cat confdefs.h >>conftest.$ac_ext
8929cat >>conftest.$ac_ext <<_ACEOF
8930/* end confdefs.h. */
8931$ac_includes_default
8932 typedef int ac__type_sizeof_;
8933static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8934static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8935#include <stdio.h>
8936#include <stdlib.h>
8937int
8938main ()
8939{
8940
8941 FILE *f = fopen ("conftest.val", "w");
8942 if (! f)
8943 return 1;
8944 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8945 {
8946 long int i = longval ();
8947 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8948 return 1;
8949 fprintf (f, "%ld\n", i);
8950 }
8951 else
8952 {
8953 unsigned long int i = ulongval ();
8954 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8955 return 1;
8956 fprintf (f, "%lu\n", i);
8957 }
8958 return ferror (f) || fclose (f) != 0;
8959
8960 ;
8961 return 0;
8962}
8963_ACEOF
8964rm -f conftest$ac_exeext
8965if { (ac_try="$ac_link"
8966case "(($ac_try" in
8967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8968 *) ac_try_echo=$ac_try;;
8969esac
8970eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8971 (eval "$ac_link") 2>&5
8972 ac_status=$?
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8975 { (case "(($ac_try" in
8976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8977 *) ac_try_echo=$ac_try;;
8978esac
8979eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8980 (eval "$ac_try") 2>&5
8981 ac_status=$?
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); }; }; then
8984 ac_cv_sizeof_int=`cat conftest.val`
8985else
8986 echo "$as_me: program exited with status $ac_status" >&5
8987echo "$as_me: failed program was:" >&5
8988sed 's/^/| /' conftest.$ac_ext >&5
8989
8990( exit $ac_status )
8991if test "$ac_cv_type_int" = yes; then
8992 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
8993See \`config.log' for more details." >&5
8994echo "$as_me: error: cannot compute sizeof (int)
8995See \`config.log' for more details." >&2;}
8996 { (exit 77); exit 77; }; }
8997 else
8998 ac_cv_sizeof_int=0
8999 fi
9000fi
9001rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9002fi
9003rm -f conftest.val
9004fi
9005{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
9006echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
9007
9008
9009
9010cat >>confdefs.h <<_ACEOF
9011#define SIZEOF_INT $ac_cv_sizeof_int
9012_ACEOF
9013
9014
9015{ echo "$as_me:$LINENO: checking for long long" >&5
9016echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
9017if test "${ac_cv_type_long_long+set}" = set; then
9018 echo $ECHO_N "(cached) $ECHO_C" >&6
9019else
9020 cat >conftest.$ac_ext <<_ACEOF
9021/* confdefs.h. */
9022_ACEOF
9023cat confdefs.h >>conftest.$ac_ext
9024cat >>conftest.$ac_ext <<_ACEOF
9025/* end confdefs.h. */
9026$ac_includes_default
9027typedef long long ac__type_new_;
9028int
9029main ()
9030{
9031if ((ac__type_new_ *) 0)
9032 return 0;
9033if (sizeof (ac__type_new_))
9034 return 0;
9035 ;
9036 return 0;
9037}
9038_ACEOF
9039rm -f conftest.$ac_objext
9040if { (ac_try="$ac_compile"
9041case "(($ac_try" in
9042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9043 *) ac_try_echo=$ac_try;;
9044esac
9045eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9046 (eval "$ac_compile") 2>conftest.er1
9047 ac_status=$?
9048 grep -v '^ *+' conftest.er1 >conftest.err
9049 rm -f conftest.er1
9050 cat conftest.err >&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); } && {
9053 test -z "$ac_cxx_werror_flag" ||
9054 test ! -s conftest.err
9055 } && test -s conftest.$ac_objext; then
9056 ac_cv_type_long_long=yes
9057else
9058 echo "$as_me: failed program was:" >&5
9059sed 's/^/| /' conftest.$ac_ext >&5
9060
9061 ac_cv_type_long_long=no
9062fi
9063
9064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9065fi
9066{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
9067echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
9068
9069# The cast to long int works around a bug in the HP C Compiler
9070# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9071# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9072# This bug is HP SR number 8606223364.
9073{ echo "$as_me:$LINENO: checking size of long long" >&5
9074echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
9075if test "${ac_cv_sizeof_long_long+set}" = set; then
9076 echo $ECHO_N "(cached) $ECHO_C" >&6
9077else
9078 if test "$cross_compiling" = yes; then
9079 # Depending upon the size, compute the lo and hi bounds.
9080cat >conftest.$ac_ext <<_ACEOF
9081/* confdefs.h. */
9082_ACEOF
9083cat confdefs.h >>conftest.$ac_ext
9084cat >>conftest.$ac_ext <<_ACEOF
9085/* end confdefs.h. */
9086$ac_includes_default
9087 typedef long long ac__type_sizeof_;
9088int
9089main ()
9090{
9091static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9092test_array [0] = 0
9093
9094 ;
9095 return 0;
9096}
9097_ACEOF
9098rm -f conftest.$ac_objext
9099if { (ac_try="$ac_compile"
9100case "(($ac_try" in
9101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9102 *) ac_try_echo=$ac_try;;
9103esac
9104eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9105 (eval "$ac_compile") 2>conftest.er1
9106 ac_status=$?
9107 grep -v '^ *+' conftest.er1 >conftest.err
9108 rm -f conftest.er1
9109 cat conftest.err >&5
9110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111 (exit $ac_status); } && {
9112 test -z "$ac_cxx_werror_flag" ||
9113 test ! -s conftest.err
9114 } && test -s conftest.$ac_objext; then
9115 ac_lo=0 ac_mid=0
9116 while :; do
9117 cat >conftest.$ac_ext <<_ACEOF
9118/* confdefs.h. */
9119_ACEOF
9120cat confdefs.h >>conftest.$ac_ext
9121cat >>conftest.$ac_ext <<_ACEOF
9122/* end confdefs.h. */
9123$ac_includes_default
9124 typedef long long ac__type_sizeof_;
9125int
9126main ()
9127{
9128static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9129test_array [0] = 0
9130
9131 ;
9132 return 0;
9133}
9134_ACEOF
9135rm -f conftest.$ac_objext
9136if { (ac_try="$ac_compile"
9137case "(($ac_try" in
9138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9139 *) ac_try_echo=$ac_try;;
9140esac
9141eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9142 (eval "$ac_compile") 2>conftest.er1
9143 ac_status=$?
9144 grep -v '^ *+' conftest.er1 >conftest.err
9145 rm -f conftest.er1
9146 cat conftest.err >&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); } && {
9149 test -z "$ac_cxx_werror_flag" ||
9150 test ! -s conftest.err
9151 } && test -s conftest.$ac_objext; then
9152 ac_hi=$ac_mid; break
9153else
9154 echo "$as_me: failed program was:" >&5
9155sed 's/^/| /' conftest.$ac_ext >&5
9156
9157 ac_lo=`expr $ac_mid + 1`
9158 if test $ac_lo -le $ac_mid; then
9159 ac_lo= ac_hi=
9160 break
9161 fi
9162 ac_mid=`expr 2 '*' $ac_mid + 1`
9163fi
9164
9165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9166 done
9167else
9168 echo "$as_me: failed program was:" >&5
9169sed 's/^/| /' conftest.$ac_ext >&5
9170
9171 cat >conftest.$ac_ext <<_ACEOF
9172/* confdefs.h. */
9173_ACEOF
9174cat confdefs.h >>conftest.$ac_ext
9175cat >>conftest.$ac_ext <<_ACEOF
9176/* end confdefs.h. */
9177$ac_includes_default
9178 typedef long long ac__type_sizeof_;
9179int
9180main ()
9181{
9182static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9183test_array [0] = 0
9184
9185 ;
9186 return 0;
9187}
9188_ACEOF
9189rm -f conftest.$ac_objext
9190if { (ac_try="$ac_compile"
9191case "(($ac_try" in
9192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9193 *) ac_try_echo=$ac_try;;
9194esac
9195eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9196 (eval "$ac_compile") 2>conftest.er1
9197 ac_status=$?
9198 grep -v '^ *+' conftest.er1 >conftest.err
9199 rm -f conftest.er1
9200 cat conftest.err >&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } && {
9203 test -z "$ac_cxx_werror_flag" ||
9204 test ! -s conftest.err
9205 } && test -s conftest.$ac_objext; then
9206 ac_hi=-1 ac_mid=-1
9207 while :; do
9208 cat >conftest.$ac_ext <<_ACEOF
9209/* confdefs.h. */
9210_ACEOF
9211cat confdefs.h >>conftest.$ac_ext
9212cat >>conftest.$ac_ext <<_ACEOF
9213/* end confdefs.h. */
9214$ac_includes_default
9215 typedef long long ac__type_sizeof_;
9216int
9217main ()
9218{
9219static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9220test_array [0] = 0
9221
9222 ;
9223 return 0;
9224}
9225_ACEOF
9226rm -f conftest.$ac_objext
9227if { (ac_try="$ac_compile"
9228case "(($ac_try" in
9229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9230 *) ac_try_echo=$ac_try;;
9231esac
9232eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9233 (eval "$ac_compile") 2>conftest.er1
9234 ac_status=$?
9235 grep -v '^ *+' conftest.er1 >conftest.err
9236 rm -f conftest.er1
9237 cat conftest.err >&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); } && {
9240 test -z "$ac_cxx_werror_flag" ||
9241 test ! -s conftest.err
9242 } && test -s conftest.$ac_objext; then
9243 ac_lo=$ac_mid; break
9244else
9245 echo "$as_me: failed program was:" >&5
9246sed 's/^/| /' conftest.$ac_ext >&5
9247
9248 ac_hi=`expr '(' $ac_mid ')' - 1`
9249 if test $ac_mid -le $ac_hi; then
9250 ac_lo= ac_hi=
9251 break
9252 fi
9253 ac_mid=`expr 2 '*' $ac_mid`
9254fi
9255
9256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9257 done
9258else
9259 echo "$as_me: failed program was:" >&5
9260sed 's/^/| /' conftest.$ac_ext >&5
9261
9262 ac_lo= ac_hi=
9263fi
9264
9265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9266fi
9267
9268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9269# Binary search between lo and hi bounds.
9270while test "x$ac_lo" != "x$ac_hi"; do
9271 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9272 cat >conftest.$ac_ext <<_ACEOF
9273/* confdefs.h. */
9274_ACEOF
9275cat confdefs.h >>conftest.$ac_ext
9276cat >>conftest.$ac_ext <<_ACEOF
9277/* end confdefs.h. */
9278$ac_includes_default
9279 typedef long long ac__type_sizeof_;
9280int
9281main ()
9282{
9283static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9284test_array [0] = 0
9285
9286 ;
9287 return 0;
9288}
9289_ACEOF
9290rm -f conftest.$ac_objext
9291if { (ac_try="$ac_compile"
9292case "(($ac_try" in
9293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9294 *) ac_try_echo=$ac_try;;
9295esac
9296eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9297 (eval "$ac_compile") 2>conftest.er1
9298 ac_status=$?
9299 grep -v '^ *+' conftest.er1 >conftest.err
9300 rm -f conftest.er1
9301 cat conftest.err >&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); } && {
9304 test -z "$ac_cxx_werror_flag" ||
9305 test ! -s conftest.err
9306 } && test -s conftest.$ac_objext; then
9307 ac_hi=$ac_mid
9308else
9309 echo "$as_me: failed program was:" >&5
9310sed 's/^/| /' conftest.$ac_ext >&5
9311
9312 ac_lo=`expr '(' $ac_mid ')' + 1`
9313fi
9314
9315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9316done
9317case $ac_lo in
9318?*) ac_cv_sizeof_long_long=$ac_lo;;
9319'') if test "$ac_cv_type_long_long" = yes; then
9320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9321See \`config.log' for more details." >&5
9322echo "$as_me: error: cannot compute sizeof (long long)
9323See \`config.log' for more details." >&2;}
9324 { (exit 77); exit 77; }; }
9325 else
9326 ac_cv_sizeof_long_long=0
9327 fi ;;
9328esac
9329else
9330 cat >conftest.$ac_ext <<_ACEOF
9331/* confdefs.h. */
9332_ACEOF
9333cat confdefs.h >>conftest.$ac_ext
9334cat >>conftest.$ac_ext <<_ACEOF
9335/* end confdefs.h. */
9336$ac_includes_default
9337 typedef long long ac__type_sizeof_;
9338static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9339static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9340#include <stdio.h>
9341#include <stdlib.h>
9342int
9343main ()
9344{
9345
9346 FILE *f = fopen ("conftest.val", "w");
9347 if (! f)
9348 return 1;
9349 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9350 {
9351 long int i = longval ();
9352 if (i != ((long int) (sizeof (ac__type_sizeof_))))
9353 return 1;
9354 fprintf (f, "%ld\n", i);
9355 }
9356 else
9357 {
9358 unsigned long int i = ulongval ();
9359 if (i != ((long int) (sizeof (ac__type_sizeof_))))
9360 return 1;
9361 fprintf (f, "%lu\n", i);
9362 }
9363 return ferror (f) || fclose (f) != 0;
9364
9365 ;
9366 return 0;
9367}
9368_ACEOF
9369rm -f conftest$ac_exeext
9370if { (ac_try="$ac_link"
9371case "(($ac_try" in
9372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9373 *) ac_try_echo=$ac_try;;
9374esac
9375eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9376 (eval "$ac_link") 2>&5
9377 ac_status=$?
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9380 { (case "(($ac_try" in
9381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9382 *) ac_try_echo=$ac_try;;
9383esac
9384eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9385 (eval "$ac_try") 2>&5
9386 ac_status=$?
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); }; }; then
9389 ac_cv_sizeof_long_long=`cat conftest.val`
9390else
9391 echo "$as_me: program exited with status $ac_status" >&5
9392echo "$as_me: failed program was:" >&5
9393sed 's/^/| /' conftest.$ac_ext >&5
9394
9395( exit $ac_status )
9396if test "$ac_cv_type_long_long" = yes; then
9397 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9398See \`config.log' for more details." >&5
9399echo "$as_me: error: cannot compute sizeof (long long)
9400See \`config.log' for more details." >&2;}
9401 { (exit 77); exit 77; }; }
9402 else
9403 ac_cv_sizeof_long_long=0
9404 fi
9405fi
9406rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9407fi
9408rm -f conftest.val
9409fi
9410{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
9411echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
9412
9413
9414
9415cat >>confdefs.h <<_ACEOF
9416#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9417_ACEOF
9418
9419
9420{ echo "$as_me:$LINENO: checking for int *" >&5
9421echo $ECHO_N "checking for int *... $ECHO_C" >&6; }
9422if test "${ac_cv_type_int_p+set}" = set; then
9423 echo $ECHO_N "(cached) $ECHO_C" >&6
9424else
9425 cat >conftest.$ac_ext <<_ACEOF
9426/* confdefs.h. */
9427_ACEOF
9428cat confdefs.h >>conftest.$ac_ext
9429cat >>conftest.$ac_ext <<_ACEOF
9430/* end confdefs.h. */
9431$ac_includes_default
9432typedef int * ac__type_new_;
9433int
9434main ()
9435{
9436if ((ac__type_new_ *) 0)
9437 return 0;
9438if (sizeof (ac__type_new_))
9439 return 0;
9440 ;
9441 return 0;
9442}
9443_ACEOF
9444rm -f conftest.$ac_objext
9445if { (ac_try="$ac_compile"
9446case "(($ac_try" in
9447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9448 *) ac_try_echo=$ac_try;;
9449esac
9450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9451 (eval "$ac_compile") 2>conftest.er1
9452 ac_status=$?
9453 grep -v '^ *+' conftest.er1 >conftest.err
9454 rm -f conftest.er1
9455 cat conftest.err >&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); } && {
9458 test -z "$ac_cxx_werror_flag" ||
9459 test ! -s conftest.err
9460 } && test -s conftest.$ac_objext; then
9461 ac_cv_type_int_p=yes
9462else
9463 echo "$as_me: failed program was:" >&5
9464sed 's/^/| /' conftest.$ac_ext >&5
9465
9466 ac_cv_type_int_p=no
9467fi
9468
9469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9470fi
9471{ echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5
9472echo "${ECHO_T}$ac_cv_type_int_p" >&6; }
9473
9474# The cast to long int works around a bug in the HP C Compiler
9475# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9476# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9477# This bug is HP SR number 8606223364.
9478{ echo "$as_me:$LINENO: checking size of int *" >&5
9479echo $ECHO_N "checking size of int *... $ECHO_C" >&6; }
9480if test "${ac_cv_sizeof_int_p+set}" = set; then
9481 echo $ECHO_N "(cached) $ECHO_C" >&6
9482else
9483 if test "$cross_compiling" = yes; then
9484 # Depending upon the size, compute the lo and hi bounds.
9485cat >conftest.$ac_ext <<_ACEOF
9486/* confdefs.h. */
9487_ACEOF
9488cat confdefs.h >>conftest.$ac_ext
9489cat >>conftest.$ac_ext <<_ACEOF
9490/* end confdefs.h. */
9491$ac_includes_default
9492 typedef int * ac__type_sizeof_;
9493int
9494main ()
9495{
9496static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9497test_array [0] = 0
9498
9499 ;
9500 return 0;
9501}
9502_ACEOF
9503rm -f conftest.$ac_objext
9504if { (ac_try="$ac_compile"
9505case "(($ac_try" in
9506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9507 *) ac_try_echo=$ac_try;;
9508esac
9509eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9510 (eval "$ac_compile") 2>conftest.er1
9511 ac_status=$?
9512 grep -v '^ *+' conftest.er1 >conftest.err
9513 rm -f conftest.er1
9514 cat conftest.err >&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); } && {
9517 test -z "$ac_cxx_werror_flag" ||
9518 test ! -s conftest.err
9519 } && test -s conftest.$ac_objext; then
9520 ac_lo=0 ac_mid=0
9521 while :; do
9522 cat >conftest.$ac_ext <<_ACEOF
9523/* confdefs.h. */
9524_ACEOF
9525cat confdefs.h >>conftest.$ac_ext
9526cat >>conftest.$ac_ext <<_ACEOF
9527/* end confdefs.h. */
9528$ac_includes_default
9529 typedef int * ac__type_sizeof_;
9530int
9531main ()
9532{
9533static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9534test_array [0] = 0
9535
9536 ;
9537 return 0;
9538}
9539_ACEOF
9540rm -f conftest.$ac_objext
9541if { (ac_try="$ac_compile"
9542case "(($ac_try" in
9543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9544 *) ac_try_echo=$ac_try;;
9545esac
9546eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9547 (eval "$ac_compile") 2>conftest.er1
9548 ac_status=$?
9549 grep -v '^ *+' conftest.er1 >conftest.err
9550 rm -f conftest.er1
9551 cat conftest.err >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); } && {
9554 test -z "$ac_cxx_werror_flag" ||
9555 test ! -s conftest.err
9556 } && test -s conftest.$ac_objext; then
9557 ac_hi=$ac_mid; break
9558else
9559 echo "$as_me: failed program was:" >&5
9560sed 's/^/| /' conftest.$ac_ext >&5
9561
9562 ac_lo=`expr $ac_mid + 1`
9563 if test $ac_lo -le $ac_mid; then
9564 ac_lo= ac_hi=
9565 break
9566 fi
9567 ac_mid=`expr 2 '*' $ac_mid + 1`
9568fi
9569
9570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9571 done
9572else
9573 echo "$as_me: failed program was:" >&5
9574sed 's/^/| /' conftest.$ac_ext >&5
9575
9576 cat >conftest.$ac_ext <<_ACEOF
9577/* confdefs.h. */
9578_ACEOF
9579cat confdefs.h >>conftest.$ac_ext
9580cat >>conftest.$ac_ext <<_ACEOF
9581/* end confdefs.h. */
9582$ac_includes_default
9583 typedef int * ac__type_sizeof_;
9584int
9585main ()
9586{
9587static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9588test_array [0] = 0
9589
9590 ;
9591 return 0;
9592}
9593_ACEOF
9594rm -f conftest.$ac_objext
9595if { (ac_try="$ac_compile"
9596case "(($ac_try" in
9597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9598 *) ac_try_echo=$ac_try;;
9599esac
9600eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9601 (eval "$ac_compile") 2>conftest.er1
9602 ac_status=$?
9603 grep -v '^ *+' conftest.er1 >conftest.err
9604 rm -f conftest.er1
9605 cat conftest.err >&5
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 (exit $ac_status); } && {
9608 test -z "$ac_cxx_werror_flag" ||
9609 test ! -s conftest.err
9610 } && test -s conftest.$ac_objext; then
9611 ac_hi=-1 ac_mid=-1
9612 while :; do
9613 cat >conftest.$ac_ext <<_ACEOF
9614/* confdefs.h. */
9615_ACEOF
9616cat confdefs.h >>conftest.$ac_ext
9617cat >>conftest.$ac_ext <<_ACEOF
9618/* end confdefs.h. */
9619$ac_includes_default
9620 typedef int * ac__type_sizeof_;
9621int
9622main ()
9623{
9624static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9625test_array [0] = 0
9626
9627 ;
9628 return 0;
9629}
9630_ACEOF
9631rm -f conftest.$ac_objext
9632if { (ac_try="$ac_compile"
9633case "(($ac_try" in
9634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9635 *) ac_try_echo=$ac_try;;
9636esac
9637eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9638 (eval "$ac_compile") 2>conftest.er1
9639 ac_status=$?
9640 grep -v '^ *+' conftest.er1 >conftest.err
9641 rm -f conftest.er1
9642 cat conftest.err >&5
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); } && {
9645 test -z "$ac_cxx_werror_flag" ||
9646 test ! -s conftest.err
9647 } && test -s conftest.$ac_objext; then
9648 ac_lo=$ac_mid; break
9649else
9650 echo "$as_me: failed program was:" >&5
9651sed 's/^/| /' conftest.$ac_ext >&5
9652
9653 ac_hi=`expr '(' $ac_mid ')' - 1`
9654 if test $ac_mid -le $ac_hi; then
9655 ac_lo= ac_hi=
9656 break
9657 fi
9658 ac_mid=`expr 2 '*' $ac_mid`
9659fi
9660
9661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9662 done
9663else
9664 echo "$as_me: failed program was:" >&5
9665sed 's/^/| /' conftest.$ac_ext >&5
9666
9667 ac_lo= ac_hi=
9668fi
9669
9670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9671fi
9672
9673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9674# Binary search between lo and hi bounds.
9675while test "x$ac_lo" != "x$ac_hi"; do
9676 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9677 cat >conftest.$ac_ext <<_ACEOF
9678/* confdefs.h. */
9679_ACEOF
9680cat confdefs.h >>conftest.$ac_ext
9681cat >>conftest.$ac_ext <<_ACEOF
9682/* end confdefs.h. */
9683$ac_includes_default
9684 typedef int * ac__type_sizeof_;
9685int
9686main ()
9687{
9688static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9689test_array [0] = 0
9690
9691 ;
9692 return 0;
9693}
9694_ACEOF
9695rm -f conftest.$ac_objext
9696if { (ac_try="$ac_compile"
9697case "(($ac_try" in
9698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9699 *) ac_try_echo=$ac_try;;
9700esac
9701eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9702 (eval "$ac_compile") 2>conftest.er1
9703 ac_status=$?
9704 grep -v '^ *+' conftest.er1 >conftest.err
9705 rm -f conftest.er1
9706 cat conftest.err >&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); } && {
9709 test -z "$ac_cxx_werror_flag" ||
9710 test ! -s conftest.err
9711 } && test -s conftest.$ac_objext; then
9712 ac_hi=$ac_mid
9713else
9714 echo "$as_me: failed program was:" >&5
9715sed 's/^/| /' conftest.$ac_ext >&5
9716
9717 ac_lo=`expr '(' $ac_mid ')' + 1`
9718fi
9719
9720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9721done
9722case $ac_lo in
9723?*) ac_cv_sizeof_int_p=$ac_lo;;
9724'') if test "$ac_cv_type_int_p" = yes; then
9725 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *)
9726See \`config.log' for more details." >&5
9727echo "$as_me: error: cannot compute sizeof (int *)
9728See \`config.log' for more details." >&2;}
9729 { (exit 77); exit 77; }; }
9730 else
9731 ac_cv_sizeof_int_p=0
9732 fi ;;
9733esac
9734else
9735 cat >conftest.$ac_ext <<_ACEOF
9736/* confdefs.h. */
9737_ACEOF
9738cat confdefs.h >>conftest.$ac_ext
9739cat >>conftest.$ac_ext <<_ACEOF
9740/* end confdefs.h. */
9741$ac_includes_default
9742 typedef int * ac__type_sizeof_;
9743static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9744static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9745#include <stdio.h>
9746#include <stdlib.h>
9747int
9748main ()
9749{
9750
9751 FILE *f = fopen ("conftest.val", "w");
9752 if (! f)
9753 return 1;
9754 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9755 {
9756 long int i = longval ();
9757 if (i != ((long int) (sizeof (ac__type_sizeof_))))
9758 return 1;
9759 fprintf (f, "%ld\n", i);
9760 }
9761 else
9762 {
9763 unsigned long int i = ulongval ();
9764 if (i != ((long int) (sizeof (ac__type_sizeof_))))
9765 return 1;
9766 fprintf (f, "%lu\n", i);
9767 }
9768 return ferror (f) || fclose (f) != 0;
9769
9770 ;
9771 return 0;
9772}
9773_ACEOF
9774rm -f conftest$ac_exeext
9775if { (ac_try="$ac_link"
9776case "(($ac_try" in
9777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9778 *) ac_try_echo=$ac_try;;
9779esac
9780eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9781 (eval "$ac_link") 2>&5
9782 ac_status=$?
9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9785 { (case "(($ac_try" in
9786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9787 *) ac_try_echo=$ac_try;;
9788esac
9789eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9790 (eval "$ac_try") 2>&5
9791 ac_status=$?
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); }; }; then
9794 ac_cv_sizeof_int_p=`cat conftest.val`
9795else
9796 echo "$as_me: program exited with status $ac_status" >&5
9797echo "$as_me: failed program was:" >&5
9798sed 's/^/| /' conftest.$ac_ext >&5
9799
9800( exit $ac_status )
9801if test "$ac_cv_type_int_p" = yes; then
9802 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *)
9803See \`config.log' for more details." >&5
9804echo "$as_me: error: cannot compute sizeof (int *)
9805See \`config.log' for more details." >&2;}
9806 { (exit 77); exit 77; }; }
9807 else
9808 ac_cv_sizeof_int_p=0
9809 fi
9810fi
9811rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9812fi
9813rm -f conftest.val
9814fi
9815{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5
9816echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6; }
9817
9818
9819
9820cat >>confdefs.h <<_ACEOF
9821#define SIZEOF_INT_P $ac_cv_sizeof_int_p
9822_ACEOF
9823
9824
9825
9826
9827{ echo "$as_me:$LINENO: checking for int16_t" >&5
9828echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
9829if test "${rxvt_cv_int16_t+set}" = set; then
9830 echo $ECHO_N "(cached) $ECHO_C" >&6
9831else
9832 cat >conftest.$ac_ext <<_ACEOF
9833/* confdefs.h. */
9834_ACEOF
9835cat confdefs.h >>conftest.$ac_ext
9836cat >>conftest.$ac_ext <<_ACEOF
9837/* end confdefs.h. */
9838#include <stdint.h>
9839int
9840main ()
9841{
9842int16_t dummy;
9843 ;
9844 return 0;
9845}
9846_ACEOF
9847rm -f conftest.$ac_objext
9848if { (ac_try="$ac_compile"
9849case "(($ac_try" in
9850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9851 *) ac_try_echo=$ac_try;;
9852esac
9853eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9854 (eval "$ac_compile") 2>conftest.er1
9855 ac_status=$?
9856 grep -v '^ *+' conftest.er1 >conftest.err
9857 rm -f conftest.er1
9858 cat conftest.err >&5
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); } && {
9861 test -z "$ac_cxx_werror_flag" ||
9862 test ! -s conftest.err
9863 } && test -s conftest.$ac_objext; then
9864 rxvt_cv_int16_t=yes
9865else
9866 echo "$as_me: failed program was:" >&5
9867sed 's/^/| /' conftest.$ac_ext >&5
9868
9869 if test "$ac_cv_sizeof_char" -ge 2; then
9870 rxvt_cv_int16_t=" char"
9871else
9872 if test "$ac_cv_sizeof_short" -ge 2; then
9873 rxvt_cv_int16_t=" short"
9874 else
9875 if test "$ac_cv_sizeof_int" -ge 2; then
9876 rxvt_cv_int16_t=" int"
9877 else
9878 if test "$ac_cv_sizeof_long" -ge 2; then
9879 rxvt_cv_int16_t=" long"
9880 else
9881 if test "$ac_cv_sizeof_long_long" -ge 2; then
9882 rxvt_cv_int16_t=" long long"
9883 else
9884 rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default
9885 fi
9886 fi
9887 fi
9888 fi
9889fi
9890fi
9891
9892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9893fi
9894{ echo "$as_me:$LINENO: result: $rxvt_cv_int16_t" >&5
9895echo "${ECHO_T}$rxvt_cv_int16_t" >&6; }
9896if test x"$rxvt_cv_int16_t" != xyes; then
9897 rxvt_int16_typedef="typedef $rxvt_cv_int16_t int16_t;"
9898else
9899 if test x"" = x; then
9900 rxvt_int16_typedef="/* typedef short int16_t; */"
9901 else
9902 rxvt_int16_typedef="/* typedef short int16_t; */"
9903 fi
9904fi
9905
9906{ echo "$as_me:$LINENO: checking for uint16_t" >&5
9907echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
9908if test "${rxvt_cv_uint16_t+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9910else
9911 cat >conftest.$ac_ext <<_ACEOF
9912/* confdefs.h. */
9913_ACEOF
9914cat confdefs.h >>conftest.$ac_ext
9915cat >>conftest.$ac_ext <<_ACEOF
9916/* end confdefs.h. */
9917#include <stdint.h>
9918int
9919main ()
9920{
9921uint16_t dummy;
9922 ;
9923 return 0;
9924}
9925_ACEOF
9926rm -f conftest.$ac_objext
9927if { (ac_try="$ac_compile"
9928case "(($ac_try" in
9929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9930 *) ac_try_echo=$ac_try;;
9931esac
9932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9933 (eval "$ac_compile") 2>conftest.er1
9934 ac_status=$?
9935 grep -v '^ *+' conftest.er1 >conftest.err
9936 rm -f conftest.er1
9937 cat conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } && {
9940 test -z "$ac_cxx_werror_flag" ||
9941 test ! -s conftest.err
9942 } && test -s conftest.$ac_objext; then
9943 rxvt_cv_uint16_t=yes
9944else
9945 echo "$as_me: failed program was:" >&5
9946sed 's/^/| /' conftest.$ac_ext >&5
9947
9948 if test "$ac_cv_sizeof_char" -ge 2; then
9949 rxvt_cv_uint16_t="unsigned char"
9950else
9951 if test "$ac_cv_sizeof_short" -ge 2; then
9952 rxvt_cv_uint16_t="unsigned short"
9953 else
9954 if test "$ac_cv_sizeof_int" -ge 2; then
9955 rxvt_cv_uint16_t="unsigned int"
9956 else
9957 if test "$ac_cv_sizeof_long" -ge 2; then
9958 rxvt_cv_uint16_t="unsigned long"
9959 else
9960 if test "$ac_cv_sizeof_long_long" -ge 2; then
9961 rxvt_cv_uint16_t="unsigned long long"
9962 else
9963 rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default
9964 fi
9965 fi
9966 fi
9967 fi
9968fi
9969fi
9970
9971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9972fi
9973{ echo "$as_me:$LINENO: result: $rxvt_cv_uint16_t" >&5
9974echo "${ECHO_T}$rxvt_cv_uint16_t" >&6; }
9975if test x"$rxvt_cv_uint16_t" != xyes; then
9976 rxvt_uint16_typedef="typedef $rxvt_cv_uint16_t uint16_t;"
9977else
9978 if test x"unsigned" = x; then
9979 rxvt_uint16_typedef="/* typedef short uint16_t; */"
9980 else
9981 rxvt_uint16_typedef="/* typedef unsigned short uint16_t; */"
9982 fi
9983fi
9984
9985{ echo "$as_me:$LINENO: checking for int32_t" >&5
9986echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
9987if test "${rxvt_cv_int32_t+set}" = set; then
9988 echo $ECHO_N "(cached) $ECHO_C" >&6
9989else
9990 cat >conftest.$ac_ext <<_ACEOF
9991/* confdefs.h. */
9992_ACEOF
9993cat confdefs.h >>conftest.$ac_ext
9994cat >>conftest.$ac_ext <<_ACEOF
9995/* end confdefs.h. */
9996#include <stdint.h>
9997int
9998main ()
9999{
10000int32_t dummy;
10001 ;
10002 return 0;
10003}
10004_ACEOF
10005rm -f conftest.$ac_objext
10006if { (ac_try="$ac_compile"
10007case "(($ac_try" in
10008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10009 *) ac_try_echo=$ac_try;;
10010esac
10011eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10012 (eval "$ac_compile") 2>conftest.er1
10013 ac_status=$?
10014 grep -v '^ *+' conftest.er1 >conftest.err
10015 rm -f conftest.er1
10016 cat conftest.err >&5
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); } && {
10019 test -z "$ac_cxx_werror_flag" ||
10020 test ! -s conftest.err
10021 } && test -s conftest.$ac_objext; then
10022 rxvt_cv_int32_t=yes
10023else
10024 echo "$as_me: failed program was:" >&5
10025sed 's/^/| /' conftest.$ac_ext >&5
10026
10027 if test "$ac_cv_sizeof_char" -ge 4; then
10028 rxvt_cv_int32_t=" char"
10029else
10030 if test "$ac_cv_sizeof_short" -ge 4; then
10031 rxvt_cv_int32_t=" short"
10032 else
10033 if test "$ac_cv_sizeof_int" -ge 4; then
10034 rxvt_cv_int32_t=" int"
10035 else
10036 if test "$ac_cv_sizeof_long" -ge 4; then
10037 rxvt_cv_int32_t=" long"
10038 else
10039 if test "$ac_cv_sizeof_long_long" -ge 4; then
10040 rxvt_cv_int32_t=" long long"
10041 else
10042 rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default
10043 fi
10044 fi
10045 fi
10046 fi
10047fi
10048fi
10049
10050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10051fi
10052{ echo "$as_me:$LINENO: result: $rxvt_cv_int32_t" >&5
10053echo "${ECHO_T}$rxvt_cv_int32_t" >&6; }
10054if test x"$rxvt_cv_int32_t" != xyes; then
10055 rxvt_int32_typedef="typedef $rxvt_cv_int32_t int32_t;"
10056else
10057 if test x"" = x; then
10058 rxvt_int32_typedef="/* typedef int int32_t; */"
10059 else
10060 rxvt_int32_typedef="/* typedef int int32_t; */"
10061 fi
10062fi
10063
10064{ echo "$as_me:$LINENO: checking for uint32_t" >&5
10065echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
10066if test "${rxvt_cv_uint32_t+set}" = set; then
10067 echo $ECHO_N "(cached) $ECHO_C" >&6
10068else
10069 cat >conftest.$ac_ext <<_ACEOF
10070/* confdefs.h. */
10071_ACEOF
10072cat confdefs.h >>conftest.$ac_ext
10073cat >>conftest.$ac_ext <<_ACEOF
10074/* end confdefs.h. */
10075#include <stdint.h>
10076int
10077main ()
10078{
10079uint32_t dummy;
10080 ;
10081 return 0;
10082}
10083_ACEOF
10084rm -f conftest.$ac_objext
10085if { (ac_try="$ac_compile"
10086case "(($ac_try" in
10087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10088 *) ac_try_echo=$ac_try;;
10089esac
10090eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10091 (eval "$ac_compile") 2>conftest.er1
10092 ac_status=$?
10093 grep -v '^ *+' conftest.er1 >conftest.err
10094 rm -f conftest.er1
10095 cat conftest.err >&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); } && {
10098 test -z "$ac_cxx_werror_flag" ||
10099 test ! -s conftest.err
10100 } && test -s conftest.$ac_objext; then
10101 rxvt_cv_uint32_t=yes
10102else
10103 echo "$as_me: failed program was:" >&5
10104sed 's/^/| /' conftest.$ac_ext >&5
10105
10106 if test "$ac_cv_sizeof_char" -ge 4; then
10107 rxvt_cv_uint32_t="unsigned char"
10108else
10109 if test "$ac_cv_sizeof_short" -ge 4; then
10110 rxvt_cv_uint32_t="unsigned short"
10111 else
10112 if test "$ac_cv_sizeof_int" -ge 4; then
10113 rxvt_cv_uint32_t="unsigned int"
10114 else
10115 if test "$ac_cv_sizeof_long" -ge 4; then
10116 rxvt_cv_uint32_t="unsigned long"
10117 else
10118 if test "$ac_cv_sizeof_long_long" -ge 4; then
10119 rxvt_cv_uint32_t="unsigned long long"
10120 else
10121 rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default
10122 fi
10123 fi
10124 fi
10125 fi
10126fi
10127fi
10128
10129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10130fi
10131{ echo "$as_me:$LINENO: result: $rxvt_cv_uint32_t" >&5
10132echo "${ECHO_T}$rxvt_cv_uint32_t" >&6; }
10133if test x"$rxvt_cv_uint32_t" != xyes; then
10134 rxvt_uint32_typedef="typedef $rxvt_cv_uint32_t uint32_t;"
10135else
10136 if test x"unsigned" = x; then
10137 rxvt_uint32_typedef="/* typedef int uint32_t; */"
10138 else
10139 rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */"
10140 fi
10141fi
10142
10143if test "$ac_cv_sizeof_int_p" -eq 8; then
10144 rxvt_intp_define="#define intp_t int64_t"
10145 rxvt_u_intp_define="#define u_intp_t u_int64_t"
10146else
10147 if test "$ac_cv_sizeof_int_p" -eq 4; then
10148 rxvt_intp_define="#define intp_t int32_t"
10149 rxvt_u_intp_define="#define u_intp_t u_int32_t"
10150 else
10151 if test "$ac_cv_sizeof_int_p" -eq 2; then
10152 rxvt_intp_define="#define intp_t int16_t"
10153 rxvt_u_intp_define="#define u_intp_t u_int16_t"
10154 else
10155 rxvt_intp_define="#error set intp_t"
10156 rxvt_u_intp_define="#error set u_intp_t"
10157 fi
10158 fi
10159fi
10160
10161
10162
10163{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
10164echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
10165if test "${ac_cv_type_signal+set}" = set; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10167else
10168 cat >conftest.$ac_ext <<_ACEOF
10169/* confdefs.h. */
10170_ACEOF
10171cat confdefs.h >>conftest.$ac_ext
10172cat >>conftest.$ac_ext <<_ACEOF
10173/* end confdefs.h. */
10174#include <sys/types.h>
10175#include <signal.h>
10176
10177int
10178main ()
10179{
10180return *(signal (0, 0)) (0) == 1;
10181 ;
10182 return 0;
10183}
10184_ACEOF
10185rm -f conftest.$ac_objext
10186if { (ac_try="$ac_compile"
10187case "(($ac_try" in
10188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10189 *) ac_try_echo=$ac_try;;
10190esac
10191eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10192 (eval "$ac_compile") 2>conftest.er1
10193 ac_status=$?
10194 grep -v '^ *+' conftest.er1 >conftest.err
10195 rm -f conftest.er1
10196 cat conftest.err >&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); } && {
10199 test -z "$ac_cxx_werror_flag" ||
10200 test ! -s conftest.err
10201 } && test -s conftest.$ac_objext; then
10202 ac_cv_type_signal=int
10203else
10204 echo "$as_me: failed program was:" >&5
10205sed 's/^/| /' conftest.$ac_ext >&5
10206
10207 ac_cv_type_signal=void
10208fi
10209
10210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10211fi
10212{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
10213echo "${ECHO_T}$ac_cv_type_signal" >&6; }
10214
10215cat >>confdefs.h <<_ACEOF
10216#define RETSIGTYPE $ac_cv_type_signal
10217_ACEOF
10218
10219 8467
10220 8468
10221 8469
10222for ac_func in unsetenv 8470for ac_func in unsetenv
10223do 8471do
10464fi 8712fi
10465done 8713done
10466 8714
10467 8715
10468 8716
10469
10470
10471for ac_header in \ 8717for ac_header in lastlog.h
10472 utmp.h \
10473 utmpx.h \
10474 lastlog.h \
10475
10476do 8718do
10477as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8719as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10478if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8720if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10479 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8721 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10480echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8722echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10611 8853
10612done 8854done
10613 8855
10614 8856
10615 8857
10616if test "${ac_cv_header_utmp_h+set}" = set; then 8858
8859for ac_header in utmp.h
8860do
8861as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8862if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10617 { echo "$as_me:$LINENO: checking for utmp.h" >&5 8863 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10618echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8864echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10619if test "${ac_cv_header_utmp_h+set}" = set; then 8865if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6 8866 echo $ECHO_N "(cached) $ECHO_C" >&6
10621fi 8867fi
8868ac_res=`eval echo '${'$as_ac_Header'}'`
10622{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 8869 { echo "$as_me:$LINENO: result: $ac_res" >&5
10623echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 8870echo "${ECHO_T}$ac_res" >&6; }
10624else 8871else
10625 # Is the header compilable? 8872 # Is the header compilable?
10626{ echo "$as_me:$LINENO: checking utmp.h usability" >&5 8873{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10627echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } 8874echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10628cat >conftest.$ac_ext <<_ACEOF 8875cat >conftest.$ac_ext <<_ACEOF
10629/* confdefs.h. */ 8876/* confdefs.h. */
10630_ACEOF 8877_ACEOF
10631cat confdefs.h >>conftest.$ac_ext 8878cat confdefs.h >>conftest.$ac_ext
10632cat >>conftest.$ac_ext <<_ACEOF 8879cat >>conftest.$ac_ext <<_ACEOF
10633/* end confdefs.h. */ 8880/* end confdefs.h. */
10634$ac_includes_default 8881$ac_includes_default
10635#include <utmp.h> 8882#include <$ac_header>
10636_ACEOF 8883_ACEOF
10637rm -f conftest.$ac_objext 8884rm -f conftest.$ac_objext
10638if { (ac_try="$ac_compile" 8885if { (ac_try="$ac_compile"
10639case "(($ac_try" in 8886case "(($ac_try" in
10640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10663{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8910{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10664echo "${ECHO_T}$ac_header_compiler" >&6; } 8911echo "${ECHO_T}$ac_header_compiler" >&6; }
10665 8912
10666# Is the header present? 8913# Is the header present?
10667{ echo "$as_me:$LINENO: checking utmp.h presence" >&5 8914{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10668echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } 8915echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10669cat >conftest.$ac_ext <<_ACEOF 8916cat >conftest.$ac_ext <<_ACEOF
10670/* confdefs.h. */ 8917/* confdefs.h. */
10671_ACEOF 8918_ACEOF
10672cat confdefs.h >>conftest.$ac_ext 8919cat confdefs.h >>conftest.$ac_ext
10673cat >>conftest.$ac_ext <<_ACEOF 8920cat >>conftest.$ac_ext <<_ACEOF
10674/* end confdefs.h. */ 8921/* end confdefs.h. */
10675#include <utmp.h> 8922#include <$ac_header>
10676_ACEOF 8923_ACEOF
10677if { (ac_try="$ac_cpp conftest.$ac_ext" 8924if { (ac_try="$ac_cpp conftest.$ac_ext"
10678case "(($ac_try" in 8925case "(($ac_try" in
10679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10680 *) ac_try_echo=$ac_try;; 8927 *) ac_try_echo=$ac_try;;
10703echo "${ECHO_T}$ac_header_preproc" >&6; } 8950echo "${ECHO_T}$ac_header_preproc" >&6; }
10704 8951
10705# So? What about this header? 8952# So? What about this header?
10706case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8953case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10707 yes:no: ) 8954 yes:no: )
10708 { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 8955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10709echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8956echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10710 { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 8957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10711echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} 8958echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10712 ac_header_preproc=yes 8959 ac_header_preproc=yes
10713 ;; 8960 ;;
10714 no:yes:* ) 8961 no:yes:* )
10715 { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 8962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10716echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} 8963echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10717 { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 8964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10718echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} 8965echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10719 { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 8966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10720echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} 8967echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10721 { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 8968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10722echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 8969echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10723 { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 8970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10724echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} 8971echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10725 { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 8972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10726echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} 8973echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10727 8974
10728 ;; 8975 ;;
10729esac 8976esac
10730{ echo "$as_me:$LINENO: checking for utmp.h" >&5 8977{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10731echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8978echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10732if test "${ac_cv_header_utmp_h+set}" = set; then 8979if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10733 echo $ECHO_N "(cached) $ECHO_C" >&6 8980 echo $ECHO_N "(cached) $ECHO_C" >&6
10734else 8981else
10735 ac_cv_header_utmp_h=$ac_header_preproc 8982 eval "$as_ac_Header=\$ac_header_preproc"
10736fi 8983fi
8984ac_res=`eval echo '${'$as_ac_Header'}'`
10737{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 8985 { echo "$as_me:$LINENO: result: $ac_res" >&5
10738echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 8986echo "${ECHO_T}$ac_res" >&6; }
10739 8987
10740fi 8988fi
10741if test $ac_cv_header_utmp_h = yes; then 8989if test `eval echo '${'$as_ac_Header'}'` = yes; then
8990 cat >>confdefs.h <<_ACEOF
8991#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8992_ACEOF
10742 { echo "$as_me:$LINENO: checking for struct utmp" >&5 8993 { echo "$as_me:$LINENO: checking for struct utmp" >&5
10743echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } 8994echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; }
10744if test "${struct_utmp+set}" = set; then 8995if test "${struct_utmp+set}" = set; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6 8996 echo $ECHO_N "(cached) $ECHO_C" >&6
10746else 8997else
10747 cat >conftest.$ac_ext <<_ACEOF 8998 cat >conftest.$ac_ext <<_ACEOF
10914 9165
10915fi 9166fi
10916 9167
10917fi 9168fi
10918 9169
9170done
10919 9171
10920 9172
10921if test "${ac_cv_header_utmpx_h+set}" = set; then 9173
9174for ac_header in utmpx.h
9175do
9176as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9177if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10922 { echo "$as_me:$LINENO: checking for utmpx.h" >&5 9178 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10923echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9179echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10924if test "${ac_cv_header_utmpx_h+set}" = set; then 9180if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6 9181 echo $ECHO_N "(cached) $ECHO_C" >&6
10926fi 9182fi
9183ac_res=`eval echo '${'$as_ac_Header'}'`
10927{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 9184 { echo "$as_me:$LINENO: result: $ac_res" >&5
10928echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9185echo "${ECHO_T}$ac_res" >&6; }
10929else 9186else
10930 # Is the header compilable? 9187 # Is the header compilable?
10931{ echo "$as_me:$LINENO: checking utmpx.h usability" >&5 9188{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10932echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } 9189echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10933cat >conftest.$ac_ext <<_ACEOF 9190cat >conftest.$ac_ext <<_ACEOF
10934/* confdefs.h. */ 9191/* confdefs.h. */
10935_ACEOF 9192_ACEOF
10936cat confdefs.h >>conftest.$ac_ext 9193cat confdefs.h >>conftest.$ac_ext
10937cat >>conftest.$ac_ext <<_ACEOF 9194cat >>conftest.$ac_ext <<_ACEOF
10938/* end confdefs.h. */ 9195/* end confdefs.h. */
10939$ac_includes_default 9196$ac_includes_default
10940#include <utmpx.h> 9197#include <$ac_header>
10941_ACEOF 9198_ACEOF
10942rm -f conftest.$ac_objext 9199rm -f conftest.$ac_objext
10943if { (ac_try="$ac_compile" 9200if { (ac_try="$ac_compile"
10944case "(($ac_try" in 9201case "(($ac_try" in
10945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10968{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9225{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10969echo "${ECHO_T}$ac_header_compiler" >&6; } 9226echo "${ECHO_T}$ac_header_compiler" >&6; }
10970 9227
10971# Is the header present? 9228# Is the header present?
10972{ echo "$as_me:$LINENO: checking utmpx.h presence" >&5 9229{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10973echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } 9230echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10974cat >conftest.$ac_ext <<_ACEOF 9231cat >conftest.$ac_ext <<_ACEOF
10975/* confdefs.h. */ 9232/* confdefs.h. */
10976_ACEOF 9233_ACEOF
10977cat confdefs.h >>conftest.$ac_ext 9234cat confdefs.h >>conftest.$ac_ext
10978cat >>conftest.$ac_ext <<_ACEOF 9235cat >>conftest.$ac_ext <<_ACEOF
10979/* end confdefs.h. */ 9236/* end confdefs.h. */
10980#include <utmpx.h> 9237#include <$ac_header>
10981_ACEOF 9238_ACEOF
10982if { (ac_try="$ac_cpp conftest.$ac_ext" 9239if { (ac_try="$ac_cpp conftest.$ac_ext"
10983case "(($ac_try" in 9240case "(($ac_try" in
10984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10985 *) ac_try_echo=$ac_try;; 9242 *) ac_try_echo=$ac_try;;
11008echo "${ECHO_T}$ac_header_preproc" >&6; } 9265echo "${ECHO_T}$ac_header_preproc" >&6; }
11009 9266
11010# So? What about this header? 9267# So? What about this header?
11011case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9268case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11012 yes:no: ) 9269 yes:no: )
11013 { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 9270 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11014echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9271echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11015 { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 9272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11016echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} 9273echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11017 ac_header_preproc=yes 9274 ac_header_preproc=yes
11018 ;; 9275 ;;
11019 no:yes:* ) 9276 no:yes:* )
11020 { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 9277 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11021echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} 9278echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11022 { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 9279 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11023echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} 9280echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11024 { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 9281 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11025echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} 9282echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11026 { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 9283 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11027echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} 9284echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11028 { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 9285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11029echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} 9286echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11030 { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 9287 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11031echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} 9288echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11032 9289
11033 ;; 9290 ;;
11034esac 9291esac
11035{ echo "$as_me:$LINENO: checking for utmpx.h" >&5 9292{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11036echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9293echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11037if test "${ac_cv_header_utmpx_h+set}" = set; then 9294if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11038 echo $ECHO_N "(cached) $ECHO_C" >&6 9295 echo $ECHO_N "(cached) $ECHO_C" >&6
11039else 9296else
11040 ac_cv_header_utmpx_h=$ac_header_preproc 9297 eval "$as_ac_Header=\$ac_header_preproc"
11041fi 9298fi
9299ac_res=`eval echo '${'$as_ac_Header'}'`
11042{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 9300 { echo "$as_me:$LINENO: result: $ac_res" >&5
11043echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9301echo "${ECHO_T}$ac_res" >&6; }
11044 9302
11045fi 9303fi
11046if test $ac_cv_header_utmpx_h = yes; then 9304if test `eval echo '${'$as_ac_Header'}'` = yes; then
9305 cat >>confdefs.h <<_ACEOF
9306#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9307_ACEOF
11047 { echo "$as_me:$LINENO: checking for struct utmpx" >&5 9308 { echo "$as_me:$LINENO: checking for struct utmpx" >&5
11048echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } 9309echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; }
11049if test "${struct_utmpx+set}" = set; then 9310if test "${struct_utmpx+set}" = set; then
11050 echo $ECHO_N "(cached) $ECHO_C" >&6 9311 echo $ECHO_N "(cached) $ECHO_C" >&6
11051else 9312else
11052 cat >conftest.$ac_ext <<_ACEOF 9313 cat >conftest.$ac_ext <<_ACEOF
11219 9480
11220fi 9481fi
11221 9482
11222fi 9483fi
11223 9484
9485done
11224 9486
11225{ echo "$as_me:$LINENO: checking for struct lastlog" >&5 9487{ echo "$as_me:$LINENO: checking for struct lastlog" >&5
11226echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } 9488echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; }
11227if test "${struct_lastlog+set}" = set; then 9489if test "${struct_lastlog+set}" = set; then
11228 echo $ECHO_N "(cached) $ECHO_C" >&6 9490 echo $ECHO_N "(cached) $ECHO_C" >&6
12298 10560
12299 10561
12300 10562
12301 10563
12302 10564
10565
12303for ac_header in \ 10566for ac_header in \
12304 pty.h \ 10567 pty.h \
12305 util.h \ 10568 util.h \
12306 libutil.h \ 10569 libutil.h \
12307 sys/ioctl.h \ 10570 sys/ioctl.h \
12308 sys/stropts.h \ 10571 sys/stropts.h \
10572 stropts.h \
12309 10573
12310do 10574do
12311as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10575as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12312if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10576if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12313 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10577 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13336_ACEOF 11600_ACEOF
13337 11601
13338fi 11602fi
13339 11603
13340 11604
11605scrolltypes=plain
11606
11607cat >>confdefs.h <<\_ACEOF
11608#define PLAIN_SCROLLBAR 1
11609_ACEOF
11610
11611
13341if test x$support_scroll_rxvt = xyes; then 11612if test x$support_scroll_rxvt = xyes; then
13342 11613
13343cat >>confdefs.h <<\_ACEOF 11614cat >>confdefs.h <<\_ACEOF
13344#define RXVT_SCROLLBAR 1 11615#define RXVT_SCROLLBAR 1
13345_ACEOF 11616_ACEOF
13346 11617
13347 scrolltypes="rxvt" 11618 scrolltypes="$scrolltypes rxvt"
13348fi 11619fi
13349if test x$support_scroll_next = xyes; then 11620if test x$support_scroll_next = xyes; then
13350 11621
13351cat >>confdefs.h <<\_ACEOF 11622cat >>confdefs.h <<\_ACEOF
13352#define NEXT_SCROLLBAR 1 11623#define NEXT_SCROLLBAR 1
13359cat >>confdefs.h <<\_ACEOF 11630cat >>confdefs.h <<\_ACEOF
13360#define XTERM_SCROLLBAR 1 11631#define XTERM_SCROLLBAR 1
13361_ACEOF 11632_ACEOF
13362 11633
13363 scrolltypes="$scrolltypes xterm" 11634 scrolltypes="$scrolltypes xterm"
13364fi
13365if test x$support_scroll_plain = xyes; then
13366
13367cat >>confdefs.h <<\_ACEOF
13368#define PLAIN_SCROLLBAR 1
13369_ACEOF
13370
13371 scrolltypes="$scrolltypes plain"
13372fi 11635fi
13373if test x$support_pointer_blank = xyes; then 11636if test x$support_pointer_blank = xyes; then
13374 11637
13375cat >>confdefs.h <<\_ACEOF 11638cat >>confdefs.h <<\_ACEOF
13376#define POINTER_BLANK 1 11639#define POINTER_BLANK 1
13639_ACEOF 11902_ACEOF
13640program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 11903program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
13641rm -f conftest.sed 11904rm -f conftest.sed
13642 11905
13643 11906
13644
13645
13646
13647if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
13648 include_stdint_h="#include <stdint.h>"
13649else
13650 include_stdint_h="/* #include <stdint.h> */"
13651fi
13652if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
13653 include_stdarg_h="#include <cstdarg>"
13654else
13655 include_stdarg_h="/* #include <cstdarg> */"
13656fi
13657if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
13658 include_stdlib_h="#include <cstdlib>"
13659else
13660 include_stdlib_h="/* #include <cstdlib> */"
13661fi
13662if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
13663 include_unistd_h="#include <unistd.h>"
13664else
13665 include_unistd_h="/* #include <unistd.h> */"
13666fi
13667if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
13668 include_string_h="#include <cstring>"
13669else
13670 include_string_h="/* #include <cstring> */"
13671fi
13672if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
13673 include_fcntl_h="#include <fcntl.h>"
13674else
13675 include_fcntl_h="/* #include <fcntl.h> */"
13676fi
13677if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
13678 include_util_h="#include <util.h>"
13679else
13680 include_util_h="/* #include <util.h> */"
13681fi
13682if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
13683 include_assert_h="#include <assert.h>"
13684else
13685 include_assert_h="/* #include <assert.h> */"
13686fi
13687if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
13688 include_sys_ioctl_h="#include <sys/ioctl.h>"
13689else
13690 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
13691fi
13692if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
13693 include_sys_select_h="#include <sys/select.h>"
13694else
13695 include_sys_select_h="/* #include <sys/select.h> */"
13696fi
13697if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
13698 include_sys_strredir_h="#include <sys/strredir.h>"
13699else
13700 include_sys_strredir_h="/* #include <sys/strredir.h> */"
13701fi
13702if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
13703 include_sys_time_h="#include <sys/time.h>"
13704else
13705 include_sys_time_h="/* #include <sys/time.h> */"
13706fi
13707if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
13708 include_time_h="#include <time.h>"
13709else
13710 include_time_h="/* #include <time.h> */"
13711fi
13712
13713ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" 11907ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
13714 11908
13715cat >confcache <<\_ACEOF 11909cat >confcache <<\_ACEOF
13716# This file is a shell script that caches the results of configure 11910# This file is a shell script that caches the results of configure
13717# tests run on this system so they can be shared between configure 11911# tests run on this system so they can be shared between configure
13718# scripts and configure runs, see configure's option --config-cache. 11912# scripts and configure runs, see configure's option --config-cache.
14267 case $ac_config_target in 12461 case $ac_config_target in
14268 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 12462 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
14269 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12463 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14270 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 12464 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14271 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12465 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14272 "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
14273 12466
14274 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 12467 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14275echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12468echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14276 { (exit 1); exit 1; }; };; 12469 { (exit 1); exit 1; }; };;
14277 esac 12470 esac
14376host_cpu!$host_cpu$ac_delim 12569host_cpu!$host_cpu$ac_delim
14377host_vendor!$host_vendor$ac_delim 12570host_vendor!$host_vendor$ac_delim
14378host_os!$host_os$ac_delim 12571host_os!$host_os$ac_delim
14379VERSION!$VERSION$ac_delim 12572VERSION!$VERSION$ac_delim
14380DATE!$DATE$ac_delim 12573DATE!$DATE$ac_delim
14381LSMDATE!$LSMDATE$ac_delim
14382LIBVERSION!$LIBVERSION$ac_delim
14383CC!$CC$ac_delim 12574CC!$CC$ac_delim
14384CFLAGS!$CFLAGS$ac_delim 12575CFLAGS!$CFLAGS$ac_delim
14385LDFLAGS!$LDFLAGS$ac_delim 12576LDFLAGS!$LDFLAGS$ac_delim
14386CPPFLAGS!$CPPFLAGS$ac_delim 12577CPPFLAGS!$CPPFLAGS$ac_delim
14387ac_ct_CC!$ac_ct_CC$ac_delim 12578ac_ct_CC!$ac_ct_CC$ac_delim
14395INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 12586INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
14396INSTALL_DATA!$INSTALL_DATA$ac_delim 12587INSTALL_DATA!$INSTALL_DATA$ac_delim
14397GREP!$GREP$ac_delim 12588GREP!$GREP$ac_delim
14398EGREP!$EGREP$ac_delim 12589EGREP!$EGREP$ac_delim
14399LINKER!$LINKER$ac_delim 12590LINKER!$LINKER$ac_delim
14400INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim
14401RXVTNAME!$RXVTNAME$ac_delim 12591RXVTNAME!$RXVTNAME$ac_delim
14402CXXCPP!$CXXCPP$ac_delim 12592CXXCPP!$CXXCPP$ac_delim
14403TIC!$TIC$ac_delim 12593TIC!$TIC$ac_delim
14404XMKMF!$XMKMF$ac_delim 12594XMKMF!$XMKMF$ac_delim
14405X_CFLAGS!$X_CFLAGS$ac_delim 12595X_CFLAGS!$X_CFLAGS$ac_delim
14406X_PRE_LIBS!$X_PRE_LIBS$ac_delim 12596X_PRE_LIBS!$X_PRE_LIBS$ac_delim
14407X_LIBS!$X_LIBS$ac_delim 12597X_LIBS!$X_LIBS$ac_delim
14408X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim 12598X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
14409afterimage_config!$afterimage_config$ac_delim 12599afterimage_config!$afterimage_config$ac_delim
14410rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim
14411rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim
14412rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim
14413rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim
14414rxvt_intp_define!$rxvt_intp_define$ac_delim
14415rxvt_u_intp_define!$rxvt_u_intp_define$ac_delim
14416PKG_CONFIG!$PKG_CONFIG$ac_delim 12600PKG_CONFIG!$PKG_CONFIG$ac_delim
14417XFT_CONFIG!$XFT_CONFIG$ac_delim 12601XFT_CONFIG!$XFT_CONFIG$ac_delim
14418PERL!$PERL$ac_delim 12602PERL!$PERL$ac_delim
14419PERLLIB!$PERLLIB$ac_delim 12603PERLLIB!$PERLLIB$ac_delim
14420PERLFLAGS!$PERLFLAGS$ac_delim 12604PERLFLAGS!$PERLFLAGS$ac_delim
14421PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 12605PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
14422IF_PERL!$IF_PERL$ac_delim 12606IF_PERL!$IF_PERL$ac_delim
14423PERL_O!$PERL_O$ac_delim 12607PERL_O!$PERL_O$ac_delim
14424AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim 12608AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
14425AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim 12609AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
14426include_stdint_h!$include_stdint_h$ac_delim 12610LIBOBJS!$LIBOBJS$ac_delim
14427include_stdarg_h!$include_stdarg_h$ac_delim 12611LTLIBOBJS!$LTLIBOBJS$ac_delim
14428include_stdlib_h!$include_stdlib_h$ac_delim
14429include_unistd_h!$include_unistd_h$ac_delim
14430include_string_h!$include_string_h$ac_delim
14431_ACEOF 12612_ACEOF
14432 12613
14433 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 12614 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
14434 break 12615 break
14435 elif $ac_last_try; then 12616 elif $ac_last_try; then
14436 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12617 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14437echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12618echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14438 { (exit 1); exit 1; }; } 12619 { (exit 1); exit 1; }; }
14447 ac_eof=`expr $ac_eof + 1` 12628 ac_eof=`expr $ac_eof + 1`
14448fi 12629fi
14449 12630
14450cat >>$CONFIG_STATUS <<_ACEOF 12631cat >>$CONFIG_STATUS <<_ACEOF
14451cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 12632cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
14452/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14453_ACEOF
14454sed '
14455s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14456s/^/s,@/; s/!/@,|#_!!_#|/
14457:n
14458t n
14459s/'"$ac_delim"'$/,g/; t
14460s/$/\\/; p
14461N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14462' >>$CONFIG_STATUS <conf$$subs.sed
14463rm -f conf$$subs.sed
14464cat >>$CONFIG_STATUS <<_ACEOF
14465CEOF$ac_eof
14466_ACEOF
14467
14468
14469ac_delim='%!_!# '
14470for ac_last_try in false false false false false :; do
14471 cat >conf$$subs.sed <<_ACEOF
14472include_fcntl_h!$include_fcntl_h$ac_delim
14473include_util_h!$include_util_h$ac_delim
14474include_assert_h!$include_assert_h$ac_delim
14475include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim
14476include_sys_select_h!$include_sys_select_h$ac_delim
14477include_sys_strredir_h!$include_sys_strredir_h$ac_delim
14478include_sys_time_h!$include_sys_time_h$ac_delim
14479include_time_h!$include_time_h$ac_delim
14480LIBOBJS!$LIBOBJS$ac_delim
14481LTLIBOBJS!$LTLIBOBJS$ac_delim
14482_ACEOF
14483
14484 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
14485 break
14486 elif $ac_last_try; then
14487 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14488echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14489 { (exit 1); exit 1; }; }
14490 else
14491 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14492 fi
14493done
14494
14495ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14496if test -n "$ac_eof"; then
14497 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14498 ac_eof=`expr $ac_eof + 1`
14499fi
14500
14501cat >>$CONFIG_STATUS <<_ACEOF
14502cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
14503/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 12633/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14504_ACEOF 12634_ACEOF
14505sed ' 12635sed '
14506s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 12636s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14507s/^/s,@/; s/!/@,|#_!!_#|/ 12637s/^/s,@/; s/!/@,|#_!!_#|/
14760s&@builddir@&$ac_builddir&;t t 12890s&@builddir@&$ac_builddir&;t t
14761s&@abs_builddir@&$ac_abs_builddir&;t t 12891s&@abs_builddir@&$ac_abs_builddir&;t t
14762s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 12892s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14763s&@INSTALL@&$ac_INSTALL&;t t 12893s&@INSTALL@&$ac_INSTALL&;t t
14764$ac_datarootdir_hack 12894$ac_datarootdir_hack
14765" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 12895" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
14766 12896
14767test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 12897test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14768 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 12898 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14769 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 12899 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14770 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12900 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines