Changeset 214


Ignore:
Timestamp:
May 15, 2006 1:40:53 AM (13 years ago)
Author:
andreasw
Message:

Some corrections for MSys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cgl/configure

    r213 r214  
    17241724save_cxxflags="$CXXFLAGS"
    17251725case $build in
    1726   *-cygwin*) comps="g++ cl" ;;
    1727   *-mingw*)  comps="g++ cl" ;;
     1726  *-cygwin* | *-mingw*)
     1727             comps="g++ cl" ;;
    17281728  *-darwin*) comps="g++ c++ CC" ;;
    17291729          *) comps="xlC aCC CC g++ c++ pgCC icpc" ;;
     
    23672367  if test -z "$coin_opt_cxxflags"; then
    23682368    case $build in
    2369       *-cygwin*)
     2369      *-cygwin* | *-mingw*)
    23702370        case "$CXX" in
    23712371          cl | */cl)
     
    26452645case $build in
    26462646  *-cygwin*)
    2647     if test x"$enable_shared" = xyes; then
    2648       { echo "$as_me:$LINENO: WARNING: On Cygwin, shared objects are not supported. I'm disabling your choice." >&5
    2649 echo "$as_me: WARNING: On Cygwin, shared objects are not supported. I'm disabling your choice." >&2;}
    2650     fi
    2651     enable_shared=no
     2647    coin_disable_shared=yes
     2648  ;;
     2649  *-mingw*)
     2650    case $CXX in
     2651      cl)
     2652        coin_disable_shared=yes
     2653    ;;
     2654    esac
    26522655  ;;
    26532656esac
     2657if test x"$coin_disable_shared" = xyes; then
     2658  if test x"$enable_shared" = xyes; then
     2659    { echo "$as_me:$LINENO: WARNING: On Cygwin, shared objects are not supported. I'm disabling your choice." >&5
     2660echo "$as_me: WARNING: On Cygwin, shared objects are not supported. I'm disabling your choice." >&2;}
     2661  fi
     2662  enable_shared=no
     2663fi
    26542664# By default, we only want the shared objects to be compiled
    26552665# Check whether --enable-static or --disable-static was given.
     
    44884498*-*-irix6*)
    44894499  # Find out which ABI we are using.
    4490   echo '#line 4490 "configure"' > conftest.$ac_ext
     4500  echo '#line 4500 "configure"' > conftest.$ac_ext
    44914501  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    44924502  (eval $ac_compile) 2>&5
     
    56225632
    56235633# Provide some information about the compiler.
    5624 echo "$as_me:5624:" \
     5634echo "$as_me:5634:" \
    56255635     "checking for Fortran 77 compiler version" >&5
    56265636ac_compiler=`set X $ac_compile; echo $2`
     
    66896699   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    66906700   -e 's:$: $lt_compiler_flag:'`
    6691    (eval echo "\"\$as_me:6691: $lt_compile\"" >&5)
     6701   (eval echo "\"\$as_me:6701: $lt_compile\"" >&5)
    66926702   (eval "$lt_compile" 2>conftest.err)
    66936703   ac_status=$?
    66946704   cat conftest.err >&5
    6695    echo "$as_me:6695: \$? = $ac_status" >&5
     6705   echo "$as_me:6705: \$? = $ac_status" >&5
    66966706   if (exit $ac_status) && test -s "$ac_outfile"; then
    66976707     # The compiler can only warn and ignore the option if not recognized
     
    69576967   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    69586968   -e 's:$: $lt_compiler_flag:'`
    6959    (eval echo "\"\$as_me:6959: $lt_compile\"" >&5)
     6969   (eval echo "\"\$as_me:6969: $lt_compile\"" >&5)
    69606970   (eval "$lt_compile" 2>conftest.err)
    69616971   ac_status=$?
    69626972   cat conftest.err >&5
    6963    echo "$as_me:6963: \$? = $ac_status" >&5
     6973   echo "$as_me:6973: \$? = $ac_status" >&5
    69646974   if (exit $ac_status) && test -s "$ac_outfile"; then
    69656975     # The compiler can only warn and ignore the option if not recognized
     
    70617071   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    70627072   -e 's:$: $lt_compiler_flag:'`
    7063    (eval echo "\"\$as_me:7063: $lt_compile\"" >&5)
     7073   (eval echo "\"\$as_me:7073: $lt_compile\"" >&5)
    70647074   (eval "$lt_compile" 2>out/conftest.err)
    70657075   ac_status=$?
    70667076   cat out/conftest.err >&5
    7067    echo "$as_me:7067: \$? = $ac_status" >&5
     7077   echo "$as_me:7077: \$? = $ac_status" >&5
    70687078   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    70697079   then
     
    94069416  lt_status=$lt_dlunknown
    94079417  cat > conftest.$ac_ext <<EOF
    9408 #line 9408 "configure"
     9418#line 9418 "configure"
    94099419#include "confdefs.h"
    94109420
     
    95069516  lt_status=$lt_dlunknown
    95079517  cat > conftest.$ac_ext <<EOF
    9508 #line 9508 "configure"
     9518#line 9518 "configure"
    95099519#include "confdefs.h"
    95109520
     
    1185011860   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1185111861   -e 's:$: $lt_compiler_flag:'`
    11852    (eval echo "\"\$as_me:11852: $lt_compile\"" >&5)
     11862   (eval echo "\"\$as_me:11862: $lt_compile\"" >&5)
    1185311863   (eval "$lt_compile" 2>conftest.err)
    1185411864   ac_status=$?
    1185511865   cat conftest.err >&5
    11856    echo "$as_me:11856: \$? = $ac_status" >&5
     11866   echo "$as_me:11866: \$? = $ac_status" >&5
    1185711867   if (exit $ac_status) && test -s "$ac_outfile"; then
    1185811868     # The compiler can only warn and ignore the option if not recognized
     
    1195411964   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1195511965   -e 's:$: $lt_compiler_flag:'`
    11956    (eval echo "\"\$as_me:11956: $lt_compile\"" >&5)
     11966   (eval echo "\"\$as_me:11966: $lt_compile\"" >&5)
    1195711967   (eval "$lt_compile" 2>out/conftest.err)
    1195811968   ac_status=$?
    1195911969   cat out/conftest.err >&5
    11960    echo "$as_me:11960: \$? = $ac_status" >&5
     11970   echo "$as_me:11970: \$? = $ac_status" >&5
    1196111971   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1196211972   then
     
    1352413534   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1352513535   -e 's:$: $lt_compiler_flag:'`
    13526    (eval echo "\"\$as_me:13526: $lt_compile\"" >&5)
     13536   (eval echo "\"\$as_me:13536: $lt_compile\"" >&5)
    1352713537   (eval "$lt_compile" 2>conftest.err)
    1352813538   ac_status=$?
    1352913539   cat conftest.err >&5
    13530    echo "$as_me:13530: \$? = $ac_status" >&5
     13540   echo "$as_me:13540: \$? = $ac_status" >&5
    1353113541   if (exit $ac_status) && test -s "$ac_outfile"; then
    1353213542     # The compiler can only warn and ignore the option if not recognized
     
    1362813638   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1362913639   -e 's:$: $lt_compiler_flag:'`
    13630    (eval echo "\"\$as_me:13630: $lt_compile\"" >&5)
     13640   (eval echo "\"\$as_me:13640: $lt_compile\"" >&5)
    1363113641   (eval "$lt_compile" 2>out/conftest.err)
    1363213642   ac_status=$?
    1363313643   cat out/conftest.err >&5
    13634    echo "$as_me:13634: \$? = $ac_status" >&5
     13644   echo "$as_me:13644: \$? = $ac_status" >&5
    1363513645   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1363613646   then
     
    1583515845   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1583615846   -e 's:$: $lt_compiler_flag:'`
    15837    (eval echo "\"\$as_me:15837: $lt_compile\"" >&5)
     15847   (eval echo "\"\$as_me:15847: $lt_compile\"" >&5)
    1583815848   (eval "$lt_compile" 2>conftest.err)
    1583915849   ac_status=$?
    1584015850   cat conftest.err >&5
    15841    echo "$as_me:15841: \$? = $ac_status" >&5
     15851   echo "$as_me:15851: \$? = $ac_status" >&5
    1584215852   if (exit $ac_status) && test -s "$ac_outfile"; then
    1584315853     # The compiler can only warn and ignore the option if not recognized
     
    1610316113   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1610416114   -e 's:$: $lt_compiler_flag:'`
    16105    (eval echo "\"\$as_me:16105: $lt_compile\"" >&5)
     16115   (eval echo "\"\$as_me:16115: $lt_compile\"" >&5)
    1610616116   (eval "$lt_compile" 2>conftest.err)
    1610716117   ac_status=$?
    1610816118   cat conftest.err >&5
    16109    echo "$as_me:16109: \$? = $ac_status" >&5
     16119   echo "$as_me:16119: \$? = $ac_status" >&5
    1611016120   if (exit $ac_status) && test -s "$ac_outfile"; then
    1611116121     # The compiler can only warn and ignore the option if not recognized
     
    1620716217   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1620816218   -e 's:$: $lt_compiler_flag:'`
    16209    (eval echo "\"\$as_me:16209: $lt_compile\"" >&5)
     16219   (eval echo "\"\$as_me:16219: $lt_compile\"" >&5)
    1621016220   (eval "$lt_compile" 2>out/conftest.err)
    1621116221   ac_status=$?
    1621216222   cat out/conftest.err >&5
    16213    echo "$as_me:16213: \$? = $ac_status" >&5
     16223   echo "$as_me:16223: \$? = $ac_status" >&5
    1621416224   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1621516225   then
     
    1950219512  case "$CXX" in
    1950319513    cl | */cl)
    19504 
     19514      { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5
     19515echo "$as_me: Applying patches to libtool for cl compiler" >&6;}
    1950519516      sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \
    1950619517          -e 's|fix_srcfile_path=\"\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \
Note: See TracChangeset for help on using the changeset viewer.