bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make require_file_internal handle file names containing pathes


From: Ralf Wildenhues
Subject: Re: Make require_file_internal handle file names containing pathes
Date: Fri, 1 May 2009 20:05:21 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Philipp,

* Philipp Thomas wrote on Thu, Apr 30, 2009 at 03:29:37PM CEST:
> As requested here is our patch to make require_file_internal able to deal
> with file names containing path names along with a tarball containing the
> test case. Simply unpack the tarball and call 'autoreconf -fi' in the
> created automake_test directory. Without the attached patch, automake will
> fail with
> 
> Makefile.am:5: required file `./src/getopt.c' not found
> Makefile.am:5: required file `./src/getopt1.c' not found

Thank you for the report, test case, and patch.  The right fix for this
would be to do this inside the package:

  AC_CONFIG_LIBOBJ_DIR([src])
  AC_LIBOBJ([getopt])
  AC_LIBOBJ([getopt1])

which then would work correctly with Automake 1.10 or newer.

I'm still considering applying your patch to Automake, but it alone is
not sufficient, because as is, "make clean" will erroneously not remove
src/getopt*.$OBJEXT.

(Note to self: this is tested in tests/pr401.test.)

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]