]> granicus.if.org Git - curl/commitdiff
Based on Mike Dobbs' report, BUILDING_LIBCURL is now defined in here if it
authorDaniel Stenberg <daniel@haxx.se>
Fri, 18 Feb 2005 08:24:53 +0000 (08:24 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 18 Feb 2005 08:24:53 +0000 (08:24 +0000)
runs to build with mingw.

configure.ac

index fb45ecf84b164fe15a99afd209dee13542a1d02f..1a8d13c3814931c3585ecd6f01ddc94e34f013da 100644 (file)
@@ -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