mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 08:14:24 +02:00
- (dtucker) [configure.ac] Also look in inttypes.h for uintXX_t types.
This commit is contained in:
parent
5055699c7f
commit
6d725687c4
@ -38,6 +38,7 @@
|
|||||||
have statfs and fstatfs. ok djm@
|
have statfs and fstatfs. ok djm@
|
||||||
- (dtucker) [openbsd-compat/bsd-statvfs.h] Only start including headers if we
|
- (dtucker) [openbsd-compat/bsd-statvfs.h] Only start including headers if we
|
||||||
need them to cut down on the name collisions.
|
need them to cut down on the name collisions.
|
||||||
|
- (dtucker) [configure.ac] Also look in inttypes.h for uintXX_t types.
|
||||||
|
|
||||||
20140118
|
20140118
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
|
16
configure.ac
16
configure.ac
@ -1,4 +1,4 @@
|
|||||||
# $Id: configure.ac,v 1.552 2014/01/17 07:10:58 dtucker Exp $
|
# $Id: configure.ac,v 1.553 2014/01/17 08:17:35 dtucker Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 1999-2004 Damien Miller
|
# Copyright (c) 1999-2004 Damien Miller
|
||||||
#
|
#
|
||||||
@ -15,7 +15,7 @@
|
|||||||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org])
|
AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org])
|
||||||
AC_REVISION($Revision: 1.552 $)
|
AC_REVISION($Revision: 1.553 $)
|
||||||
AC_CONFIG_SRCDIR([ssh.c])
|
AC_CONFIG_SRCDIR([ssh.c])
|
||||||
AC_LANG([C])
|
AC_LANG([C])
|
||||||
|
|
||||||
@ -340,6 +340,7 @@ AC_CHECK_HEADERS([ \
|
|||||||
glob.h \
|
glob.h \
|
||||||
ia.h \
|
ia.h \
|
||||||
iaf.h \
|
iaf.h \
|
||||||
|
inttypes.h \
|
||||||
limits.h \
|
limits.h \
|
||||||
locale.h \
|
locale.h \
|
||||||
login.h \
|
login.h \
|
||||||
@ -3244,6 +3245,17 @@ if test -z "$have_uintxx_t" ; then
|
|||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test -z "$have_uintxx_t" ; then
|
||||||
|
AC_MSG_CHECKING([for uintXX_t types in inttypes.h])
|
||||||
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <inttypes.h> ]],
|
||||||
|
[[ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;]])],
|
||||||
|
[
|
||||||
|
AC_DEFINE([HAVE_UINTXX_T])
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
], [ AC_MSG_RESULT([no])
|
||||||
|
])
|
||||||
|
fi
|
||||||
|
|
||||||
if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
|
if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
|
||||||
test "x$ac_cv_header_sys_bitypes_h" = "xyes")
|
test "x$ac_cv_header_sys_bitypes_h" = "xyes")
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user