Changeset 96 for trunk/configure


Ignore:
Timestamp:
Feb 26, 2010 8:28:55 AM (10 years ago)
Author:
awalther
Message:

fix promised handling of compiler flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r89 r96  
    30033003elif test $ac_cv_prog_cxx_g = yes; then
    30043004  if test "$GXX" = yes; then
    3005     CXXFLAGS="-g -O2"
     3005    CXXFLAGS=" "
    30063006  else
    3007     CXXFLAGS="-g"
     3007    CXXFLAGS=" "
    30083008  fi
    30093009else
    30103010  if test "$GXX" = yes; then
    3011     CXXFLAGS="-O2"
     3011    CXXFLAGS=" "
    30123012  else
    30133013    CXXFLAGS=
     
    37313731elif test $ac_cv_prog_cc_g = yes; then
    37323732  if test "$GCC" = yes; then
    3733     CFLAGS="-g -O2"
     3733    CFLAGS=" "
    37343734  else
    3735     CFLAGS="-g"
     3735    CFLAGS=" "
    37363736  fi
    37373737else
    37383738  if test "$GCC" = yes; then
    3739     CFLAGS="-O2"
     3739    CFLAGS=" "
    37403740  else
    37413741    CFLAGS=
     
    65556555elif test $ac_cv_prog_f77_g = yes; then
    65566556  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    6557     FFLAGS="-g -O2"
     6557    FFLAGS=" "
    65586558  else
    6559     FFLAGS="-g"
     6559    FFLAGS=" "
    65606560  fi
    65616561else
    65626562  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    6563     FFLAGS="-O2"
     6563    FFLAGS=" "
    65646564  else
    65656565    FFLAGS=
Note: See TracChangeset for help on using the changeset viewer.