Jakub Wilk <[email protected]> writes: > Package: autoconf > Version: 2.69-1 > Tags: upstream > > I wanted to use AC_CONFIG_HEADERS with multiple input files. I hoped > that autoheader will generate the first one for me. What it did > instead was to generate a file with a ":" in name: > > | $ cat configure.ac > | AC_INIT([dummy]) > | AC_CONFIG_HEADERS([config.h:config.h.in:config.aux.h]) > | AC_OUTPUT > | > | $ ls -1 config.* > | config.aux.h > | > | $ autoheader > | > | $ autoconf > | > | $ ls -1 config.* > | config.aux.h > | config.h.in:config.aux.h > | > | $ ./configure > | configure: creating ./config.status > | config.status: error: cannot find input file: `config.h.in' > > It looks like it was reported upstream years ago: > http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00012.html
Can you use multiple calls to AC_CONFIG_HEADERS to solve your problem? The autoconf manual says that AC_CONFIG_HEADERS may be called any number of times, and that autoheader applies to the first invocation. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

