[PPL-devel] [GIT] ppl/ppl(master): Detect MinGW, defining the HOST_OS_MINGW Automake conditional.

Roberto Bagnara bagnara at cs.unipr.it
Sat Mar 28 07:48:40 CET 2009


Module: ppl/ppl
Branch: master
Commit: e3bfcc98175af386aab02a57fb2f50bc69b020f3
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=e3bfcc98175af386aab02a57fb2f50bc69b020f3

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Sat Mar 28 07:45:04 2009 +0100

Detect MinGW, defining the HOST_OS_MINGW Automake conditional.

---

 configure.ac |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1843376..343c710 100644
--- a/configure.ac
+++ b/configure.ac
@@ -465,6 +465,7 @@ CXXFLAGS="$COMP_FLAGS $OPT_FLAGS $CXXFLAGS"
 
 # System-dependent adjustments.
 cygwin=no
+mingw=no
 darwin=no
 solaris=no
 x86_64=no
@@ -496,6 +497,9 @@ cygwin)
 darwin*)
   darwin=yes
   ;;
+mingw*)
+  mingw=yes
+  ;;
 solaris*)
   solaris=yes
   ;;
@@ -505,6 +509,7 @@ esac
 
 AM_CONDITIONAL(HOST_OS_CYGWIN, test x$cygwin = xyes)
 AM_CONDITIONAL(HOST_OS_DARWIN, test x$darwin = xyes)
+AM_CONDITIONAL(HOST_OS_MINGW, test x$mingw = xyes)
 AM_CONDITIONAL(HOST_OS_SOLARIS, test x$solaris = xyes)
 
 AM_CONDITIONAL(HOST_CPU_X86_64, test x$x86_64 = xyes)




More information about the PPL-devel mailing list