From 984df7001307c7e6ade55387b0174bd6891c715c Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 3 Aug 2007 11:47:34 +0000 Subject: [PATCH] Cleanup the way we specify that we are compiling on windows git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3943 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9e8e8e6d30..da3f2c8199 100644 --- a/configure.ac +++ b/configure.ac @@ -201,7 +201,6 @@ if test xpthread=xyes ; then fi fi - ######################################### ## Build optional modules (gtnets) ## @@ -286,7 +285,7 @@ AC_CHECK_LIB(socket, connect, [GRAS_DEP="$GRAS_DEP -lsocket"]) AC_MSG_CHECKING(for extra dependencies of libgras) case $host_os in *mingw* ) GRAS_DEP="$GRAS_DEP -lws2_32" ; SIMGRID_DEP="$SIMGRID_DEP -lws2_32"; - AC_SUBST(AM_CFLAGS,-DDLL_EXPORT) + AM_CPPFLAGS="$AM_CPPFLAGS -DDLL_EXPORT" AC_DEFINE(CONTEXT_THREADS,1);; esac -- 2.20.1