Changeset 10540 for trunk/ppStats/configure.ac
- Timestamp:
- Dec 7, 2006, 3:04:45 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppStats/configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStats/configure.ac
r8750 r10540 26 26 ) 27 27 28 ppStats_CFLAGS="-Wall -Werror -std=c99"29 ppStats_LDFLAGS=""28 dnl ppStats_CFLAGS="-Wall -Werror -std=c99" 29 CFLAGS="${CFLAGS=} -Wall -Werror -std=c99" 30 30 31 dnl handle debug building32 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 40 31 dnl handle path coverage checking 41 32 AC_ARG_ENABLE(coverage, … … 52 43 [AS_HELP_STRING(--enable-profile,enable compiler profiler information inclusion)], 53 44 [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"] 56 47 ) 57 48 58 AC_SUBST([ppStats_CFLAGS])59 AC_SUBST([ppStats_LDFLAGS])60 61 49 AC_CONFIG_FILES([ 62 50 Makefile
Note:
See TracChangeset
for help on using the changeset viewer.
