Bugzilla – Attachment 3 Details for
Bug 12
incomplete configure checks for 64 bit int types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add configure checks for 64 bit types in sys/bitypes.h
openssh-2.9p2-bitypes.h.patch (text/plain), 1.43 KB, created by
Tim Mooney
on 2001-11-10 04:02:21 AEDT
(
hide
)
Description:
add configure checks for 64 bit types in sys/bitypes.h
Filename:
MIME Type:
Creator:
Tim Mooney
Created:
2001-11-10 04:02:21 AEDT
Size:
1.43 KB
patch
obsolete
>diff -ur openssh-2.9p2.orig/configure.in openssh-2.9p2/configure.in >--- openssh-2.9p2.orig/configure.in Mon May 28 12:21:44 2001 >+++ openssh-2.9p2/configure.in Thu Aug 16 15:01:04 2001 >@@ -821,6 +821,49 @@ > ) > fi > >+# if we didn't find int64_t and u_int64_t in sys/types.h but there is >+# a sys/bitypes.h, check it too. >+if (test -z "$have_int64_t" && \ >+ test "x$ac_cv_header_sys_bitypes_h" = "xyes") >+then >+ AC_MSG_CHECKING([for int64_t in sys/bitypes.h]) >+ AC_TRY_COMPILE( >+ [ #include <sys/bitypes.h> ], >+ [ int64_t a; a = 1;], >+ [ ac_cv_have_int64_t="yes" ], >+ [ ac_cv_have_int64_t="no" ] >+ ) >+ if test "x$ac_cv_have_int64_t" = "xyes" ; then >+ AC_DEFINE(HAVE_INT64_T) >+ AC_MSG_RESULT([yes]) >+ have_int64_t=1 >+ else >+ AC_MSG_RESULT([no]) >+ fi >+fi >+ >+if (test -z "$have_u_int64_t" && \ >+ test "x$ac_cv_header_sys_bitypes_h" = "xyes") >+then >+ AC_MSG_CHECKING([for u_int64_t in sys/bitypes.h]) >+ AC_TRY_COMPILE( >+ [ #include <sys/bitypes.h> ], >+ [ u_int64_t a; a = 1;], >+ [ ac_cv_have_u_int64_t="yes" ], >+ [ ac_cv_have_u_int64_t="no" ] >+ ) >+ if test "x$ac_cv_have_u_int64_t" = "xyes" ; then >+ AC_DEFINE(HAVE_U_INT64_T) >+ AC_MSG_RESULT([yes]) >+ have_u_int64_t=1 >+ else >+ AC_MSG_RESULT([no]) >+ fi >+fi >+ >+# should also explicitly check for inttypes.h, and the various intXX_T >+# and u_intXX_t in there. >+ > if test -z "$have_u_intxx_t" ; then > AC_CACHE_CHECK([for uintXX_t types], ac_cv_have_uintxx_t, [ > AC_TRY_COMPILE(
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 12
: 3