buglet in current

Noel Cragg noel at cnet.com
Fri Oct 13 08:28:26 UTC 2000


Looks like we had an off-by-one error in configure.in.  Here's a
patch.

Index: configure.in
===================================================================
RCS file: /opt/local/news/home/src/cvsup/repository/inn/configure.in,v
retrieving revision 1.185
diff -u -r1.185 configure.in
--- configure.in	2000/10/13 01:43:21	1.185
+++ configure.in	2000/10/13 08:23:13
@@ -80,7 +80,7 @@
 dnl none given to configure, the variable to set, and the help string.
 AC_DEFUN([INN_ARG_DIR],
 [AC_ARG_WITH([$1-dir], [$4], [$3=$with_$1_dir], [$3=$prefix/$2])
-AC_SUBST($4)])
+AC_SUBST($3)])
 
 dnl And here are all the paths.
 dnl
Index: configure
===================================================================
RCS file: /opt/local/news/home/src/cvsup/repository/inn/configure,v
retrieving revision 1.183
diff -u -r1.183 configure
--- configure	2000/10/13 01:43:19	1.183
+++ configure	2000/10/13 08:23:32
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# From configure.in Revision: 1.184 
+# From configure.in Revision: 1.185 
 
 
 ## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
@@ -7051,14 +7051,14 @@
 s%@EXTLIB@%$EXTLIB%g
 s%@EXTOBJ@%$EXTOBJ%g
 s%@UPLIBTOOL@%$UPLIBTOOL%g
-s%@--with-control-dir=PATH Path for control programs PREFIX/bin/control@%$--with-control-dir=PATH Path for control programs PREFIX/bin/control%g
-s%@--with-db-dir=PATH      Path for news database files PREFIX/db@%$--with-db-dir=PATH      Path for news database files PREFIX/db%g
-s%@--with-etc-dir=PATH     Path for news config files PREFIX/etc@%$--with-etc-dir=PATH     Path for news config files PREFIX/etc%g
-s%@--with-filter-dir=PATH  Path for embedded filters PREFIX/bin/filter@%$--with-filter-dir=PATH  Path for embedded filters PREFIX/bin/filter%g
-s%@--with-lib-dir=PATH     Path for news library files PREFIX/lib@%$--with-lib-dir=PATH     Path for news library files PREFIX/lib%g
-s%@--with-log-dir=PATH     Path for news logs PREFIX/log@%$--with-log-dir=PATH     Path for news logs PREFIX/log%g
-s%@--with-run-dir=PATH     Path for news PID/runtime files PREFIX/run@%$--with-run-dir=PATH     Path for news PID/runtime files PREFIX/run%g
-s%@--with-spool-dir=PATH   Path for news storage PREFIX/spool@%$--with-spool-dir=PATH   Path for news storage PREFIX/spool%g
+s%@CONTROLDIR@%$CONTROLDIR%g
+s%@DBDIR@%$DBDIR%g
+s%@ETCDIR@%$ETCDIR%g
+s%@FILTERDIR@%$FILTERDIR%g
+s%@LIBDIR@%$LIBDIR%g
+s%@LOGDIR@%$LOGDIR%g
+s%@RUNDIR@%$RUNDIR%g
+s%@SPOOLDIR@%$SPOOLDIR%g
 s%@TMPPATH@%$TMPPATH%g
 s%@NEWSUSER@%$NEWSUSER%g
 s%@NEWSGRP@%$NEWSGRP%g



More information about the inn-workers mailing list