SINGA-69 Add debug option in compilation configuration Build in a clean mode. Change "--enable-singatest" to "--enable-test".
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/5d7d53f5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/5d7d53f5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/5d7d53f5 Branch: refs/heads/master Commit: 5d7d53f52451840a09d577423745dc977ae8184f Parents: e0de439 Author: xiezl <[email protected]> Authored: Sun Sep 13 16:21:01 2015 +0800 Committer: xiezl <[email protected]> Committed: Sun Sep 13 16:21:01 2015 +0800 ---------------------------------------------------------------------- configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/5d7d53f5/configure.ac ---------------------------------------------------------------------- diff --git a/configure.ac b/configure.ac index 1ff528f..fa54546 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,7 @@ AC_CONFIG_MACRO_DIR(config) AC_CONFIG_SRCDIR([src/utils/common.cc]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE([subdir-objects foreign]) -#m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) ACLOCAL_AMFLAGS = -I m4 --install # Checks for programs. @@ -44,11 +44,11 @@ if test x"$enable_lmdb" = x"yes"; then AC_DEFINE(LMDB, 1, [Enable Option layer]) fi -AC_ARG_ENABLE(singatest, - AS_HELP_STRING([--enable-singatest],[enable singa test]), - [enable_singatest=yes],[enable_singatest=no]) -AM_CONDITIONAL(SINGATEST, test "$enable_singatest" = yes) -if test x"$enable_singatest" != x"no"; then +AC_ARG_ENABLE(test, + AS_HELP_STRING([--enable-test],[enable singa test]), + [enable_test=yes],[enable_test=no]) +AM_CONDITIONAL(SINGATEST, test "$enable_test" = yes) +if test x"$enable_test" != x"no"; then PROGS='singatest' LTLIBS='libgtest.la' else
