Should fix your build if your host doesn't strictly match your gcc build machine.
Pointed-out-by: Rafaël Carré <rafael.carre@gmail.com>
topdir="`pwd`/$topdir"
fi
CONTRIB_DIR=${topdir}/extras/contrib/hosts/${host}
topdir="`pwd`/$topdir"
fi
CONTRIB_DIR=${topdir}/extras/contrib/hosts/${host}
+ if ! test -d "$CONTRIB_DIR"
+ then
+ gccmachine=`$CC -dumpmachine`
+ CONTRIB_DIR=${topdir}/extras/contrib/hosts/${gccmachine}
+ fi
fi
AC_MSG_CHECKING([for libs in ${CONTRIB_DIR}])
AS_IF([test -d ${CONTRIB_DIR}/lib],[
fi
AC_MSG_CHECKING([for libs in ${CONTRIB_DIR}])
AS_IF([test -d ${CONTRIB_DIR}/lib],[