Switch types to C99 standard using stdint.h

Add stdint.h header check to ./configure
Add -std=c99 to CFLAGS.
This commit is contained in:
Romuald Conty 2009-05-27 10:13:19 +00:00
parent d32d57f237
commit ab3664b056
15 changed files with 140 additions and 128 deletions

View file

@ -13,7 +13,7 @@ AC_PATH_PROG(PKG_CONFIG, pkg-config)
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h])
AC_CHECK_HEADERS([stdlib.h stdint.h])
# libusb
@ -40,10 +40,11 @@ AC_MSG_RESULT($enable_debug)
if test "x$enable_debug" = "xyes"
then
CFLAGS="$CFLAGS -g -Wall -DDEBUG"
CFLAGS="$CFLAGS -g -Wall -DDEBUG -pedantic"
fi
AC_SUBST([DEBUG_CFLAGS])
CFLAGS="$CFLAGS -std=c99"
AC_CONFIG_FILES([
Makefile