From 3db8935093f1a0e4a3cf4a2dc8b925043b61e551 Mon Sep 17 00:00:00 2001 From: toddouska Date: Wed, 27 Mar 2013 15:17:21 -0700 Subject: [PATCH] configure switch to enable_static on if shared off when hardsetting for valgrind or cavium --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index e65946341..3b1b872b3 100644 --- a/configure.ac +++ b/configure.ac @@ -1031,6 +1031,7 @@ then AC_MSG_ERROR([Valgrind not found.]) fi enable_shared=no + enable_static=yes AM_CFLAGS="$AM_CFLAGS -DHAVE_VALGRIND" fi @@ -1173,6 +1174,7 @@ AC_ARG_WITH([cavium], fi AC_MSG_RESULT([yes]) enable_shared=no + enable_static=yes ] )