Changeset 363


Ignore:
Timestamp:
Jun 12, 2006 11:00:07 AM (13 years ago)
Author:
andreasw
Message:

some BuildTools? fixes to make things work on MinGW

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/configure

    r361 r363  
    16681668# We set the following variable so that we know later in AC_COIN_FINALIZE
    16691669# that we are in a project main directory
    1670 coin_projectdir=yes
     1670
    16711671
    16721672
     
    17201720
    17211721# Get the name of the C++ compiler and appropriate compiler options
     1722case $build in
     1723  *-mingw*)
     1724    if test "${LD+set}" = set; then :; else
     1725      LD=link
     1726    fi
     1727    ;;
     1728esac
     1729
     1730
    17221731
    17231732ac_ext=c
     
    28332842
    28342843
     2844
    28352845 #Let's try if that overcomes configuration problem with VC++ 6.0
    28362846ac_ext=cc
     
    35783588  ;;
    35793589  *-mingw*)
    3580     case $CXX in
     3590    case "$CXX" in
    35813591      cl*)
    35823592        coin_disable_shared=yes
     
    35913601echo "$as_me: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&2;}
    35923602  fi
    3593 #  enable_shared=no
     3603  enable_shared=no
    35943604fi
    35953605# By default, we only want the shared objects to be compiled
     
    45904600*-*-irix6*)
    45914601  # Find out which ABI we are using.
    4592   echo '#line 4592 "configure"' > conftest.$ac_ext
     4602  echo '#line 4602 "configure"' > conftest.$ac_ext
    45934603  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    45944604  (eval $ac_compile) 2>&5
     
    57245734
    57255735# Provide some information about the compiler.
    5726 echo "$as_me:5726:" \
     5736echo "$as_me:5736:" \
    57275737     "checking for Fortran 77 compiler version" >&5
    57285738ac_compiler=`set X $ac_compile; echo $2`
     
    67916801   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    67926802   -e 's:$: $lt_compiler_flag:'`
    6793    (eval echo "\"\$as_me:6793: $lt_compile\"" >&5)
     6803   (eval echo "\"\$as_me:6803: $lt_compile\"" >&5)
    67946804   (eval "$lt_compile" 2>conftest.err)
    67956805   ac_status=$?
    67966806   cat conftest.err >&5
    6797    echo "$as_me:6797: \$? = $ac_status" >&5
     6807   echo "$as_me:6807: \$? = $ac_status" >&5
    67986808   if (exit $ac_status) && test -s "$ac_outfile"; then
    67996809     # The compiler can only warn and ignore the option if not recognized
     
    70597069   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    70607070   -e 's:$: $lt_compiler_flag:'`
    7061    (eval echo "\"\$as_me:7061: $lt_compile\"" >&5)
     7071   (eval echo "\"\$as_me:7071: $lt_compile\"" >&5)
    70627072   (eval "$lt_compile" 2>conftest.err)
    70637073   ac_status=$?
    70647074   cat conftest.err >&5
    7065    echo "$as_me:7065: \$? = $ac_status" >&5
     7075   echo "$as_me:7075: \$? = $ac_status" >&5
    70667076   if (exit $ac_status) && test -s "$ac_outfile"; then
    70677077     # The compiler can only warn and ignore the option if not recognized
     
    71637173   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    71647174   -e 's:$: $lt_compiler_flag:'`
    7165    (eval echo "\"\$as_me:7165: $lt_compile\"" >&5)
     7175   (eval echo "\"\$as_me:7175: $lt_compile\"" >&5)
    71667176   (eval "$lt_compile" 2>out/conftest.err)
    71677177   ac_status=$?
    71687178   cat out/conftest.err >&5
    7169    echo "$as_me:7169: \$? = $ac_status" >&5
     7179   echo "$as_me:7179: \$? = $ac_status" >&5
    71707180   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    71717181   then
     
    95089518  lt_status=$lt_dlunknown
    95099519  cat > conftest.$ac_ext <<EOF
    9510 #line 9510 "configure"
     9520#line 9520 "configure"
    95119521#include "confdefs.h"
    95129522
     
    96089618  lt_status=$lt_dlunknown
    96099619  cat > conftest.$ac_ext <<EOF
    9610 #line 9610 "configure"
     9620#line 9620 "configure"
    96119621#include "confdefs.h"
    96129622
     
    1195211962   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1195311963   -e 's:$: $lt_compiler_flag:'`
    11954    (eval echo "\"\$as_me:11954: $lt_compile\"" >&5)
     11964   (eval echo "\"\$as_me:11964: $lt_compile\"" >&5)
    1195511965   (eval "$lt_compile" 2>conftest.err)
    1195611966   ac_status=$?
    1195711967   cat conftest.err >&5
    11958    echo "$as_me:11958: \$? = $ac_status" >&5
     11968   echo "$as_me:11968: \$? = $ac_status" >&5
    1195911969   if (exit $ac_status) && test -s "$ac_outfile"; then
    1196011970     # The compiler can only warn and ignore the option if not recognized
     
    1205612066   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1205712067   -e 's:$: $lt_compiler_flag:'`
    12058    (eval echo "\"\$as_me:12058: $lt_compile\"" >&5)
     12068   (eval echo "\"\$as_me:12068: $lt_compile\"" >&5)
    1205912069   (eval "$lt_compile" 2>out/conftest.err)
    1206012070   ac_status=$?
    1206112071   cat out/conftest.err >&5
    12062    echo "$as_me:12062: \$? = $ac_status" >&5
     12072   echo "$as_me:12072: \$? = $ac_status" >&5
    1206312073   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1206412074   then
     
    1362613636   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1362713637   -e 's:$: $lt_compiler_flag:'`
    13628    (eval echo "\"\$as_me:13628: $lt_compile\"" >&5)
     13638   (eval echo "\"\$as_me:13638: $lt_compile\"" >&5)
    1362913639   (eval "$lt_compile" 2>conftest.err)
    1363013640   ac_status=$?
    1363113641   cat conftest.err >&5
    13632    echo "$as_me:13632: \$? = $ac_status" >&5
     13642   echo "$as_me:13642: \$? = $ac_status" >&5
    1363313643   if (exit $ac_status) && test -s "$ac_outfile"; then
    1363413644     # The compiler can only warn and ignore the option if not recognized
     
    1373013740   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1373113741   -e 's:$: $lt_compiler_flag:'`
    13732    (eval echo "\"\$as_me:13732: $lt_compile\"" >&5)
     13742   (eval echo "\"\$as_me:13742: $lt_compile\"" >&5)
    1373313743   (eval "$lt_compile" 2>out/conftest.err)
    1373413744   ac_status=$?
    1373513745   cat out/conftest.err >&5
    13736    echo "$as_me:13736: \$? = $ac_status" >&5
     13746   echo "$as_me:13746: \$? = $ac_status" >&5
    1373713747   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1373813748   then
     
    1593715947   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1593815948   -e 's:$: $lt_compiler_flag:'`
    15939    (eval echo "\"\$as_me:15939: $lt_compile\"" >&5)
     15949   (eval echo "\"\$as_me:15949: $lt_compile\"" >&5)
    1594015950   (eval "$lt_compile" 2>conftest.err)
    1594115951   ac_status=$?
    1594215952   cat conftest.err >&5
    15943    echo "$as_me:15943: \$? = $ac_status" >&5
     15953   echo "$as_me:15953: \$? = $ac_status" >&5
    1594415954   if (exit $ac_status) && test -s "$ac_outfile"; then
    1594515955     # The compiler can only warn and ignore the option if not recognized
     
    1620516215   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1620616216   -e 's:$: $lt_compiler_flag:'`
    16207    (eval echo "\"\$as_me:16207: $lt_compile\"" >&5)
     16217   (eval echo "\"\$as_me:16217: $lt_compile\"" >&5)
    1620816218   (eval "$lt_compile" 2>conftest.err)
    1620916219   ac_status=$?
    1621016220   cat conftest.err >&5
    16211    echo "$as_me:16211: \$? = $ac_status" >&5
     16221   echo "$as_me:16221: \$? = $ac_status" >&5
    1621216222   if (exit $ac_status) && test -s "$ac_outfile"; then
    1621316223     # The compiler can only warn and ignore the option if not recognized
     
    1630916319   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1631016320   -e 's:$: $lt_compiler_flag:'`
    16311    (eval echo "\"\$as_me:16311: $lt_compile\"" >&5)
     16321   (eval echo "\"\$as_me:16321: $lt_compile\"" >&5)
    1631216322   (eval "$lt_compile" 2>out/conftest.err)
    1631316323   ac_status=$?
    1631416324   cat out/conftest.err >&5
    16315    echo "$as_me:16315: \$? = $ac_status" >&5
     16325   echo "$as_me:16325: \$? = $ac_status" >&5
    1631616326   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1631716327   then
Note: See TracChangeset for help on using the changeset viewer.