Commit 65ed93af authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

configure: Detect fat contribs.

parent 2e024847
......@@ -125,6 +125,9 @@ AC_ARG_WITH(contrib,
if test "`echo \"$topdir\" | cut -c 1`" != "/"; then
topdir="`pwd`/$topdir"
fi
CONTRIB_DIR=${topdir}/extras/contrib/hosts/fat
if ! test -d "$CONTRIB_DIR"
then
CONTRIB_DIR=${topdir}/extras/contrib/hosts/${host}
if ! test -d "$CONTRIB_DIR"
then
......@@ -132,6 +135,7 @@ AC_ARG_WITH(contrib,
CONTRIB_DIR=${topdir}/extras/contrib/hosts/${gccmachine}
fi
fi
fi
AC_MSG_CHECKING([for libs in ${CONTRIB_DIR}])
AS_IF([test -d ${CONTRIB_DIR}/lib],[
AC_MSG_RESULT([yes])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment