git://git.jankratochvil.net
/
gnokii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
:pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Tue Nov 27 05:17 CET 2001
[gnokii.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
3670353
..
0a30589
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-32,7
+32,9
@@
test x"$prefix" = xNONE && prefix="$ac_default_prefix"
AC_ARG_ENABLE(debug,
[ --enable-debug compile with debug code],
AC_ARG_ENABLE(debug,
[ --enable-debug compile with debug code],
- [ CFLAGS="-g -Wall"
+ [ if test "x$GCC" = "xyes"; then
+ CFLAGS="-ggdb3 -Wall"
+ fi
AC_DEFINE(DEBUG)
debug="yes" ],
[ debug="no" ]
AC_DEFINE(DEBUG)
debug="yes" ],
[ debug="no" ]
@@
-437,7
+439,7
@@
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_FUNC_STRFTIME
AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_FUNC_STRFTIME
-AC_CHECK_FUNCS(mktime select strdup strstr strtol strtok strsep snprintf)
+AC_CHECK_FUNCS(mktime select strdup strstr strtol strtok strsep snprintf
vsnprintf asprintf vasprintf
)
CFLAGS="$CFLAGS $NLS_CFLAGS"
LIBS="$LIBS $NLS_LIBS"
CFLAGS="$CFLAGS $NLS_CFLAGS"
LIBS="$LIBS $NLS_LIBS"