bug-gnulib
[Top][All Lists]
Advanced

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

Re: new module 'iconv_open'


From: Bruno Haible
Subject: Re: new module 'iconv_open'
Date: Tue, 3 Apr 2007 00:43:19 +0200
User-agent: KMail/1.5.4

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





reply via email to

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