Mercurial > noffle
comparison configure.in @ 185:fed1334d766b noffle
[svn] * src/client.c: Change variable only used on constant to 'const'.
* src/filter.c: Add a couple of 'return's after ASSERT() to remove
compiler warnings about functions needing returns.
* NEWS,TODO,configure,configure.in,noffle.conf.example,docs/NOTES,
docs/noffle.conf.5,src/client.c,src/configfile.c,src/content.c,
src/control.c,src/database.c,src/fetch.c,src/fetchlist.c,src/filter.c,
src/group.c,src/lock.c,src/log.c,src/log.h,src/noffle.c,src/outgoing.c,
src/post.c,src/protocol.c,src/request.c,src/server.c,src/util.c:
Debug logging is always compiled and selected via noffle.conf. All debug
logs are classified as all, none, config, control, expire, fetch,
filter, newsbase, noffle, post, protocol, requests and server.
author | bears |
---|---|
date | Sun, 05 Aug 2001 09:24:22 +0100 |
parents | 98bbe33d13b8 |
children | 79e324213734 |
comparison
equal
deleted
inserted
replaced
184:9854ea5f295f | 185:fed1334d766b |
---|---|
122 dnl Handle user-specified configure options | 122 dnl Handle user-specified configure options |
123 dnl --------------------------------------------------------------------------- | 123 dnl --------------------------------------------------------------------------- |
124 | 124 |
125 AC_ARG_ENABLE(debug, [ | 125 AC_ARG_ENABLE(debug, [ |
126 NOFFLE options: | 126 NOFFLE options: |
127 --enable-debug=[no/min/yes] turn on debugging [default=min]], , | 127 --enable-debug=[no/yes] build with debugging [default=no]], , |
128 enable_debug=min) | 128 enable_debug=no) |
129 | 129 |
130 if test "x$enable_debug" = "xyes" && test "x$GCC" = "xyes"; then | 130 if test "x$enable_debug" = "xyes" && test "x$GCC" = "xyes"; then |
131 CFLAGS="$CFLAGS \ | 131 CFLAGS="$CFLAGS \ |
132 -Wall -O2 -g -pedantic -ansi -W -Wtraditional -Wshadow -Wpointer-arith \ | 132 -Wall -O2 -g -pedantic -ansi -W -Wtraditional -Wshadow -Wpointer-arith \ |
133 -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion \ | |
134 -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes \ | |
135 -Wmissing-declarations -Wnested-externs -Winline \ | |
136 -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" | |
137 else | |
138 | |
139 dnl Do nothing if --enable-debug=no | |
140 | |
141 if test "x$enable_debug" != "xno" && test "x$GCC" = "xyes"; then | |
142 CFLAGS="$CFLAGS \ | |
143 -Wall -O2 -g -pedantic -ansi -W -Wtraditional -Wshadow \ | |
144 -Wcast-align -Wwrite-strings \ | 133 -Wcast-align -Wwrite-strings \ |
145 -Wstrict-prototypes -Wmissing-prototypes \ | 134 -Wstrict-prototypes -Wmissing-prototypes \ |
146 -Wmissing-declarations -Wnested-externs -Winline \ | 135 -Wmissing-declarations -Wnested-externs -Winline \ |
147 -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" | 136 -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX" |
148 fi | 137 else |
138 CFLAGS="$CFLAGS -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX" | |
149 fi | 139 fi |
150 | 140 |
151 | 141 |
152 # [ This is adapted from mutt. ] | 142 # [ This is adapted from mutt. ] |
153 AC_ARG_WITH(docdir, | 143 AC_ARG_WITH(docdir, |