begin to implent libconfuse usage

This commit is contained in:
Sergey Popov 2011-11-17 15:45:44 +04:00
parent e007355bd3
commit 748bd4d10a
2 changed files with 4 additions and 0 deletions

View File

@ -10,13 +10,16 @@ AC_PROG_CC_C99
# Checks for libraries. # Checks for libraries.
PKG_CHECK_MODULES([gammu], [gammu >= 1.0]) PKG_CHECK_MODULES([gammu], [gammu >= 1.0])
PKG_CHECK_MODULES([libconfuse], [libconfuse >= 2.0])
# Checks for header files. # Checks for header files.
AC_CHECK_HEADERS([fcntl.h signal.h stdlib.h string.h syslog.h unistd.h]) AC_CHECK_HEADERS([fcntl.h signal.h stdlib.h string.h syslog.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics. # Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_PID_T
# Checks for library functions. # Checks for library functions.
AC_FUNC_FORK
AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([Makefile])
AC_OUTPUT AC_OUTPUT

View File

@ -9,6 +9,7 @@
#include <syslog.h> #include <syslog.h>
#include <signal.h> #include <signal.h>
#include <string.h> #include <string.h>
#include <confuse.h>
// #include <gammu/gammu.h> // #include <gammu/gammu.h>
// Target hosts count // Target hosts count