IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 7, 2006, 3:04:45 PM (20 years ago)
Author:
jhoblitt
Message:

remove the dangerous use of ppStats_CFLAGS & ppStats_LDFLAGS as a) they conflict with the automake/libtoolized names for the ppStats binary and b) they were used for optimization flags only and we don't want other packages to inherit those

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/configure.ac

    r8750 r10540  
    2626)
    2727
    28 ppStats_CFLAGS="-Wall -Werror -std=c99"
    29 ppStats_LDFLAGS=""
     28dnl ppStats_CFLAGS="-Wall -Werror -std=c99"
     29CFLAGS="${CFLAGS=} -Wall -Werror -std=c99"
    3030                                                                               
    31 dnl handle debug building
    32 AC_ARG_ENABLE(optimize,
    33   [AS_HELP_STRING(--enable-optimize,enable compiler optimization)],
    34   [AC_MSG_RESULT(compile optimization enabled)
    35    CFLAGS="${CFLAGS=} -O2"],
    36   [AC_MSG_RESULT([compile optimization disabled])
    37    CFLAGS="${CFLAGS=} -O0 -g"]
    38 )
    39  
    4031dnl handle path coverage checking
    4132AC_ARG_ENABLE(coverage,
     
    5243  [AS_HELP_STRING(--enable-profile,enable compiler profiler information inclusion)],
    5344  [AC_MSG_RESULT(compile optimization enabled)
    54   ppStats_CFLAGS="${ppStats_CFLAGS} -g -pg"
    55   ppStats_LDFLAGS="${ppStats_LDFLAGS} -pg -Wl,--start-group -Wl,-Bstatic"]
     45  CFLAGS="${CFLAGS=} -g -pg"
     46  LDFLAGS="${LDFLAGS=} -pg -Wl,--start-group -Wl,-Bstatic"]
    5647  )
    5748   
    58 AC_SUBST([ppStats_CFLAGS])
    59 AC_SUBST([ppStats_LDFLAGS])
    60 
    6149AC_CONFIG_FILES([
    6250  Makefile
Note: See TracChangeset for help on using the changeset viewer.