Changeset 3670 for ThirdParty/Glpk


Ignore:
Timestamp:
Sep 7, 2016 6:28:55 AM (3 years ago)
Author:
stefan
Message:

rerun autotools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Glpk/branches/autotools-update/configure

    r3668 r3670  
    771771ac_user_opts='
    772772enable_option_checking
     773enable_msvc
    773774enable_silent_rules
    774775enable_maintainer_mode
     
    14141415  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    14151416  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     1417  --enable-msvc           Allow only Intel/Microsoft compilers on
     1418                          MinGW/MSys/Cygwin.
    14161419  --enable-silent-rules   less verbose build output (undo: "make V=1")
    14171420  --disable-silent-rules  verbose build output (undo: "make V=0")
     
    22542257# Do some generic initialization work.
    22552258
    2256 # change default compiler flags (should we have an enable-debug again?)
    2257 # - some compilers doesn't understand -g
    2258 # - set -DNDEBUG for C/C++ code
    2259 : ${FFLAGS:=""}
    2260 : ${FCFLAGS:=""}
    2261 : ${CFLAGS:="-DNDEBUG"}
    2262 : ${CXXFLAGS:="-DNDEBUG"}
     2259  # Check whether --enable-msvc was given.
     2260if test "${enable_msvc+set}" = set; then :
     2261  enableval=$enable_msvc; enable_msvc=$enableval
     2262else
     2263  enable_msvc=no
     2264fi
     2265
     2266
     2267  if test "$enable_msvc" = yes; then
     2268    case $build in
     2269      *-cygwin* | *-mingw* | *-msys*) ;;
     2270      *) as_fn_error $? "--enable-msvc option makes sense only under Cygwin or MinGW or MSys" "$LINENO" 5 ;;
     2271    esac
     2272  fi
     2273
     2274
     2275# we want --enable-msvc setup and checked
     2276
     2277
     2278# this macro should run before the compiler checks (doesn't seem to be sufficient for CFLAGS)
     2279
     2280
     2281
     2282
     2283
     2284# change default compiler flags (TODO bring back --enable-debug)
     2285# - disable debugging (remove -g, set -DNDEBUG)
     2286# - enable exceptions for (i)cl
     2287if test "$enable_msvc" = yes ; then
     2288  : ${FFLAGS:=""}
     2289  : ${FCFLAGS:=""}
     2290  : ${CFLAGS:="-DNDEBUG -EHsc"}
     2291  : ${CXXFLAGS:="-DNDEBUG -EHsc"}
     2292else
     2293  : ${FFLAGS:=""}
     2294  : ${FCFLAGS:=""}
     2295  : ${CFLAGS:="-DNDEBUG"}
     2296  : ${CXXFLAGS:="-DNDEBUG"}
     2297fi
    22632298
    22642299ac_aux_dir=
     
    75647599
    75657600
    7566 
    7567 
    75687601# required autoconf version
    75697602
     
    76777710# of the directory where configure is run.  The default would be
    76787711# /usr/local.
     7712
     7713
     7714# change default compiler flags; this needs to run very early (before AC_CANONICAL_BUILD)
    76797715
    76807716
Note: See TracChangeset for help on using the changeset viewer.