Index: trunk/ppStats/configure.ac
===================================================================
--- trunk/ppStats/configure.ac	(revision 8750)
+++ trunk/ppStats/configure.ac	(revision 10540)
@@ -26,16 +26,7 @@
 )
 
-ppStats_CFLAGS="-Wall -Werror -std=c99"
-ppStats_LDFLAGS=""
+dnl ppStats_CFLAGS="-Wall -Werror -std=c99"
+CFLAGS="${CFLAGS=} -Wall -Werror -std=c99"
                                                                                 
-dnl handle debug building
-AC_ARG_ENABLE(optimize,
-  [AS_HELP_STRING(--enable-optimize,enable compiler optimization)],
-  [AC_MSG_RESULT(compile optimization enabled)
-   CFLAGS="${CFLAGS=} -O2"],
-  [AC_MSG_RESULT([compile optimization disabled])
-   CFLAGS="${CFLAGS=} -O0 -g"]
-)
- 
 dnl handle path coverage checking
 AC_ARG_ENABLE(coverage,
@@ -52,11 +43,8 @@
   [AS_HELP_STRING(--enable-profile,enable compiler profiler information inclusion)],
   [AC_MSG_RESULT(compile optimization enabled)
-  ppStats_CFLAGS="${ppStats_CFLAGS} -g -pg"
-  ppStats_LDFLAGS="${ppStats_LDFLAGS} -pg -Wl,--start-group -Wl,-Bstatic"]
+  CFLAGS="${CFLAGS=} -g -pg"
+  LDFLAGS="${LDFLAGS=} -pg -Wl,--start-group -Wl,-Bstatic"]
   )
    
-AC_SUBST([ppStats_CFLAGS])
-AC_SUBST([ppStats_LDFLAGS])
-
 AC_CONFIG_FILES([
   Makefile
