Changeset 2627


Ignore:
Timestamp:
Jul 12, 2019 8:21:16 PM (3 months ago)
Author:
lou
Message:

Collateral damage from adding --enable-debug to BuildTools?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/autotools-update/Cbc/configure

    r2614 r2627  
    880880enable_option_checking
    881881enable_msvc
     882enable_debug
    882883enable_silent_rules
    883884enable_maintainer_mode
     
    15891590  --enable-msvc           Allow only Intel/Microsoft compilers on
    15901591                          MinGW/MSys/Cygwin.
     1592  --enable-debug          Build with debugging symbols.
    15911593  --enable-silent-rules   less verbose build output (undo: "make V=1")
    15921594  --disable-silent-rules  verbose build output (undo: "make V=0")
     
    27402742
    27412743
    2742 # We want --enable-msvc setup and checked
     2744  # Check whether --enable-debug was given.
     2745if test "${enable_debug+set}" = set; then :
     2746  enableval=$enable_debug; enable_debug=$enableval
     2747else
     2748  enable_debug=no
     2749fi
     2750
     2751
     2752
     2753# We want --enable-msvc setup and checked. Also --enable-debug
     2754
    27432755
    27442756
     
    27662778    : ${FFLAGS:=""}
    27672779    : ${FCFLAGS:=""}
    2768     : ${CFLAGS:="-DNDEBUG"}
    2769     : ${CXXFLAGS:="-DNDEBUG"}
     2780    if test "$enable_debug" = yes ; then
     2781      : ${CFLAGS:="-g"}
     2782      : ${CXXFLAGS:="-g"}
     2783    else
     2784      : ${CFLAGS:="-DNDEBUG"}
     2785      : ${CXXFLAGS:="-DNDEBUG"}
     2786    fi
    27702787  fi
    27712788
Note: See TracChangeset for help on using the changeset viewer.