summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-07-04 18:06:57 +0000
committerMorgan Deters <mdeters@gmail.com>2010-07-04 18:06:57 +0000
commit468e6a88b7ffddbc4b95b0af96c975c2d5642060 (patch)
tree563bfd0b5552108c6eabc230c5a16e9e050737a2 /configure.ac
parent18e073e53b49f24539f29a68e8ec905dd628e9d3 (diff)
better detection for static binary building
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
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
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback