On Mon, Jul 10, 2000 at 07:34:18PM +0200, Akim Demaille wrote:
: >>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:
: 
: Alexandre> On Jul 10, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:
: >> elif test -f "$ac_given_srcdir/$f"; then
: 
: Alexandre> This shouldn't be done when $f is a full pathname.
: 
: Well:
: 
: +     for f in $ac_file_in; do
: +       case $f in
: +       -) echo $tmp/stdin ;;
: +       *) if test -f "$f"; then
: +            # Build tree or absolute
: +            echo $f
: 
: This one should be triggered first for full path names.  Or am I
: missing something?

Shouldn't you do it like this?

       case $f in
       -)
         echo $tmp/stdin ;;
       [abspath-regexp])
         echo $f ;;
       *)
         <the way it was> ;;
       esac

  Lars J

Reply via email to