View | Details | Raw Unified | Return to bug 12
Collapse All | Expand All

(-)openssh-2.9p2.orig/configure.in (+43 lines)
Lines 821-826 Link Here
821
	) 
821
	) 
822
fi
822
fi
823
823
824
# if we didn't find int64_t and u_int64_t in sys/types.h but there is
825
# a sys/bitypes.h, check it too.
826
if (test -z "$have_int64_t" && \
827
           test "x$ac_cv_header_sys_bitypes_h" = "xyes")
828
then
829
	AC_MSG_CHECKING([for int64_t in sys/bitypes.h])
830
	AC_TRY_COMPILE(
831
		[ #include <sys/bitypes.h> ], 
832
		[ int64_t a; a = 1;], 
833
		[ ac_cv_have_int64_t="yes" ],
834
		[ ac_cv_have_int64_t="no" ]
835
	)
836
	if test "x$ac_cv_have_int64_t" = "xyes" ; then
837
		AC_DEFINE(HAVE_INT64_T)
838
		AC_MSG_RESULT([yes])
839
		have_int64_t=1
840
	else
841
		AC_MSG_RESULT([no])
842
	fi
843
fi
844
845
if (test -z "$have_u_int64_t" && \
846
           test "x$ac_cv_header_sys_bitypes_h" = "xyes")
847
then
848
	AC_MSG_CHECKING([for u_int64_t in sys/bitypes.h])
849
	AC_TRY_COMPILE(
850
		[ #include <sys/bitypes.h> ], 
851
		[ u_int64_t a; a = 1;], 
852
		[ ac_cv_have_u_int64_t="yes" ],
853
		[ ac_cv_have_u_int64_t="no" ]
854
	)
855
	if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
856
		AC_DEFINE(HAVE_U_INT64_T)
857
		AC_MSG_RESULT([yes])
858
		have_u_int64_t=1
859
	else
860
		AC_MSG_RESULT([no])
861
	fi
862
fi
863
864
# should also explicitly check for inttypes.h, and the various intXX_T
865
# and u_intXX_t in there.
866
824
if test -z "$have_u_intxx_t" ; then
867
if test -z "$have_u_intxx_t" ; then
825
	AC_CACHE_CHECK([for uintXX_t types], ac_cv_have_uintxx_t, [
868
	AC_CACHE_CHECK([for uintXX_t types], ac_cv_have_uintxx_t, [
826
		AC_TRY_COMPILE(
869
		AC_TRY_COMPILE(

Return to bug 12