[Forensics-changes] [yara] 272/368: Add --enable-debug option to "configure" script

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:30:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.5.0
in repository yara.

commit dc4811bef7f03a990cce8e18e74c766acf4d2cd9
Author: plusvic <plusvic at gmail.com>
Date:   Thu May 12 12:07:19 2016 +0200

    Add --enable-debug option to "configure" script
---
 configure.ac | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configure.ac b/configure.ac
index aa79a65..b00865e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,13 @@ AC_CHECK_LIB(m, isnan)
 AC_CHECK_LIB(m, log2)
 AC_CHECK_FUNCS([strlcpy strlcat memmem timegm])
 
+
+AC_ARG_ENABLE([debug],
+  [AS_HELP_STRING([--enable-debug], [compiles with -g option])],
+  [if test x$enableval = xyes; then
+    CFLAGS="$CFLAGS -g"
+  fi])
+
 AC_ARG_ENABLE([profiling],
   [AS_HELP_STRING([--enable-profiling], [enable profiling support])],
   [if test x$enableval = xyes; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list