projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r47: *** empty log message ***
[ctsim.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index d2167b9dde7f6b539c5767b7bdb48012dce7c6cb..3586b1179d9866237827b313371c4678392bb1be 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-4,7
+4,7
@@
dnl Must reset CDPATH so that bash's cd does not print to stdout
dnl CDPATH=
AC_INIT(src/ctrec.c)
dnl CDPATH=
AC_INIT(src/ctrec.c)
-AM_INIT_AUTOMAKE(ctsim,0.5.2
-b5
)
+AM_INIT_AUTOMAKE(ctsim,0.5.2)
AM_CONFIG_HEADER(config.h)
dnl Checks for programs.
AM_CONFIG_HEADER(config.h)
dnl Checks for programs.
@@
-40,7
+40,7
@@
AC_STRUCT_TM
dnl Checks for library functions.
AC_FUNC_VPRINTF
dnl Checks for library functions.
AC_FUNC_VPRINTF
-AC_CHECK_FUNCS(strtod strtol)
+AC_CHECK_FUNCS(strtod strtol
snprintf
)
AC_CHECK_FUNC(basename)
AC_CHECK_FUNC(setjmp)
AC_CHECK_FUNC(getopt_long,
AC_CHECK_FUNC(basename)
AC_CHECK_FUNC(setjmp)
AC_CHECK_FUNC(getopt_long,
@@
-83,9
+83,14
@@
dnl Check for debug mode
AC_ARG_ENABLE(debug,
[ --enable-debug Turn on debugging],
[case "${enableval}" in
AC_ARG_ENABLE(debug,
[ --enable-debug Turn on debugging],
[case "${enableval}" in
- yes) debug=true ;;
- no) debug=false ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
+ yes) debug=true
+ CFLAGS="$CFLAGS -g"
+ ;;
+ no) debug=false
+ CFLAGS="$CFLAGS -O2"
+ ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug)
+ ;;
esac],[debug=false])
AM_CONDITIONAL(DEBUG, test "$debug" = "true")
esac],[debug=false])
AM_CONDITIONAL(DEBUG, test "$debug" = "true")