Ignore:
Timestamp:
Oct 20, 2006 12:12:17 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/0.1/Bonmin/configure

    r13 r77  
    10761076  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    10771077  --enable-debug          compile all projects with debug options tests
     1078  --enable-doscompile     Under Cygwin, compile so that executables run under
     1079                          DOS (default: disabled)
    10781080  --enable-static[=PKGS]
    10791081                          build static libraries [default=no]
     
    17751777    ;;
    17761778esac
     1779
     1780# Check whether --enable-doscompile or --disable-doscompile was given.
     1781if test "${enable_doscompile+set}" = set; then
     1782  enableval="$enable_doscompile"
     1783  if test "$enable_doscompile = yes"; then
     1784  case $build in
     1785    *-cygwin*) ;;
     1786    *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes only sense under Cygwin" >&5
     1787echo "$as_me: error: --enable-doscompile option makes only sense under Cygwin" >&2;}
     1788   { (exit 1); exit 1; }; } ;;
     1789  esac
     1790fi
     1791else
     1792  enable_doscompile=no
     1793fi;
     1794
    17771795
    17781796
     
    25562574        coin_dbg_cflags="-g"
    25572575        coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall"
    2558 
    2559         case $build in
    2560           *-cygwin*)
    2561             CFLAGS="-mno-cygwin"
    2562             cat >conftest.$ac_ext <<_ACEOF
     2576        if test "$enable_doscompile" = yes; then
     2577          case $build in
     2578            *-cygwin*)
     2579              CFLAGS="-mno-cygwin"
     2580              cat >conftest.$ac_ext <<_ACEOF
    25632581/* confdefs.h.  */
    25642582_ACEOF
     
    26052623rm -f conftest.err conftest.$ac_objext \
    26062624      conftest$ac_exeext conftest.$ac_ext
    2607             CFLAGS=
    2608           ;;
    2609         esac
    2610         ;;
     2625              CFLAGS=
     2626            ;;
     2627          esac
     2628        fi
    26112629    esac
    26122630  fi
     
    29322950
    29332951 #Let's try if that overcomes configuration problem with VC++ 6.0
     2952
    29342953ac_ext=cc
    29352954ac_cpp='$CXXCPP $CPPFLAGS'
     
    33403359        coin_dbg_cxxflags="-g"
    33413360        coin_warn_cxxflags="-pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion"
    3342 
    3343         case $build in
    3344           *-cygwin*)
    3345             CXXFLAGS="-mno-cygwin"
    3346             cat >conftest.$ac_ext <<_ACEOF
     3361        if test "$enable_doscompile" = yes; then
     3362          case $build in
     3363            *-cygwin*)
     3364              CXXFLAGS="-mno-cygwin"
     3365              cat >conftest.$ac_ext <<_ACEOF
    33473366/* confdefs.h.  */
    33483367_ACEOF
     
    33893408rm -f conftest.err conftest.$ac_objext \
    33903409      conftest$ac_exeext conftest.$ac_ext
    3391             CXXFLAGS=
    3392             ;;
    3393         esac
    3394         ;;
     3410              CXXFLAGS=
     3411              ;;
     3412          esac
     3413        fi
    33953414    esac
    33963415  fi
     
    47304749*-*-irix6*)
    47314750  # Find out which ABI we are using.
    4732   echo '#line 4732 "configure"' > conftest.$ac_ext
     4751  echo '#line 4751 "configure"' > conftest.$ac_ext
    47334752  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    47344753  (eval $ac_compile) 2>&5
     
    58645883
    58655884# Provide some information about the compiler.
    5866 echo "$as_me:5866:" \
     5885echo "$as_me:5885:" \
    58675886     "checking for Fortran 77 compiler version" >&5
    58685887ac_compiler=`set X $ac_compile; echo $2`
     
    69316950   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    69326951   -e 's:$: $lt_compiler_flag:'`
    6933    (eval echo "\"\$as_me:6933: $lt_compile\"" >&5)
     6952   (eval echo "\"\$as_me:6952: $lt_compile\"" >&5)
    69346953   (eval "$lt_compile" 2>conftest.err)
    69356954   ac_status=$?
    69366955   cat conftest.err >&5
    6937    echo "$as_me:6937: \$? = $ac_status" >&5
     6956   echo "$as_me:6956: \$? = $ac_status" >&5
    69386957   if (exit $ac_status) && test -s "$ac_outfile"; then
    69396958     # The compiler can only warn and ignore the option if not recognized
     
    71997218   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    72007219   -e 's:$: $lt_compiler_flag:'`
    7201    (eval echo "\"\$as_me:7201: $lt_compile\"" >&5)
     7220   (eval echo "\"\$as_me:7220: $lt_compile\"" >&5)
    72027221   (eval "$lt_compile" 2>conftest.err)
    72037222   ac_status=$?
    72047223   cat conftest.err >&5
    7205    echo "$as_me:7205: \$? = $ac_status" >&5
     7224   echo "$as_me:7224: \$? = $ac_status" >&5
    72067225   if (exit $ac_status) && test -s "$ac_outfile"; then
    72077226     # The compiler can only warn and ignore the option if not recognized
     
    73037322   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    73047323   -e 's:$: $lt_compiler_flag:'`
    7305    (eval echo "\"\$as_me:7305: $lt_compile\"" >&5)
     7324   (eval echo "\"\$as_me:7324: $lt_compile\"" >&5)
    73067325   (eval "$lt_compile" 2>out/conftest.err)
    73077326   ac_status=$?
    73087327   cat out/conftest.err >&5
    7309    echo "$as_me:7309: \$? = $ac_status" >&5
     7328   echo "$as_me:7328: \$? = $ac_status" >&5
    73107329   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    73117330   then
     
    96489667  lt_status=$lt_dlunknown
    96499668  cat > conftest.$ac_ext <<EOF
    9650 #line 9650 "configure"
     9669#line 9669 "configure"
    96519670#include "confdefs.h"
    96529671
     
    97489767  lt_status=$lt_dlunknown
    97499768  cat > conftest.$ac_ext <<EOF
    9750 #line 9750 "configure"
     9769#line 9769 "configure"
    97519770#include "confdefs.h"
    97529771
     
    1209212111   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1209312112   -e 's:$: $lt_compiler_flag:'`
    12094    (eval echo "\"\$as_me:12094: $lt_compile\"" >&5)
     12113   (eval echo "\"\$as_me:12113: $lt_compile\"" >&5)
    1209512114   (eval "$lt_compile" 2>conftest.err)
    1209612115   ac_status=$?
    1209712116   cat conftest.err >&5
    12098    echo "$as_me:12098: \$? = $ac_status" >&5
     12117   echo "$as_me:12117: \$? = $ac_status" >&5
    1209912118   if (exit $ac_status) && test -s "$ac_outfile"; then
    1210012119     # The compiler can only warn and ignore the option if not recognized
     
    1219612215   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1219712216   -e 's:$: $lt_compiler_flag:'`
    12198    (eval echo "\"\$as_me:12198: $lt_compile\"" >&5)
     12217   (eval echo "\"\$as_me:12217: $lt_compile\"" >&5)
    1219912218   (eval "$lt_compile" 2>out/conftest.err)
    1220012219   ac_status=$?
    1220112220   cat out/conftest.err >&5
    12202    echo "$as_me:12202: \$? = $ac_status" >&5
     12221   echo "$as_me:12221: \$? = $ac_status" >&5
    1220312222   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1220412223   then
     
    1376613785   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1376713786   -e 's:$: $lt_compiler_flag:'`
    13768    (eval echo "\"\$as_me:13768: $lt_compile\"" >&5)
     13787   (eval echo "\"\$as_me:13787: $lt_compile\"" >&5)
    1376913788   (eval "$lt_compile" 2>conftest.err)
    1377013789   ac_status=$?
    1377113790   cat conftest.err >&5
    13772    echo "$as_me:13772: \$? = $ac_status" >&5
     13791   echo "$as_me:13791: \$? = $ac_status" >&5
    1377313792   if (exit $ac_status) && test -s "$ac_outfile"; then
    1377413793     # The compiler can only warn and ignore the option if not recognized
     
    1387013889   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1387113890   -e 's:$: $lt_compiler_flag:'`
    13872    (eval echo "\"\$as_me:13872: $lt_compile\"" >&5)
     13891   (eval echo "\"\$as_me:13891: $lt_compile\"" >&5)
    1387313892   (eval "$lt_compile" 2>out/conftest.err)
    1387413893   ac_status=$?
    1387513894   cat out/conftest.err >&5
    13876    echo "$as_me:13876: \$? = $ac_status" >&5
     13895   echo "$as_me:13895: \$? = $ac_status" >&5
    1387713896   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1387813897   then
     
    1607716096   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1607816097   -e 's:$: $lt_compiler_flag:'`
    16079    (eval echo "\"\$as_me:16079: $lt_compile\"" >&5)
     16098   (eval echo "\"\$as_me:16098: $lt_compile\"" >&5)
    1608016099   (eval "$lt_compile" 2>conftest.err)
    1608116100   ac_status=$?
    1608216101   cat conftest.err >&5
    16083    echo "$as_me:16083: \$? = $ac_status" >&5
     16102   echo "$as_me:16102: \$? = $ac_status" >&5
    1608416103   if (exit $ac_status) && test -s "$ac_outfile"; then
    1608516104     # The compiler can only warn and ignore the option if not recognized
     
    1634516364   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1634616365   -e 's:$: $lt_compiler_flag:'`
    16347    (eval echo "\"\$as_me:16347: $lt_compile\"" >&5)
     16366   (eval echo "\"\$as_me:16366: $lt_compile\"" >&5)
    1634816367   (eval "$lt_compile" 2>conftest.err)
    1634916368   ac_status=$?
    1635016369   cat conftest.err >&5
    16351    echo "$as_me:16351: \$? = $ac_status" >&5
     16370   echo "$as_me:16370: \$? = $ac_status" >&5
    1635216371   if (exit $ac_status) && test -s "$ac_outfile"; then
    1635316372     # The compiler can only warn and ignore the option if not recognized
     
    1644916468   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1645016469   -e 's:$: $lt_compiler_flag:'`
    16451    (eval echo "\"\$as_me:16451: $lt_compile\"" >&5)
     16470   (eval echo "\"\$as_me:16470: $lt_compile\"" >&5)
    1645216471   (eval "$lt_compile" 2>out/conftest.err)
    1645316472   ac_status=$?
    1645416473   cat out/conftest.err >&5
    16455    echo "$as_me:16455: \$? = $ac_status" >&5
     16474   echo "$as_me:16474: \$? = $ac_status" >&5
    1645616475   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1645716476   then
Note: See TracChangeset for help on using the changeset viewer.