Hi,
The Automake-generated Makefile rule for .y files, when run in a VPATH
build, produces the generated .c file in the build directory, not in the
source directory.
How to reproduce:
- Unpack the attached hello.tar.gz
$ cd hello
$ ./autogen.sh
$ mkdir vpath
$ cd vpath
$ ../configure
$ make
...
> I need iconv but not gettext.
Then take the Gnulib module 'iconv'. [1][2] It contains iconv.m4, its
macro dependencies, and config.rpath - that is, exactly what you need.
Bruno
[1] https://www.gnu.org/software/gnulib/MODULES.html#module=iconv
[1] https://www.gnu.org/software/gnulib/manual/html