Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move resized to its own method
[simgrid.git] / src / smpi / smpicc.in
index 6fb550c..85fd1ea 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/usr/bin/env sh
 
 # Copyright (c) 2007-2017. The SimGrid Team.
 # All rights reserved.
@@ -18,10 +18,10 @@ CMAKE_LINKARGS="-L@libdir@"
 
 list_set CFLAGS
 list_set LINKARGS
-if [ "@WIN32@" == "1" ]; then
+if [ "x@WIN32@" = "x1" ]; then
     list_add CFLAGS "-include" "@includedir@/smpi/smpi_main.h"
     list_add LINKARGS "@libdir@\libsimgrid.dll"
-elif [ "@APPLE@" == 1 ]; then
+elif [ "x@APPLE@" = "x1" ]; then
     list_add CFLAGS "-fpic"
     list_add LINKARGS "-shared" "-lsimgrid" "-Wl,-undefined,error"
 else