projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r4390: *** empty log message ***
[ctsim.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index e0fccd69c8ad1a50ca787b276f973b03da836823..e1927eb5b29a18ff0f86841884bd8ae1c8565b88 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-5,7
+5,8
@@
dnl CDPATH=
AC_INIT
AC_CONFIG_SRCDIR([src/ctsim.cpp])
AC_INIT
AC_CONFIG_SRCDIR([src/ctsim.cpp])
-AM_INIT_AUTOMAKE(ctsim,4.0.2)
+AM_MAINTAINER_MODE
+AM_INIT_AUTOMAKE(ctsim,4.2.4)
AM_CONFIG_HEADER(config.h)
dnl Checks for programs.
AM_CONFIG_HEADER(config.h)
dnl Checks for programs.
@@
-120,7
+121,7
@@
if test "$debug" = "true" ; then
CFLAGS="$CFLAGS -g -DDEBUG"
AC_DEFINE(DEBUG,1,[turn on debugging])
else
CFLAGS="$CFLAGS -g -DDEBUG"
AC_DEFINE(DEBUG,1,[turn on debugging])
else
- CFLAGS="$CFLAGS -O
3 -DNDEBUG -fomit-frame-pointer -funroll-loops
"
+ CFLAGS="$CFLAGS -O
2 -DNDEBUG -fomit-frame-pointer
"
AC_DEFINE(NDEBUG,1,[no debugging])
fi
AC_DEFINE(NDEBUG,1,[no debugging])
fi
@@
-246,7
+247,7
@@
AC_MSG_CHECKING([for CPU specification])
AC_ARG_WITH(mcpu,
[ --with-mcpu[=CPU] Set name of CPU for gcc -mcpu])
AC_ARG_WITH(mcpu,
[ --with-mcpu[=CPU] Set name of CPU for gcc -mcpu])
-if
[ "$withval" == "" ] || [ "$withval" == "no" ]
; then
+if
test "$withval" == "no" -o "$withval" == "yes" -o "$withval" == ""
; then
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([$withval])
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([$withval])