Changeset 365


Ignore:
Timestamp:
Jun 12, 2006 2:24:01 PM (13 years ago)
Author:
andreasw
Message:

slightly modified MinGW modification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/configure

    r363 r365  
    28292829# Correct ADDLIBS initialization if we are using the MS compiler
    28302830case "$CC" in
    2831   cl)
     2831  cl*)
    28322832    ADDLIBS=
     2833    case $build in
     2834  *-mingw*)
     2835    if test "${LD+set}" = set; then :; else
     2836      LD=link
     2837    fi
     2838    ;;
     2839esac
     2840
    28332841    ;;
    28342842esac
     
    28392847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    28402848ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2841 
    28422849
    28432850
     
    35713578fi
    35723579
     3580case "$CXX" in
     3581  cl*)
     3582    case $build in
     3583  *-mingw*)
     3584    if test "${LD+set}" = set; then :; else
     3585      LD=link
     3586    fi
     3587    ;;
     3588esac
     3589
     3590    ;;
     3591esac
     3592
    35733593ac_ext=c
    35743594ac_cpp='$CPP $CPPFLAGS'
     
    46004620*-*-irix6*)
    46014621  # Find out which ABI we are using.
    4602   echo '#line 4602 "configure"' > conftest.$ac_ext
     4622  echo '#line 4622 "configure"' > conftest.$ac_ext
    46034623  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    46044624  (eval $ac_compile) 2>&5
     
    57345754
    57355755# Provide some information about the compiler.
    5736 echo "$as_me:5736:" \
     5756echo "$as_me:5756:" \
    57375757     "checking for Fortran 77 compiler version" >&5
    57385758ac_compiler=`set X $ac_compile; echo $2`
     
    68016821   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    68026822   -e 's:$: $lt_compiler_flag:'`
    6803    (eval echo "\"\$as_me:6803: $lt_compile\"" >&5)
     6823   (eval echo "\"\$as_me:6823: $lt_compile\"" >&5)
    68046824   (eval "$lt_compile" 2>conftest.err)
    68056825   ac_status=$?
    68066826   cat conftest.err >&5
    6807    echo "$as_me:6807: \$? = $ac_status" >&5
     6827   echo "$as_me:6827: \$? = $ac_status" >&5
    68086828   if (exit $ac_status) && test -s "$ac_outfile"; then
    68096829     # The compiler can only warn and ignore the option if not recognized
     
    70697089   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    70707090   -e 's:$: $lt_compiler_flag:'`
    7071    (eval echo "\"\$as_me:7071: $lt_compile\"" >&5)
     7091   (eval echo "\"\$as_me:7091: $lt_compile\"" >&5)
    70727092   (eval "$lt_compile" 2>conftest.err)
    70737093   ac_status=$?
    70747094   cat conftest.err >&5
    7075    echo "$as_me:7075: \$? = $ac_status" >&5
     7095   echo "$as_me:7095: \$? = $ac_status" >&5
    70767096   if (exit $ac_status) && test -s "$ac_outfile"; then
    70777097     # The compiler can only warn and ignore the option if not recognized
     
    71737193   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    71747194   -e 's:$: $lt_compiler_flag:'`
    7175    (eval echo "\"\$as_me:7175: $lt_compile\"" >&5)
     7195   (eval echo "\"\$as_me:7195: $lt_compile\"" >&5)
    71767196   (eval "$lt_compile" 2>out/conftest.err)
    71777197   ac_status=$?
    71787198   cat out/conftest.err >&5
    7179    echo "$as_me:7179: \$? = $ac_status" >&5
     7199   echo "$as_me:7199: \$? = $ac_status" >&5
    71807200   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    71817201   then
     
    95189538  lt_status=$lt_dlunknown
    95199539  cat > conftest.$ac_ext <<EOF
    9520 #line 9520 "configure"
     9540#line 9540 "configure"
    95219541#include "confdefs.h"
    95229542
     
    96189638  lt_status=$lt_dlunknown
    96199639  cat > conftest.$ac_ext <<EOF
    9620 #line 9620 "configure"
     9640#line 9640 "configure"
    96219641#include "confdefs.h"
    96229642
     
    1196211982   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1196311983   -e 's:$: $lt_compiler_flag:'`
    11964    (eval echo "\"\$as_me:11964: $lt_compile\"" >&5)
     11984   (eval echo "\"\$as_me:11984: $lt_compile\"" >&5)
    1196511985   (eval "$lt_compile" 2>conftest.err)
    1196611986   ac_status=$?
    1196711987   cat conftest.err >&5
    11968    echo "$as_me:11968: \$? = $ac_status" >&5
     11988   echo "$as_me:11988: \$? = $ac_status" >&5
    1196911989   if (exit $ac_status) && test -s "$ac_outfile"; then
    1197011990     # The compiler can only warn and ignore the option if not recognized
     
    1206612086   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1206712087   -e 's:$: $lt_compiler_flag:'`
    12068    (eval echo "\"\$as_me:12068: $lt_compile\"" >&5)
     12088   (eval echo "\"\$as_me:12088: $lt_compile\"" >&5)
    1206912089   (eval "$lt_compile" 2>out/conftest.err)
    1207012090   ac_status=$?
    1207112091   cat out/conftest.err >&5
    12072    echo "$as_me:12072: \$? = $ac_status" >&5
     12092   echo "$as_me:12092: \$? = $ac_status" >&5
    1207312093   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1207412094   then
     
    1363613656   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1363713657   -e 's:$: $lt_compiler_flag:'`
    13638    (eval echo "\"\$as_me:13638: $lt_compile\"" >&5)
     13658   (eval echo "\"\$as_me:13658: $lt_compile\"" >&5)
    1363913659   (eval "$lt_compile" 2>conftest.err)
    1364013660   ac_status=$?
    1364113661   cat conftest.err >&5
    13642    echo "$as_me:13642: \$? = $ac_status" >&5
     13662   echo "$as_me:13662: \$? = $ac_status" >&5
    1364313663   if (exit $ac_status) && test -s "$ac_outfile"; then
    1364413664     # The compiler can only warn and ignore the option if not recognized
     
    1374013760   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1374113761   -e 's:$: $lt_compiler_flag:'`
    13742    (eval echo "\"\$as_me:13742: $lt_compile\"" >&5)
     13762   (eval echo "\"\$as_me:13762: $lt_compile\"" >&5)
    1374313763   (eval "$lt_compile" 2>out/conftest.err)
    1374413764   ac_status=$?
    1374513765   cat out/conftest.err >&5
    13746    echo "$as_me:13746: \$? = $ac_status" >&5
     13766   echo "$as_me:13766: \$? = $ac_status" >&5
    1374713767   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1374813768   then
     
    1594715967   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1594815968   -e 's:$: $lt_compiler_flag:'`
    15949    (eval echo "\"\$as_me:15949: $lt_compile\"" >&5)
     15969   (eval echo "\"\$as_me:15969: $lt_compile\"" >&5)
    1595015970   (eval "$lt_compile" 2>conftest.err)
    1595115971   ac_status=$?
    1595215972   cat conftest.err >&5
    15953    echo "$as_me:15953: \$? = $ac_status" >&5
     15973   echo "$as_me:15973: \$? = $ac_status" >&5
    1595415974   if (exit $ac_status) && test -s "$ac_outfile"; then
    1595515975     # The compiler can only warn and ignore the option if not recognized
     
    1621516235   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1621616236   -e 's:$: $lt_compiler_flag:'`
    16217    (eval echo "\"\$as_me:16217: $lt_compile\"" >&5)
     16237   (eval echo "\"\$as_me:16237: $lt_compile\"" >&5)
    1621816238   (eval "$lt_compile" 2>conftest.err)
    1621916239   ac_status=$?
    1622016240   cat conftest.err >&5
    16221    echo "$as_me:16221: \$? = $ac_status" >&5
     16241   echo "$as_me:16241: \$? = $ac_status" >&5
    1622216242   if (exit $ac_status) && test -s "$ac_outfile"; then
    1622316243     # The compiler can only warn and ignore the option if not recognized
     
    1631916339   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1632016340   -e 's:$: $lt_compiler_flag:'`
    16321    (eval echo "\"\$as_me:16321: $lt_compile\"" >&5)
     16341   (eval echo "\"\$as_me:16341: $lt_compile\"" >&5)
    1632216342   (eval "$lt_compile" 2>out/conftest.err)
    1632316343   ac_status=$?
    1632416344   cat out/conftest.err >&5
    16325    echo "$as_me:16325: \$? = $ac_status" >&5
     16345   echo "$as_me:16345: \$? = $ac_status" >&5
    1632616346   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1632716347   then
Note: See TracChangeset for help on using the changeset viewer.