test -f requires a full path, so use AC_PATH_PROG to find the -config app