Re: AC_CHECK_PROG is incompatible with alias

2005-10-13 Thread Sylvain Tricot
>configure: >checking for hhc... (cached) yes >make: >cd tdg/en/html && hhc index.hhp >/bin/sh: line 1: hhc: command not found I think there is no problem with 'alias'. The problem is "(cached)". "cache files" mechanism is unreliable. I don't understand why/when/how cache test operates. But it s

Re: AC_CHECK_PROG is incompatible with alias

2005-10-10 Thread Allan Clark
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] writes: make: cd tdg/en/html && hhc index.hhp /bin/sh: line 1: hhc: command not found Why does AC_CHECK_PROG find hhc ? Isn't "Why doesn't 'make' find 'hhc'?" a better question? of course it's a good question. But a goal of autoco

Re: AC_CHECK_PROG is incompatible with alias

2005-10-05 Thread styx
> [EMAIL PROTECTED] writes: > > > make: > > cd tdg/en/html && hhc index.hhp > > /bin/sh: line 1: hhc: command not found > > > > Why does AC_CHECK_PROG find hhc ? > > Isn't "Why doesn't 'make' find 'hhc'?" a better question? > of course it's a good question. But a goal of autoconf is to prevent 'ma

Re: AC_CHECK_PROG is incompatible with alias

2005-10-04 Thread Paul Eggert
[EMAIL PROTECTED] writes: > make: > cd tdg/en/html && hhc index.hhp > /bin/sh: line 1: hhc: command not found > > Why does AC_CHECK_PROG find hhc ? Isn't "Why doesn't 'make' find 'hhc'?" a better question? ___ Autoconf mailing list Autoconf@gnu.org h

AC_CHECK_PROG is incompatible with alias

2005-10-04 Thread styx
There is a conflict with make behavior and AC_CHECK_PROG macro behavior (maybe) when prog. is aliased (OS: cygwin) : for example: $ type -a hhc hhc is aliased to `/cygdrive/c/Util/Dev/htmlhelp/hhc.exe' configure.ac: AC_CHECK_PROG([FOUND],[hhc],[yes],[no]) if test "x$FOUND" = "xno"; then A