projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r144: Initial CVS import
[ctsim.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index 20cc06498eb751008de0e1040a56d0a579d5f1fb..e3ea013d03db779b9419bfdfa1b05f46779242a3 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-12,7
+12,7
@@
AC_PROG_AWK
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_RANLIB
-AC_PROG_CC
([-g])
+AC_PROG_CC
AC_PROG_CXX
AC_PROG_CXX
@@
-114,7
+114,6
@@
if test "${getopt_long}" = "false" ; then
AM_CONDITIONAL(INCLUDED_GETOPT_LONG, test 1==1)
fi
AM_CONDITIONAL(INCLUDED_GETOPT_LONG, test 1==1)
fi
-
AC_ADD_GCC_CFLAGS([-Wall])
AC_MSG_CHECKING(whether to enable verbose warnings)
AC_ARG_ENABLE(verbose-warnings,
AC_ADD_GCC_CFLAGS([-Wall])
AC_MSG_CHECKING(whether to enable verbose warnings)
AC_ARG_ENABLE(verbose-warnings,
@@
-155,10
+154,10
@@
esac],
AM_CONDITIONAL(DEBUG, test "$debug" = "true")
if test "$debug" = "true" ; then
AM_CONDITIONAL(DEBUG, test "$debug" = "true")
if test "$debug" = "true" ; then
- CFLAGS="-g -DDEBUG"
+ AC_ADD_GCC_CFLAGS([-g -DDEBUG])
AC_DEFINE(DEBUG)
else
AC_DEFINE(DEBUG)
else
- CFLAGS="-g -O3 -DNDEBUG"
+ AC_ADD_GCC_CFLAGS([-g -O3 -DNDEBUG --fast-math])
AC_DEFINE(NDEBUG)
fi
AC_DEFINE(NDEBUG)
fi