configure.ac: add needed build prog and headers
authorWaLyong Cho <walyong.cho@samsung.com>
Wed, 14 Dec 2016 09:41:58 +0000 (18:41 +0900)
committerWaLyong Cho <walyong.cho@samsung.com>
Wed, 14 Dec 2016 11:10:05 +0000 (20:10 +0900)
Change-Id: Id0a1b209366f2ae2c2338c334d71bf3d4c4c348b
Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
configure.ac

index 457975c..3b663b9 100644 (file)
@@ -17,17 +17,21 @@ LT_PREREQ(2.2)
 LT_INIT([disable-static])
 
 # Checks for programs.
-AC_PROG_CC
 AC_PROG_CXX
+AC_PROG_AWK
+AC_PROG_CC
+AC_PROG_CPP
 AC_PROG_INSTALL
+AC_PROG_LN_S
 AC_PROG_MAKE_SET
+AC_PROG_RANLIB
 
 # Checks for libraries.
 # FIXME: Replace `main' with a function in `-lrt':
 AC_CHECK_LIB([rt], [main])
 
 # Checks for header files.
-AC_CHECK_HEADERS([fcntl.h limits.h mntent.h stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h])
+AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h mntent.h stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h])
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_CHECK_HEADER_STDBOOL