mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r1582] ./configure.in [1.2, 1.3]
./configure [REGENERATED] The checking for C9x types includes <stdint.h> if it exists. This should fix a bug on Linux RedHat 6.0 (untested).
This commit is contained in:
parent
ae45f73e6a
commit
daf589e9ea
11
configure.in
11
configure.in
@ -136,7 +136,7 @@ AC_MSG_CHECKING(for production mode)
|
||||
AC_ARG_ENABLE(production,
|
||||
[ --enable-production Determines how to run the compiler.])
|
||||
|
||||
case "X-$enableval" in
|
||||
case "X-$enable_production" in
|
||||
X-yes)
|
||||
AC_MSG_RESULT("production")
|
||||
CONFIG_MODE=production
|
||||
@ -175,7 +175,8 @@ AC_HEADER_STDC
|
||||
AC_HEADER_TIME
|
||||
dnl Unix
|
||||
AC_CHECK_HEADERS(sys/resource.h sys/time.h unistd.h sys/ioctl.h sys/stat.h)
|
||||
AC_CHECK_HEADERS(stddef.h setjmp.h stdint.h)
|
||||
AC_CHECK_HEADERS(stddef.h setjmp.h)
|
||||
AC_CHECK_HEADERS(stdint.h, C9x=yes)
|
||||
dnl Windows
|
||||
AC_CHECK_HEADERS(io.h winsock.h sys/timeb.h)
|
||||
|
||||
@ -210,6 +211,12 @@ dnl Posix.1g types (C9x)
|
||||
cat >>confdefs.h <<\EOF
|
||||
#include <sys/types.h>
|
||||
EOF
|
||||
if test "Xyes" = "X$C9x"; then
|
||||
cat >>confdefs.h <<\EOF
|
||||
#include <stdint.h>
|
||||
EOF
|
||||
fi
|
||||
|
||||
AC_CHECK_SIZEOF( int8_t, 1)
|
||||
AC_CHECK_SIZEOF( uint8_t, 1)
|
||||
AC_CHECK_SIZEOF( int_least8_t, 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user