Changeset 318


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

Some corrections for MSys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/configure

    r317 r318  
    17271727save_cxxflags="$CXXFLAGS"
    17281728case $build in
    1729   *-cygwin*) comps="g++ cl" ;;
    1730   *-mingw*)  comps="g++ cl" ;;
     1729  *-cygwin* | *-mingw*)
     1730             comps="g++ cl" ;;
    17311731  *-darwin*) comps="g++ c++ CC" ;;
    17321732          *) comps="xlC aCC CC g++ c++ pgCC icpc" ;;
     
    23702370  if test -z "$coin_opt_cxxflags"; then
    23712371    case $build in
    2372       *-cygwin*)
     2372      *-cygwin* | *-mingw*)
    23732373        case "$CXX" in
    23742374          cl | */cl)
     
    26482648case $build in
    26492649  *-cygwin*)
    2650     if test x"$enable_shared" = xyes; then
    2651       { echo "$as_me:$LINENO: WARNING: On Cygwin, shared objects are not supported. I'm disabling your choice." >&5
    2652 echo "$as_me: WARNING: On Cygwin, shared objects are not supported. I'm disabling your choice." >&2;}
    2653     fi
    2654     enable_shared=no
     2650    coin_disable_shared=yes
     2651  ;;
     2652  *-mingw*)
     2653    case $CXX in
     2654      cl)
     2655        coin_disable_shared=yes
     2656    ;;
     2657    esac
    26552658  ;;
    26562659esac
     2660if test x"$coin_disable_shared" = xyes; then
     2661  if test x"$enable_shared" = xyes; then
     2662    { echo "$as_me:$LINENO: WARNING: On Cygwin, shared objects are not supported. I'm disabling your choice." >&5
     2663echo "$as_me: WARNING: On Cygwin, shared objects are not supported. I'm disabling your choice." >&2;}
     2664  fi
     2665  enable_shared=no
     2666fi
    26572667# By default, we only want the shared objects to be compiled
    26582668# Check whether --enable-static or --disable-static was given.
     
    44914501*-*-irix6*)
    44924502  # Find out which ABI we are using.
    4493   echo '#line 4493 "configure"' > conftest.$ac_ext
     4503  echo '#line 4503 "configure"' > conftest.$ac_ext
    44944504  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    44954505  (eval $ac_compile) 2>&5
     
    56255635
    56265636# Provide some information about the compiler.
    5627 echo "$as_me:5627:" \
     5637echo "$as_me:5637:" \
    56285638     "checking for Fortran 77 compiler version" >&5
    56295639ac_compiler=`set X $ac_compile; echo $2`
     
    66926702   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    66936703   -e 's:$: $lt_compiler_flag:'`
    6694    (eval echo "\"\$as_me:6694: $lt_compile\"" >&5)
     6704   (eval echo "\"\$as_me:6704: $lt_compile\"" >&5)
    66956705   (eval "$lt_compile" 2>conftest.err)
    66966706   ac_status=$?
    66976707   cat conftest.err >&5
    6698    echo "$as_me:6698: \$? = $ac_status" >&5
     6708   echo "$as_me:6708: \$? = $ac_status" >&5
    66996709   if (exit $ac_status) && test -s "$ac_outfile"; then
    67006710     # The compiler can only warn and ignore the option if not recognized
     
    69606970   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    69616971   -e 's:$: $lt_compiler_flag:'`
    6962    (eval echo "\"\$as_me:6962: $lt_compile\"" >&5)
     6972   (eval echo "\"\$as_me:6972: $lt_compile\"" >&5)
    69636973   (eval "$lt_compile" 2>conftest.err)
    69646974   ac_status=$?
    69656975   cat conftest.err >&5
    6966    echo "$as_me:6966: \$? = $ac_status" >&5
     6976   echo "$as_me:6976: \$? = $ac_status" >&5
    69676977   if (exit $ac_status) && test -s "$ac_outfile"; then
    69686978     # The compiler can only warn and ignore the option if not recognized
     
    70647074   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    70657075   -e 's:$: $lt_compiler_flag:'`
    7066    (eval echo "\"\$as_me:7066: $lt_compile\"" >&5)
     7076   (eval echo "\"\$as_me:7076: $lt_compile\"" >&5)
    70677077   (eval "$lt_compile" 2>out/conftest.err)
    70687078   ac_status=$?
    70697079   cat out/conftest.err >&5
    7070    echo "$as_me:7070: \$? = $ac_status" >&5
     7080   echo "$as_me:7080: \$? = $ac_status" >&5
    70717081   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    70727082   then
     
    94099419  lt_status=$lt_dlunknown
    94109420  cat > conftest.$ac_ext <<EOF
    9411 #line 9411 "configure"
     9421#line 9421 "configure"
    94129422#include "confdefs.h"
    94139423
     
    95099519  lt_status=$lt_dlunknown
    95109520  cat > conftest.$ac_ext <<EOF
    9511 #line 9511 "configure"
     9521#line 9521 "configure"
    95129522#include "confdefs.h"
    95139523
     
    1185311863   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1185411864   -e 's:$: $lt_compiler_flag:'`
    11855    (eval echo "\"\$as_me:11855: $lt_compile\"" >&5)
     11865   (eval echo "\"\$as_me:11865: $lt_compile\"" >&5)
    1185611866   (eval "$lt_compile" 2>conftest.err)
    1185711867   ac_status=$?
    1185811868   cat conftest.err >&5
    11859    echo "$as_me:11859: \$? = $ac_status" >&5
     11869   echo "$as_me:11869: \$? = $ac_status" >&5
    1186011870   if (exit $ac_status) && test -s "$ac_outfile"; then
    1186111871     # The compiler can only warn and ignore the option if not recognized
     
    1195711967   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1195811968   -e 's:$: $lt_compiler_flag:'`
    11959    (eval echo "\"\$as_me:11959: $lt_compile\"" >&5)
     11969   (eval echo "\"\$as_me:11969: $lt_compile\"" >&5)
    1196011970   (eval "$lt_compile" 2>out/conftest.err)
    1196111971   ac_status=$?
    1196211972   cat out/conftest.err >&5
    11963    echo "$as_me:11963: \$? = $ac_status" >&5
     11973   echo "$as_me:11973: \$? = $ac_status" >&5
    1196411974   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1196511975   then
     
    1352713537   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1352813538   -e 's:$: $lt_compiler_flag:'`
    13529    (eval echo "\"\$as_me:13529: $lt_compile\"" >&5)
     13539   (eval echo "\"\$as_me:13539: $lt_compile\"" >&5)
    1353013540   (eval "$lt_compile" 2>conftest.err)
    1353113541   ac_status=$?
    1353213542   cat conftest.err >&5
    13533    echo "$as_me:13533: \$? = $ac_status" >&5
     13543   echo "$as_me:13543: \$? = $ac_status" >&5
    1353413544   if (exit $ac_status) && test -s "$ac_outfile"; then
    1353513545     # The compiler can only warn and ignore the option if not recognized
     
    1363113641   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1363213642   -e 's:$: $lt_compiler_flag:'`
    13633    (eval echo "\"\$as_me:13633: $lt_compile\"" >&5)
     13643   (eval echo "\"\$as_me:13643: $lt_compile\"" >&5)
    1363413644   (eval "$lt_compile" 2>out/conftest.err)
    1363513645   ac_status=$?
    1363613646   cat out/conftest.err >&5
    13637    echo "$as_me:13637: \$? = $ac_status" >&5
     13647   echo "$as_me:13647: \$? = $ac_status" >&5
    1363813648   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1363913649   then
     
    1583815848   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1583915849   -e 's:$: $lt_compiler_flag:'`
    15840    (eval echo "\"\$as_me:15840: $lt_compile\"" >&5)
     15850   (eval echo "\"\$as_me:15850: $lt_compile\"" >&5)
    1584115851   (eval "$lt_compile" 2>conftest.err)
    1584215852   ac_status=$?
    1584315853   cat conftest.err >&5
    15844    echo "$as_me:15844: \$? = $ac_status" >&5
     15854   echo "$as_me:15854: \$? = $ac_status" >&5
    1584515855   if (exit $ac_status) && test -s "$ac_outfile"; then
    1584615856     # The compiler can only warn and ignore the option if not recognized
     
    1610616116   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1610716117   -e 's:$: $lt_compiler_flag:'`
    16108    (eval echo "\"\$as_me:16108: $lt_compile\"" >&5)
     16118   (eval echo "\"\$as_me:16118: $lt_compile\"" >&5)
    1610916119   (eval "$lt_compile" 2>conftest.err)
    1611016120   ac_status=$?
    1611116121   cat conftest.err >&5
    16112    echo "$as_me:16112: \$? = $ac_status" >&5
     16122   echo "$as_me:16122: \$? = $ac_status" >&5
    1611316123   if (exit $ac_status) && test -s "$ac_outfile"; then
    1611416124     # The compiler can only warn and ignore the option if not recognized
     
    1621016220   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1621116221   -e 's:$: $lt_compiler_flag:'`
    16212    (eval echo "\"\$as_me:16212: $lt_compile\"" >&5)
     16222   (eval echo "\"\$as_me:16222: $lt_compile\"" >&5)
    1621316223   (eval "$lt_compile" 2>out/conftest.err)
    1621416224   ac_status=$?
    1621516225   cat out/conftest.err >&5
    16216    echo "$as_me:16216: \$? = $ac_status" >&5
     16226   echo "$as_me:16226: \$? = $ac_status" >&5
    1621716227   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1621816228   then
     
    1950519515  case "$CXX" in
    1950619516    cl | */cl)
    19507 
     19517      { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5
     19518echo "$as_me: Applying patches to libtool for cl compiler" >&6;}
    1950819519      sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \
    1950919520          -e 's|fix_srcfile_path=\"\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \
Note: See TracChangeset for help on using the changeset viewer.