[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:
Robb Matzke 1999-08-20 12:05:14 -05:00
parent ae45f73e6a
commit daf589e9ea
2 changed files with 540 additions and 570 deletions

1099
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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)