Simon Josefsson wrote:
> Well, at least after I installed
> gperf, before that I got this error during build:
>
> make[2]: Entering directory `/home/jas/src/libidn/lib/gl'
> gperf -m 10 iconv_open-aix.gperf > iconv_open-aix.h-t
> /bin/sh: gperf: command not found
> make[2]: *** [iconv_open-aix.h] Error 127
Yes, bison, flex, and gperf are the three common tools for code generation.
> No warnings about missing gperf during ./configure. I think the M4
> code should test for a gperf tool, using AM_MISSING_PROG or similar.
It could, in theory. But what should the Makefile rule do if 'gperf' was not
found?
- If the iconv_open-aix.h file does not yet exist, it simply cannot proceed.
(Except on AIX... - Should I make the dependencies platform dependent?)
- If the iconv_open-aix.h file exists but is older, what to do? Emit a
warning and compile the old .h file?
Bruno