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

Comparing rxvt-unicode/autoconf/configure.in (file contents):
Revision 1.48 by root, Wed Feb 2 08:09:23 2005 UTC vs.
Revision 1.49 by root, Sun Feb 13 08:56:27 2005 UTC

519 sys/time.h \ 519 sys/time.h \
520 utmp.h \ 520 utmp.h \
521 utmpx.h \ 521 utmpx.h \
522 stdint.h \ 522 stdint.h \
523 pty.h \ 523 pty.h \
524 wchar.h \
525 cwchar \
526 clocale \
524) 527)
525 528
526AC_HEADER_TIME 529AC_HEADER_TIME
527 530
528dnl# check to allow both <termios.h> and <sys/ioctl.h> 531dnl# check to allow both <termios.h> and <sys/ioctl.h>
606 609
607dnl# see usage below 610dnl# see usage below
608AC_DEFUN(RXVT_CHECK_SIZE, 611AC_DEFUN(RXVT_CHECK_SIZE,
609 [AC_CACHE_CHECK([for $2], $1, 612 [AC_CACHE_CHECK([for $2], $1,
610 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdint.h>]], [[$2 dummy;]])],[$1=yes],[dnl 613 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdint.h>]], [[$2 dummy;]])],[$1=yes],[dnl
611if test $ac_cv_sizeof_char -ge $3; then 614if test "$ac_cv_sizeof_char" -ge $3; then
612 $1="$4 char" 615 $1="$4 char"
613else 616else
614 if test $ac_cv_sizeof_short -ge $3; then 617 if test "$ac_cv_sizeof_short" -ge $3; then
615 $1="$4 short" 618 $1="$4 short"
616 else 619 else
617 if test $ac_cv_sizeof_int -ge $3; then 620 if test "$ac_cv_sizeof_int" -ge $3; then
618 $1="$4 int" 621 $1="$4 int"
619 else 622 else
620 if test $ac_cv_sizeof_long -ge $3; then 623 if test "$ac_cv_sizeof_long" -ge $3; then
621 $1="$4 long" 624 $1="$4 long"
622 else 625 else
623 if test $ac_cv_sizeof_long_long -ge $3; then 626 if test "$ac_cv_sizeof_long_long" -ge $3; then
624 $1="$4 long long" 627 $1="$4 long long"
625 else 628 else
626 $1="$4 $5" # we _must_ have a (possibly wrong) default 629 $1="$4 $5" # we _must_ have a (possibly wrong) default
627 fi 630 fi
628 fi 631 fi
655dnl RXVT_CHECK_SIZE(rxvt_cv_uint64_t, uint64_t, 8, unsigned, long long, rxvt_uint64_typedef) 658dnl RXVT_CHECK_SIZE(rxvt_cv_uint64_t, uint64_t, 8, unsigned, long long, rxvt_uint64_typedef)
656dnl AC_SUBST(rxvt_uint64_typedef) 659dnl AC_SUBST(rxvt_uint64_typedef)
657dnl# 660dnl#
658dnl# Now look for another we use 661dnl# Now look for another we use
659dnl# 662dnl#
660if test $ac_cv_sizeof_int_p -eq 8; then 663if test "$ac_cv_sizeof_int_p" -eq 8; then
661 rxvt_intp_define="#define intp_t int64_t" 664 rxvt_intp_define="#define intp_t int64_t"
662 rxvt_u_intp_define="#define u_intp_t u_int64_t" 665 rxvt_u_intp_define="#define u_intp_t u_int64_t"
663else 666else
664 if test $ac_cv_sizeof_int_p -eq 4; then 667 if test "$ac_cv_sizeof_int_p" -eq 4; then
665 rxvt_intp_define="#define intp_t int32_t" 668 rxvt_intp_define="#define intp_t int32_t"
666 rxvt_u_intp_define="#define u_intp_t u_int32_t" 669 rxvt_u_intp_define="#define u_intp_t u_int32_t"
667 else 670 else
668 if test $ac_cv_sizeof_int_p -eq 2; then 671 if test "$ac_cv_sizeof_int_p" -eq 2; then
669 rxvt_intp_define="#define intp_t int16_t" 672 rxvt_intp_define="#define intp_t int16_t"
670 rxvt_u_intp_define="#define u_intp_t u_int16_t" 673 rxvt_u_intp_define="#define u_intp_t u_int16_t"
671 else 674 else
672 rxvt_intp_define="#error set intp_t" 675 rxvt_intp_define="#error set intp_t"
673 rxvt_u_intp_define="#error set u_intp_t" 676 rxvt_u_intp_define="#error set u_intp_t"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines