[sane-devel] small configure - problems on OS/2

Henning Meier-Geinitz henning@meier-geinitz.de
Tue, 3 Dec 2002 18:30:43 +0100


Hi,

On Tue, Dec 03, 2002 at 01:03:22AM +0100, Franz Bakan wrote:
> since updating autoconf to 2.5x I now don't need
> the os2unix.cmd helper application no more :-)
> 
> sh configure --enable-translations
>
> now works 'out of the box'

Good.
 
> but there remain some problems:
> 
> 1. configure now needs much more time
>   Not a real problem and probably nothing that can be done.

Here it takes 13 seconds compared to 8. Looks like it does some
additional tests. Also, the cache is disabled by default. But enabling
it doesn't make much difference (for the first run).

> 2. after sh configure has finished I now have 264 sh-thd-??????? files.
>    Also not a real problem. But does someone know how to turn
>    this 'feature' off?

No idea. This doesn't happen here.

> 3. And now the real problem.
>    configure does not find the gettext-binaries.
> 
> result from config.log:
> --- cut ---
> configure.:11942: checking for msgfmt
> configure.:11973: result: no
> configure.:11982: checking for xgettext
> configure.:12013: result: no
> configure.:12022: checking for msgmerge
> configure.:12053: result: no
> configure.:12062: checking for msgcat
> configure.:12093: result: no
> --- cut ---
> 
> I do have all these programs (with the suffix '.exe' of course)

That may be the problem. There is code like that in configure:

  for ac_exec_ext in '' $ac_executable_extensions; do
    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
      ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
      break 2
    fi

So maybe we are missing a macro here. I'll have a look at configure.in
later.

> Is there any switch to turn on 'debugging-output' for
> sh configure?

I don't think so.

Bye,
  Henning