forked from VirusTotal/yara
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
25 lines (21 loc) · 720 Bytes
/
configure.ac
File metadata and controls
25 lines (21 loc) · 720 Bytes
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
AC_INIT([yara], [2.0], [vmalvarez@virustotal.com])
${CFLAGS=""}
# automake 1.12 seems to require AM_PROG_AR, but automake 1.11 doesn't
# recognize it
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
LT_INIT
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PROG_CC
AC_PROG_LIBTOOL
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_SUBDIRS([libyara])
AC_CHECK_LIB(pthread, pthread_create)
AC_ARG_ENABLE([dmalloc],
[AS_HELP_STRING([--enable-dmalloc], [enable dmalloc to debug heap-related issues])],
[if test x$enableval = xyes; then
AC_CHECK_LIB(dmalloc, dmalloc_malloc,, AC_MSG_ERROR(please install dmalloc library))
AC_DEFINE([DMALLOC], [], [enable dmalloc])
fi])
AC_OUTPUT