Changeset 7874
- Timestamp:
- Jul 11, 2006, 6:01:10 PM (20 years ago)
- Location:
- trunk/ppMerge
- Files:
-
- 2 edited
-
configure.ac (modified) (2 diffs)
-
src/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/configure.ac
r7068 r7874 14 14 dnl AC_PROG_LIBTOOL 15 15 16 ppMerge_CFLAGS="-Wall -Werror -std=c99" 17 ppMerge_LDFLAGS="" 18 16 19 dnl handle debug building 17 20 AC_ARG_ENABLE(optimize, … … 23 26 ) 24 27 28 dnl handle path coverage checking 29 AC_ARG_ENABLE(coverage, 30 [AS_HELP_STRING(--enable-coverage,enable path coverage checking)], 31 [AC_MSG_RESULT(path coverage enabled) 32 CFLAGS="${CFLAGS=} -fprofile-arcs -ftest-coverage -pg"] 33 ) 34 25 35 PKG_CHECK_MODULES([PSLIB], [pslib >= 0.9.0]) 26 36 PKG_CHECK_MODULES([PSMODULE], [psmodule >= 0.0.0]) 27 37 28 ppMerge_CFLAGS="-Wall -Werror -std=c99" 38 dnl handle profiler building 39 AC_ARG_ENABLE(profile, 40 [AS_HELP_STRING(--enable-profile,enable compiler profiler information inclusion)], 41 [AC_MSG_RESULT(compile optimization enabled) 42 ppMerge_CFLAGS="${ppMerge_CFLAGS} -g -pg" 43 ppMerge_LDFLAGS="${ppMerge_LDFLAGS} -pg -Wl,--start-group -Wl,-Bstatic"] 44 ) 45 29 46 AC_SUBST([ppMerge_CFLAGS]) 47 AC_SUBST([ppMerge_LDFLAGS]) 30 48 31 49 AC_CONFIG_FILES([ -
trunk/ppMerge/src/Makefile.am
r7263 r7874 2 2 3 3 ppMerge_CFLAGS += $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS) 4 ppMerge_LDFLAGS = $(PSMODULE_LIBS) $(PSLIB_LIBS) 5 ### For profiling: 6 #ppMerge_CFLAGS += -g -pg -fprofile-arcs $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS) 7 #ppMerge_LDFLAGS = -pg -Wl,--start-group -Wl,-Bstatic $(PSMODULE_LIBS) $(PSLIB_LIBS) -Wl,-Bdynamic 4 ppMerge_LDFLAGS += $(PSMODULE_LIBS) $(PSLIB_LIBS) -Wl,-Bdynamic 8 5 9 6 ppMerge_SOURCES = \
Note:
See TracChangeset
for help on using the changeset viewer.
