diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-11-25 20:00:27 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-11-25 20:00:27 +0100 |
commit | 31115dd3122a1994a83f59f4be485a814d1a1f41 (patch) | |
tree | 26a51da059b0dfd12f69b078475b990acd87c5d7 /configure.ac | |
parent | bb9f8af36f3cb8e645d5a51ac29b9f8099889dd6 (diff) |
Print compile options (window, drun,timing, asan, gcov) in -help
Issue: #506
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ec403685..c07b0f72 100644 --- a/configure.ac +++ b/configure.ac @@ -48,10 +48,11 @@ dnl --------------------------------------------------------------------- AC_ARG_ENABLE(gcov, [ --enable-gcov Enable source code coverage testing using gcov], [AM_CFLAGS="${AM_CFLAGS} -coverage"]) - +AS_IF([test "X${enable_gcov}" == "xyes" ], [AC_DEFINE([ENABLE_GCOV], [1], [Enable gcov profiling])]) AC_ARG_ENABLE(asan, [ --enable-asan asan], [AM_CFLAGS="${AM_CFLAGS} -fsanitize=address -fno-omit-frame-pointer -g3"]) +AS_IF([test "X${enable_asan}" == "xyes" ], [AC_DEFINE([ENABLE_ASAN], [1], [Enable libasan])]) dnl -------------------------------------------------------------------- |