Changeset 455 for stable/1.1


Ignore:
Timestamp:
Oct 20, 2006 12:11:42 AM (13 years ago)
Author:
andreasw
Message:

integrated fix in BuildTools? (changesets 118 and 119) into stable branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.1/Cbc/configure

    r405 r455  
    10771077  --enable-debug          compile all projects with debug options tests
    10781078  --enable-debug-cbc compile this project (Cbc) with debug options
     1079  --enable-doscompile     Under Cygwin, compile so that executables run under
     1080                          DOS (default: disabled)
    10791081  --enable-static[=PKGS]
    10801082                          build static libraries [default=no]
     
    18271829    ;;
    18281830esac
     1831
     1832# Check whether --enable-doscompile or --disable-doscompile was given.
     1833if test "${enable_doscompile+set}" = set; then
     1834  enableval="$enable_doscompile"
     1835  if test "$enable_doscompile = yes"; then
     1836  case $build in
     1837    *-cygwin*) ;;
     1838    *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes only sense under Cygwin" >&5
     1839echo "$as_me: error: --enable-doscompile option makes only sense under Cygwin" >&2;}
     1840   { (exit 1); exit 1; }; } ;;
     1841  esac
     1842fi
     1843else
     1844  enable_doscompile=no
     1845fi;
     1846
    18291847
    18301848
     
    26082626        coin_dbg_cflags="-g"
    26092627        coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall"
    2610 
    2611         case $build in
    2612           *-cygwin*)
    2613             CFLAGS="-mno-cygwin"
    2614             cat >conftest.$ac_ext <<_ACEOF
     2628        if test "$enable_doscompile" = yes; then
     2629          case $build in
     2630            *-cygwin*)
     2631              CFLAGS="-mno-cygwin"
     2632              cat >conftest.$ac_ext <<_ACEOF
    26152633/* confdefs.h.  */
    26162634_ACEOF
     
    26572675rm -f conftest.err conftest.$ac_objext \
    26582676      conftest$ac_exeext conftest.$ac_ext
    2659             CFLAGS=
    2660           ;;
    2661         esac
    2662         ;;
     2677              CFLAGS=
     2678            ;;
     2679          esac
     2680        fi
    26632681    esac
    26642682  fi
     
    29843002
    29853003 #Let's try if that overcomes configuration problem with VC++ 6.0
     3004
    29863005ac_ext=cc
    29873006ac_cpp='$CXXCPP $CPPFLAGS'
     
    33923411        coin_dbg_cxxflags="-g"
    33933412        coin_warn_cxxflags="-pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion"
    3394 
    3395         case $build in
    3396           *-cygwin*)
    3397             CXXFLAGS="-mno-cygwin"
    3398             cat >conftest.$ac_ext <<_ACEOF
     3413        if test "$enable_doscompile" = yes; then
     3414          case $build in
     3415            *-cygwin*)
     3416              CXXFLAGS="-mno-cygwin"
     3417              cat >conftest.$ac_ext <<_ACEOF
    33993418/* confdefs.h.  */
    34003419_ACEOF
     
    34413460rm -f conftest.err conftest.$ac_objext \
    34423461      conftest$ac_exeext conftest.$ac_ext
    3443             CXXFLAGS=
    3444             ;;
    3445         esac
    3446         ;;
     3462              CXXFLAGS=
     3463              ;;
     3464          esac
     3465        fi
    34473466    esac
    34483467  fi
     
    47824801*-*-irix6*)
    47834802  # Find out which ABI we are using.
    4784   echo '#line 4784 "configure"' > conftest.$ac_ext
     4803  echo '#line 4803 "configure"' > conftest.$ac_ext
    47854804  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    47864805  (eval $ac_compile) 2>&5
     
    59165935
    59175936# Provide some information about the compiler.
    5918 echo "$as_me:5918:" \
     5937echo "$as_me:5937:" \
    59195938     "checking for Fortran 77 compiler version" >&5
    59205939ac_compiler=`set X $ac_compile; echo $2`
     
    69837002   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    69847003   -e 's:$: $lt_compiler_flag:'`
    6985    (eval echo "\"\$as_me:6985: $lt_compile\"" >&5)
     7004   (eval echo "\"\$as_me:7004: $lt_compile\"" >&5)
    69867005   (eval "$lt_compile" 2>conftest.err)
    69877006   ac_status=$?
    69887007   cat conftest.err >&5
    6989    echo "$as_me:6989: \$? = $ac_status" >&5
     7008   echo "$as_me:7008: \$? = $ac_status" >&5
    69907009   if (exit $ac_status) && test -s "$ac_outfile"; then
    69917010     # The compiler can only warn and ignore the option if not recognized
     
    72517270   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    72527271   -e 's:$: $lt_compiler_flag:'`
    7253    (eval echo "\"\$as_me:7253: $lt_compile\"" >&5)
     7272   (eval echo "\"\$as_me:7272: $lt_compile\"" >&5)
    72547273   (eval "$lt_compile" 2>conftest.err)
    72557274   ac_status=$?
    72567275   cat conftest.err >&5
    7257    echo "$as_me:7257: \$? = $ac_status" >&5
     7276   echo "$as_me:7276: \$? = $ac_status" >&5
    72587277   if (exit $ac_status) && test -s "$ac_outfile"; then
    72597278     # The compiler can only warn and ignore the option if not recognized
     
    73557374   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    73567375   -e 's:$: $lt_compiler_flag:'`
    7357    (eval echo "\"\$as_me:7357: $lt_compile\"" >&5)
     7376   (eval echo "\"\$as_me:7376: $lt_compile\"" >&5)
    73587377   (eval "$lt_compile" 2>out/conftest.err)
    73597378   ac_status=$?
    73607379   cat out/conftest.err >&5
    7361    echo "$as_me:7361: \$? = $ac_status" >&5
     7380   echo "$as_me:7380: \$? = $ac_status" >&5
    73627381   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    73637382   then
     
    97009719  lt_status=$lt_dlunknown
    97019720  cat > conftest.$ac_ext <<EOF
    9702 #line 9702 "configure"
     9721#line 9721 "configure"
    97039722#include "confdefs.h"
    97049723
     
    98009819  lt_status=$lt_dlunknown
    98019820  cat > conftest.$ac_ext <<EOF
    9802 #line 9802 "configure"
     9821#line 9821 "configure"
    98039822#include "confdefs.h"
    98049823
     
    1214412163   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1214512164   -e 's:$: $lt_compiler_flag:'`
    12146    (eval echo "\"\$as_me:12146: $lt_compile\"" >&5)
     12165   (eval echo "\"\$as_me:12165: $lt_compile\"" >&5)
    1214712166   (eval "$lt_compile" 2>conftest.err)
    1214812167   ac_status=$?
    1214912168   cat conftest.err >&5
    12150    echo "$as_me:12150: \$? = $ac_status" >&5
     12169   echo "$as_me:12169: \$? = $ac_status" >&5
    1215112170   if (exit $ac_status) && test -s "$ac_outfile"; then
    1215212171     # The compiler can only warn and ignore the option if not recognized
     
    1224812267   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1224912268   -e 's:$: $lt_compiler_flag:'`
    12250    (eval echo "\"\$as_me:12250: $lt_compile\"" >&5)
     12269   (eval echo "\"\$as_me:12269: $lt_compile\"" >&5)
    1225112270   (eval "$lt_compile" 2>out/conftest.err)
    1225212271   ac_status=$?
    1225312272   cat out/conftest.err >&5
    12254    echo "$as_me:12254: \$? = $ac_status" >&5
     12273   echo "$as_me:12273: \$? = $ac_status" >&5
    1225512274   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1225612275   then
     
    1381813837   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1381913838   -e 's:$: $lt_compiler_flag:'`
    13820    (eval echo "\"\$as_me:13820: $lt_compile\"" >&5)
     13839   (eval echo "\"\$as_me:13839: $lt_compile\"" >&5)
    1382113840   (eval "$lt_compile" 2>conftest.err)
    1382213841   ac_status=$?
    1382313842   cat conftest.err >&5
    13824    echo "$as_me:13824: \$? = $ac_status" >&5
     13843   echo "$as_me:13843: \$? = $ac_status" >&5
    1382513844   if (exit $ac_status) && test -s "$ac_outfile"; then
    1382613845     # The compiler can only warn and ignore the option if not recognized
     
    1392213941   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1392313942   -e 's:$: $lt_compiler_flag:'`
    13924    (eval echo "\"\$as_me:13924: $lt_compile\"" >&5)
     13943   (eval echo "\"\$as_me:13943: $lt_compile\"" >&5)
    1392513944   (eval "$lt_compile" 2>out/conftest.err)
    1392613945   ac_status=$?
    1392713946   cat out/conftest.err >&5
    13928    echo "$as_me:13928: \$? = $ac_status" >&5
     13947   echo "$as_me:13947: \$? = $ac_status" >&5
    1392913948   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1393013949   then
     
    1612916148   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1613016149   -e 's:$: $lt_compiler_flag:'`
    16131    (eval echo "\"\$as_me:16131: $lt_compile\"" >&5)
     16150   (eval echo "\"\$as_me:16150: $lt_compile\"" >&5)
    1613216151   (eval "$lt_compile" 2>conftest.err)
    1613316152   ac_status=$?
    1613416153   cat conftest.err >&5
    16135    echo "$as_me:16135: \$? = $ac_status" >&5
     16154   echo "$as_me:16154: \$? = $ac_status" >&5
    1613616155   if (exit $ac_status) && test -s "$ac_outfile"; then
    1613716156     # The compiler can only warn and ignore the option if not recognized
     
    1639716416   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1639816417   -e 's:$: $lt_compiler_flag:'`
    16399    (eval echo "\"\$as_me:16399: $lt_compile\"" >&5)
     16418   (eval echo "\"\$as_me:16418: $lt_compile\"" >&5)
    1640016419   (eval "$lt_compile" 2>conftest.err)
    1640116420   ac_status=$?
    1640216421   cat conftest.err >&5
    16403    echo "$as_me:16403: \$? = $ac_status" >&5
     16422   echo "$as_me:16422: \$? = $ac_status" >&5
    1640416423   if (exit $ac_status) && test -s "$ac_outfile"; then
    1640516424     # The compiler can only warn and ignore the option if not recognized
     
    1650116520   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1650216521   -e 's:$: $lt_compiler_flag:'`
    16503    (eval echo "\"\$as_me:16503: $lt_compile\"" >&5)
     16522   (eval echo "\"\$as_me:16522: $lt_compile\"" >&5)
    1650416523   (eval "$lt_compile" 2>out/conftest.err)
    1650516524   ac_status=$?
    1650616525   cat out/conftest.err >&5
    16507    echo "$as_me:16507: \$? = $ac_status" >&5
     16526   echo "$as_me:16526: \$? = $ac_status" >&5
    1650816527   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1650916528   then
Note: See TracChangeset for help on using the changeset viewer.