-COMMMON_CFLAGS="-pipe -Wall -Werror -std=gnu99 -pedantic -Wno-unused-variable -Wno-unused-label -Wno-unused-parameter -Wno-unused-value -Wno-unused-function -march=native -mfpmath=sse -msse -mmmx -msse2 -msse3 -mssse3 -ftracer -fbranch-target-load-optimize"
-if test "x$debug" = "xtrue"; then
- CFLAGS="$COMMMON_CFLAGS -O0 -g3"
-else
- CFLAGS="$COMMMON_CFLAGS -O3 -frename-registers "
-fi
-dnl CPPFLAGS=
-
-AC_ARG_ENABLE([mudflap],
-[ --enable-mudflap Turn on mudflap, which debugs pointer use (verbosely)],
-[case "${enableval}" in
- yes) mudflap=true ;;
- no) mudflap=false ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-mudflap]) ;;
-esac],[mudflap=false])
-AM_CONDITIONAL([MUDFLAP], [test x$mudflap = xtrue])
-if test "x$mudflap" = "xtrue"; then
- CFLAGS="$CFLAGS -fmudflap -lmudflap"
-fi
-
-AC_ARG_ENABLE([profiling],
-[ --enable-profiling Turn on profiling],
-[case "${enableval}" in
- yes) profiling=true ;;
- no) profiling=false ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-profiling]) ;;
-esac],[profiling=false])
-AM_CONDITIONAL([PROFILING], [test x$profiling = xtrue])
-if test "x$profiling" = "xtrue"; then
- CFLAGS="$CFLAGS -pg -fprofile-generate"
-fi
-
-AC_ARG_ENABLE([openmpi],
-[ --enable-openmpi Turn on OpenMPI support],