From 468e6a88b7ffddbc4b95b0af96c975c2d5642060 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Sun, 4 Jul 2010 18:06:57 +0000 Subject: [PATCH] better detection for static binary building --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 4cdeb4955..08eab8d85 100644 --- a/configure.ac +++ b/configure.ac @@ -68,6 +68,9 @@ AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_CANONICAL_TARGET +if test "$enable_shared" = no -a "$user_specified_enable_or_disable_shared" = yes; then + enable_static=yes +fi if test "$enable_shared" = no -a "$enable_static" = yes; then enable_static_binary=yes fi -- 2.30.2