Index: /trunk/psastro/configure.ac
===================================================================
--- /trunk/psastro/configure.ac	(revision 11508)
+++ /trunk/psastro/configure.ac	(revision 11509)
@@ -9,9 +9,5 @@
 AM_MAINTAINER_MODE
 
-dnl otherwise AC_PROG_CC will default CFLAGS to "-g -02"
-if test -z ${CFLAGS} ; then
-  CFLAGS=""
-fi
-AC_SUBST([CFLAGS])
+IPP_STDOPS
 
 AC_LANG(C)
@@ -20,27 +16,5 @@
 AC_PROG_INSTALL
 AC_PROG_LIBTOOL
-
-dnl enable largefile supports
 AC_SYS_LARGEFILE
-
-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 -g"],
-  [AC_MSG_RESULT([compile optimization disabled])
-    if test x"${CFLAGS}" == x; then
-      CFLAGS="-O0 -g"
-    fi
-  ]
-)
-
-dnl handle profiler building
-AC_ARG_ENABLE(profile,
-  [AS_HELP_STRING(--enable-profile,enable compiler profiler information inclusion)],
-  [AC_MSG_RESULT(compile optimization enabled)
-   CFLAGS="${CFLAGS=} -pg -g"
-   LDFLAGS="${LDFLAGS=} -pg"]
-)
 
 dnl turn off trace messages
@@ -220,5 +194,5 @@
 
 dnl Set CFLAGS for build
-CFLAGS="${CFLAGS} -Wall -Werror -std=c99"
+CFLAGS="${CFLAGS=} -Wall -Werror -std=c99"
 echo "PSASTRO_CFLAGS: $PSASTRO_CFLAGS"
 echo "PSASTRO_LIBS: $PSASTRO_LIBS"
