diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-07-04 18:06:57 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-07-04 18:06:57 +0000 |
commit | 468e6a88b7ffddbc4b95b0af96c975c2d5642060 (patch) | |
tree | 563bfd0b5552108c6eabc230c5a16e9e050737a2 /configure.ac | |
parent | 18e073e53b49f24539f29a68e8ec905dd628e9d3 (diff) |
better detection for static binary building
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
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 |