Commit 0fd281dd31c15fd5bd06e2bb324d845474941eed

Authored by Georg Hopp
1 parent 72e46b3a

reflect changes in configure.ac

Showing 1 changed file with 8 additions and 2 deletions
... ... @@ -11,25 +11,31 @@ AC_CONFIG_HEADERS([config.h])
11 11 AC_CONFIG_MACRO_DIR([m4])
12 12
13 13 # Checks for programs.
  14 +AC_PROG_CXX
14 15 AC_PROG_CC
15 16 AC_PROG_CC_C99
16 17 AC_PROG_LIBTOOL
17 18 AM_PROG_CC_C_O
  19 +AC_PROG_RANLIB
18 20
19 21 # Checks for libraries.
20 22 AC_CHECK_LIB([json], [json_object_new_object], [],
21 23 [AC_MSG_ERROR([json-c library not found], [1])])
22 24
23 25 # Checks for header files.
24   -AC_CHECK_HEADERS([stdarg.h string.h stdlib.h stdio.h sys/types.h json/json.h])
  26 +AC_CHECK_HEADERS([stdarg.h string.h stdlib.h stdio.h unistd.h syslog.h
  27 + sys/types.h json/json.h])
25 28
26 29 # Checks for typedefs, structures, and compiler characteristics.
27 30 AC_HEADER_STDBOOL
28 31 AC_C_INLINE
  32 +AC_TYPE_PID_T
29 33 AC_TYPE_SIZE_T
30 34
31 35 # Checks for library functions.
32   -#AC_CHECK_FUNCS([memchr])
  36 +AC_FUNC_FORK
  37 +AC_FUNC_MALLOC
  38 +AC_CHECK_FUNCS([memset])
33 39
34 40 AC_CONFIG_FILES([Makefile tests/Makefile])
35 41 AC_OUTPUT
... ...
Please register or login to post a comment