7970696 Use AC_CHECK_FILE instead of link

Authored and Committed by dbelyavs a month ago
    Use AC_CHECK_FILE instead of link