aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-22 21:13:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-22 21:13:27 +0000
commit0bb040822dc89c24fdd5b329966bb1df1bf09ab3 (patch)
treeab3fe0f05922673436cd6a3c4219a73c579210c5
parent543fbe14eee5dbbd81f1e9ec2004d5f327504367 (diff)
Andres Garcia's fix for building static curl on windows.
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a263fd4ed..f65f8fb20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,6 +122,14 @@ case $host in
*-*-mingw*)
AC_DEFINE(BUILDING_LIBCURL, 1, [when building libcurl itself])
AC_MSG_RESULT(yes)
+    AC_MSG_CHECKING([if we need CURL_STATICLIB])
+ if test "X$enable_shared" = "Xno"
+ then
+ AC_DEFINE(CURL_STATICLIB, 1, [when not building a shared library])
+ AC_MSG_RESULT(yes)
+    else
+      AC_MSG_RESULT(no)
+ fi
;;
*)
AC_MSG_RESULT(no)