configure: Avoid use of AC_CHECK_FILE for cross compiling 79/7479/1
authorJonathan Liu <net147@gmail.com>
Tue, 4 Jun 2013 13:04:44 +0000 (23:04 +1000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 12 Jul 2013 20:21:28 +0000 (13:21 -0700)
commitaf16f73051c2edf234970289795d270a593d3c0a
tree22195380c79c686c056a05ef76a617a1baae81c2
parentbf86e0e050279394c80062e2d910c8619c1d1fe1
configure: Avoid use of AC_CHECK_FILE for cross compiling

The AC_CHECK_FILE macro can't be used for cross compiling as it will
result in "error: cannot check for file existence when cross compiling".
Replace it with the AS_IF macro.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Jonathan Liu <net147@gmail.com>
configure.ac