tags 376516 patch
thanks

On Mon, Jul 03, 2006 at 02:06:09PM +0200, Julien Danjou wrote:
> Package: caudium
> Version: 2:1.4.7-14
> Severity: serious
> 
> Hello,
> 
> There was a problem while autobuilding your package:

> > make[4]: Entering directory `/build/buildd/caudium-1.4.7/src/cmods/Mhash'
> > make[4]: *** No targets specified and no makefile found.  Stop.

Hi,

this is due to an autoconf change in 2.59c:

2005-08-16  Stepan Kasal  <[EMAIL PROTECTED]>

        When building in place, set srcdir="."; suggested by Tim Van Holder.

There's code in the toplevel 'configure.ac' that modifies the srcdir
variable from a relative path into an absolute one, but the autoconf
change overrides this in subdirectories.

Inserting the same code into 'src/cmods/configure.ac' seems to fix the
problem. Patch attached.

Cheers,
-- 
Niko Tyni       [EMAIL PROTECTED]
--- src/cmods/configure.ac.orig 2005-07-19 12:51:35.000000000 +0300
+++ src/cmods/configure.ac      2006-07-10 22:14:11.000000000 +0300
@@ -3,6 +3,18 @@
 
 CAUDIUM_LOW_MODULE_INIT()
 
+# We want an absolute path to the source-dir.
+case "$srcdir" in
+    /*)
+    ;;
+    *)
+        oldsrcdir="$srcdir"
+        srcdir="`cd \"$srcdir\";pwd`"
+        AC_MSG_WARN([ Converted $oldsrcdir to $srcdir,
+If this does not work, please use an absolute path to the configure script. ])
+    ;;
+esac
+
 dirs=""
 for a in `(cd $srcdir ; echo *)`
 do

Reply via email to