Mercurial > noffle
comparison configure @ 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 |
---|---|
12 ac_default_prefix=/usr/local | 12 ac_default_prefix=/usr/local |
13 # Any additions from configure.in: | 13 # Any additions from configure.in: |
14 ac_help="$ac_help | 14 ac_help="$ac_help |
15 | 15 |
16 NOFFLE options: | 16 NOFFLE options: |
17 --enable-debug=[no/min/yes] turn on debugging [default=min]" | 17 --enable-debug=[no/yes] build with debugging [default=no]" |
18 ac_help="$ac_help | 18 ac_help="$ac_help |
19 --with-docdir=PATH specify where to put the documentation | 19 --with-docdir=PATH specify where to put the documentation |
20 " | 20 " |
21 | 21 |
22 # Initialize some variables set by options. | 22 # Initialize some variables set by options. |
2503 # Check whether --enable-debug or --disable-debug was given. | 2503 # Check whether --enable-debug or --disable-debug was given. |
2504 if test "${enable_debug+set}" = set; then | 2504 if test "${enable_debug+set}" = set; then |
2505 enableval="$enable_debug" | 2505 enableval="$enable_debug" |
2506 : | 2506 : |
2507 else | 2507 else |
2508 enable_debug=min | 2508 enable_debug=no |
2509 fi | 2509 fi |
2510 | 2510 |
2511 | 2511 |
2512 if test "x$enable_debug" = "xyes" && test "x$GCC" = "xyes"; then | 2512 if test "x$enable_debug" = "xyes" && test "x$GCC" = "xyes"; then |
2513 CFLAGS="$CFLAGS \ | 2513 CFLAGS="$CFLAGS \ |
2514 -Wall -O2 -g -pedantic -ansi -W -Wtraditional -Wshadow -Wpointer-arith \ | 2514 -Wall -O2 -g -pedantic -ansi -W -Wtraditional -Wshadow -Wpointer-arith \ |
2515 -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion \ | |
2516 -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes \ | |
2517 -Wmissing-declarations -Wnested-externs -Winline \ | |
2518 -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" | |
2519 else | |
2520 | |
2521 | |
2522 if test "x$enable_debug" != "xno" && test "x$GCC" = "xyes"; then | |
2523 CFLAGS="$CFLAGS \ | |
2524 -Wall -O2 -g -pedantic -ansi -W -Wtraditional -Wshadow \ | |
2525 -Wcast-align -Wwrite-strings \ | 2515 -Wcast-align -Wwrite-strings \ |
2526 -Wstrict-prototypes -Wmissing-prototypes \ | 2516 -Wstrict-prototypes -Wmissing-prototypes \ |
2527 -Wmissing-declarations -Wnested-externs -Winline \ | 2517 -Wmissing-declarations -Wnested-externs -Winline \ |
2528 -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" | 2518 -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX" |
2529 fi | 2519 else |
2520 CFLAGS="$CFLAGS -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX" | |
2530 fi | 2521 fi |
2531 | 2522 |
2532 | 2523 |
2533 # [ This is adapted from mutt. ] | 2524 # [ This is adapted from mutt. ] |
2534 # Check whether --with-docdir or --without-docdir was given. | 2525 # Check whether --with-docdir or --without-docdir was given. |
2535 if test "${with_docdir+set}" = set; then | 2526 if test "${with_docdir+set}" = set; then |
2536 withval="$with_docdir" | 2527 withval="$with_docdir" |
2537 noffle_cv_docdir=$withval | 2528 noffle_cv_docdir=$withval |
2538 else | 2529 else |
2539 echo $ac_n "checking where to put the documentation""... $ac_c" 1>&6 | 2530 echo $ac_n "checking where to put the documentation""... $ac_c" 1>&6 |
2540 echo "configure:2541: checking where to put the documentation" >&5 | 2531 echo "configure:2532: checking where to put the documentation" >&5 |
2541 if eval "test \"`echo '$''{'noffle_cv_docdir'+set}'`\" = set"; then | 2532 if eval "test \"`echo '$''{'noffle_cv_docdir'+set}'`\" = set"; then |
2542 echo $ac_n "(cached) $ac_c" 1>&6 | 2533 echo $ac_n "(cached) $ac_c" 1>&6 |
2543 else | 2534 else |
2544 if test x$prefix = xNONE; then | 2535 if test x$prefix = xNONE; then |
2545 noffle_cv_prefix=$ac_default_prefix | 2536 noffle_cv_prefix=$ac_default_prefix |