summaryrefslogtreecommitdiffstats
path: root/src/zabbix_sender/configure.in
blob: c1a27ce7373dfd6b718d31671c685d63665c2d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
dnl Process this file with autoconf to produce a configure script.
AC_INIT(zabbix_sender.c)

dnl Checks for programs.
AC_PROG_CC

dnl Checks for libraries.
dnl Replace `main' with a function in -lmysqlclient:
AC_CHECK_LIB(mysqlclient, main)

dnl Checks for header files.
AC_HEADER_STDC

AC_CHECK_HEADERS(stdio.h stdlib.h unistd.h netdb.h signal.h \
  time.h sys/types.h sys/stat.h sys/socket.h netinet/in.h)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_PID_T

dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_CHECK_FUNCS(socket strtod)

AC_CONFIG_HEADER(config.h)
AC_OUTPUT(Makefile)