Changeset 11529 for trunk/ppStac
- Timestamp:
- Jan 31, 2007, 5:27:51 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppStac/configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStac/configure.ac
r11116 r11529 8 8 AM_MAINTAINER_MODE 9 9 10 IPP_STDOPTS 11 10 12 AC_LANG(C) 11 13 AC_GNU_SOURCE … … 13 15 AC_PROG_INSTALL 14 16 AC_PROG_LIBTOOL 15 16 dnl enable largefile supports17 17 AC_SYS_LARGEFILE 18 18 19 dnl handle debug building20 AC_ARG_ENABLE(optimize,21 [AS_HELP_STRING(--enable-optimize,enable compiler optimization)],22 [AC_MSG_RESULT(compile optimization enabled)23 CFLAGS="${CFLAGS=} -O2"],24 [AC_MSG_RESULT([compile optimization disabled])25 CFLAGS="${CFLAGS=} -O0 -g"]26 )27 28 dnl ppStac_CFLAGS="-Wall -Werror -std=c99"29 CFLAGS="${CFLAGS=} -Wall -Werror -std=c99"30 31 dnl handle path coverage checking32 AC_ARG_ENABLE(coverage,33 [AS_HELP_STRING(--enable-coverage,enable path coverage checking)],34 [AC_MSG_RESULT(path coverage enabled)35 CFLAGS="${CFLAGS=} -fprofile-arcs -ftest-coverage -pg"]36 )37 38 19 PKG_CHECK_MODULES([PSLIB], [pslib >= 0.12.99]) 39 20 PKG_CHECK_MODULES([PSMODULE], [psmodules >= 0.12.99]) 40 21 41 dnl handle profiler building 42 AC_ARG_ENABLE(profile, 43 [AS_HELP_STRING(--enable-profile,enable compiler profiler information inclusion)], 44 [AC_MSG_RESULT(compile optimization enabled) 45 CFLAGS="${CFLAGS=} -g -pg" 46 LDFLAGS="${LDFLAGS=} -pg -Wl,--start-group -Wl,-Bstatic"] 47 ) 48 22 CFLAGS="${CFLAGS=} -Wall -Werror -std=c99" 23 49 24 AC_CONFIG_FILES([ 50 25 Makefile
Note:
See TracChangeset
for help on using the changeset viewer.
