aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-18 08:24:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-18 08:24:53 +0000
commit4d815c99905a699c2956671d2348312b6201340e (patch)
treef649e7b42a8801b99e0c3323fd9325370bce7964
parent176981b529bad6a61ad4a5439c87953ae5541a98 (diff)
Based on Mike Dobbs' report, BUILDING_LIBCURL is now defined in here if it
runs to build with mingw.
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fb45ecf84..1a8d13c38 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,6 +116,17 @@ esac
AC_MSG_RESULT($mimpure)
AM_CONDITIONAL(MIMPURE, test x$mimpure = xyes)
+AC_MSG_CHECKING([if we need BUILDING_LIBCURL])
+case $host in
+ *-*-mingw*)
+ AC_DEFINE(BUILDING_LIBCURL, 1, [when building libcurl itself])
+ AC_MSG_RESULT(yes)
+ ;;
+ *)
+ AC_MSG_RESULT(no)
+ ;;
+esac
+
dnl The install stuff has already been taken care of by the automake stuff
dnl AC_PROG_INSTALL
AC_PROG_MAKE_SET