mirror of
https://github.com/BlackLight/Snort_AIPreproc.git
synced 2024-11-14 04:37:16 +01:00
42 lines
1,020 B
Text
42 lines
1,020 B
Text
|
# -*- Autoconf -*-
|
||
|
# Process this file with autoconf to produce a configure script.
|
||
|
|
||
|
AC_PREREQ([2.67])
|
||
|
AC_INIT([Snort_AI_preproc], [0.1], [blacklight@autistici.org])
|
||
|
AM_INIT_AUTOMAKE([1.10 -Wall no-define])
|
||
|
AC_CONFIG_SRCDIR([config.h.in])
|
||
|
AC_CONFIG_HEADERS([config.h])
|
||
|
AC_CONFIG_MACRO_DIR([m4])
|
||
|
LT_INIT
|
||
|
|
||
|
# Checks for programs.
|
||
|
AC_PROG_CC
|
||
|
AC_PROG_LN_S
|
||
|
AC_PROG_MAKE_SET
|
||
|
|
||
|
# Checks for libraries.
|
||
|
AC_CHECK_LIB([mysqlclient], [mysql_query])
|
||
|
AC_CHECK_LIB([pthread], [pthread_create])
|
||
|
|
||
|
# Checks for header files.
|
||
|
AC_FUNC_ALLOCA
|
||
|
AC_CHECK_HEADERS([inttypes.h limits.h stddef.h stdlib.h string.h unistd.h])
|
||
|
|
||
|
# Checks for typedefs, structures, and compiler characteristics.
|
||
|
AC_HEADER_STDBOOL
|
||
|
AC_TYPE_SIZE_T
|
||
|
AC_TYPE_UINT16_T
|
||
|
AC_TYPE_UINT32_T
|
||
|
AC_TYPE_UINT8_T
|
||
|
AC_CHECK_TYPES([ptrdiff_t])
|
||
|
|
||
|
# Checks for library functions.
|
||
|
AC_FUNC_MALLOC
|
||
|
AC_FUNC_MKTIME
|
||
|
AC_FUNC_REALLOC
|
||
|
AC_CHECK_FUNCS([memmove memset regcomp strcasecmp strdup strstr strtol strtoul])
|
||
|
|
||
|
AC_CONFIG_FILES([Makefile])
|
||
|
AC_OUTPUT
|
||
|
|