Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix C++ comment
[simgrid.git] / configure.ac
index 199a68e..3e1c24b 100644 (file)
@@ -16,6 +16,7 @@ AC_LANG([C])
 AM_INIT_AUTOMAKE(gnu)
 AC_CONFIG_MACRO_DIR(acmacro) 
 ACLOCAL="$ACLOCAL -I acmacro"
+AC_LIBTOOL_WIN32_DLL
 AC_PROG_LIBTOOL
 
 ###############
@@ -128,12 +129,10 @@ case $with_context in
  *) AC_MSG_ERROR("--with-context must be either ucontext or pthread") ;;
 esac
 
-USE_CONTEXT=no
 if test "x$with_context" = "xucontext" ; then
   if test ".$mcsc" = .yes; then
     AC_MSG_RESULT(found working ucontext. Great!)
     AC_DEFINE([USE_UCONTEXT],1,[Define if we use ucontext or not])
-    USE_CONTEXT=yes
   else
     if test ".$windows_context" = .yes ; then
       AC_MSG_RESULT(use windows context portability layer.)
@@ -144,7 +143,6 @@ if test "x$with_context" = "xucontext" ; then
     fi
   fi
 fi
-AC_SUBST(USE_CONTEXT)
 
 if test "x$with_context" = "xpthread"; then
   AC_CHECK_HEADERS([pthread.h])