Changeset 3337 for trunk


Ignore:
Timestamp:
May 6, 2007, 8:00:08 AM (18 years ago)
Author:
bird
Message:

Check for .exe as well. (fixes issue where the cpio test claims that cpio cannot befound.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/sys-devel/autoconf/lib/autotest/general.m4

    r3092 r3337  
    659659    } >&AS_MESSAGE_LOG_FD 2>&1
    660660  else
    661     AS_ERROR([cannot find $at_program])
     661    # On OS/2 we must check for .exe as well.
     662    _AS_PATH_WALK([$PATH], [test -f "$as_dir/${at_program}.exe" && break])
     663    if test -f "$as_dir/${at_program}.exe"; then
     664      {
     665        echo "$at_srcdir/AT_LINE: $as_dir/$at_program --version"
     666        "$as_dir/$at_program" --version
     667        echo
     668      } >&AS_MESSAGE_LOG_FD 2>&1
     669    else
     670      AS_ERROR([cannot find $at_program])
     671    fi
    662672  fi
    663673done
Note: See TracChangeset for help on using the changeset viewer.