aboutsummaryrefslogtreecommitdiff
path: root/utils/avrdude/patches/010-configure-fixups.patch
blob: 11ddad7eb40e18727f6a4f8ccc976d5517d2e50a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,7 @@ LT_INIT()
 
 # Checks for programs.
 AC_PROG_CC
+AC_PROG_CPP
 AC_PROG_INSTALL
 AC_PROG_SED
 AC_PROG_YACC
@@ -182,6 +183,7 @@ fi
 AC_SUBST(LIBPTHREAD, $LIBPTHREAD)
 # Checks for header files.
 AC_CHECK_HEADERS([limits.h stdlib.h string.h])
+AC_CHECK_HEADERS([inttypes.h stdint.h])
 AC_CHECK_HEADERS([fcntl.h sys/ioctl.h sys/time.h termios.h unistd.h])
 AC_CHECK_HEADERS([ddk/hidsdi.h],,,[#include <windows.h>
 #include <setupapi.h>])