A debian user reported this bug. I'm not certain if this a bug in automake or autoconf, but I would like your thoughts on it. Thanks.
-- Eric Dorland <[EMAIL PROTECTED]> ICQ: #61138586, Jabber: [EMAIL PROTECTED]
--- Begin Message ---Package: automake Version: 1:1.10+nogfdl-1 Severity: normal Hello, Thanks for packaging automake. In some of my Makefile.am I have entries like this: tut_test_SOURCES = \ tests/aliases.cc \ tests/error.cc \ tests/fast.cc \ tests/file.cc \ tests/rawmsg.cc \ tests/record.cc \ tests/var.cc \ tests/vartable.cc \ $(top_srcdir)/extra/test-utils-core.cc \ $(top_srcdir)/extra/tut-main.cc if I just run ./configure, then running config.status creates directories like these: dballe/bench/$(top_srcdir) dballe/bufrex/$(top_srcdir) dballe/core/$(top_srcdir) dballe/db/$(top_srcdir) dballe/msg/$(top_srcdir) fortran/$(top_srcdir) tools/$(top_srcdir) I traced this to this piece of code in the generated config.status: for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. [...] The possible values of files are obtained by grepping include lines from generated 'Makefile's. Here's a sample of what I have: include $(top_srcdir)/extra/$(DEPDIR)/test-utils-core.Po include $(top_srcdir)/extra/$(DEPDIR)/tut-main.Po include ./$(DEPDIR)/aliases.Plo include ./$(DEPDIR)/conv.Plo include ./$(DEPDIR)/csv.Plo include ./$(DEPDIR)/error.Plo include ./$(DEPDIR)/file.Plo Therefore, config.status picks up that '$(top_srcdir)/extra/' prefix and ensures that it exists, without expanding $(top_srcdir). I'll now rewrite my Makefile.am files differently, however this looks like an automake (or autoconf?) bug, so I'm reporting it. Ciao, Enrico -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-686 Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Versions of packages automake depends on: ii autoconf 2.61-2 automatic configure script builder ii autotools-dev 20060920.1 Update infrastructure for config.{ automake recommends no packages. -- no debconf information
--- End Message ---
signature.asc
Description: Digital signature