git://git.jankratochvil.net
/
gnokii.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d80f3a
)
Fixed "-g -Wall" as it doesn't need to be supported on all compilers.
author
short
<>
Sun, 25 Nov 2001 22:32:38 +0000
(22:32 +0000)
committer
short
<>
Sun, 25 Nov 2001 22:32:38 +0000
(22:32 +0000)
Provided "-ggdb3" for better debugging info when GCC is found.
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
c3ab23c
..
ded8f4b
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],
- [ CFLAGS="-g -Wall"
+ [ if test "x$GCC" = "xyes"; then
+ CFLAGS="-ggdb3 -Wall"
+ fi
AC_DEFINE(DEBUG)
debug="yes" ],
[ debug="no" ]