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, ...@@ -125,6 +125,9 @@ AC_ARG_WITH(contrib,
if test "`echo \"$topdir\" | cut -c 1`" != "/"; then if test "`echo \"$topdir\" | cut -c 1`" != "/"; then
topdir="`pwd`/$topdir" topdir="`pwd`/$topdir"
fi fi
CONTRIB_DIR=${topdir}/extras/contrib/hosts/fat
if ! test -d "$CONTRIB_DIR"
then
CONTRIB_DIR=${topdir}/extras/contrib/hosts/${host} CONTRIB_DIR=${topdir}/extras/contrib/hosts/${host}
if ! test -d "$CONTRIB_DIR" if ! test -d "$CONTRIB_DIR"
then then
...@@ -132,6 +135,7 @@ AC_ARG_WITH(contrib, ...@@ -132,6 +135,7 @@ AC_ARG_WITH(contrib,
CONTRIB_DIR=${topdir}/extras/contrib/hosts/${gccmachine} CONTRIB_DIR=${topdir}/extras/contrib/hosts/${gccmachine}
fi fi
fi fi
fi
AC_MSG_CHECKING([for libs in ${CONTRIB_DIR}]) AC_MSG_CHECKING([for libs in ${CONTRIB_DIR}])
AS_IF([test -d ${CONTRIB_DIR}/lib],[ AS_IF([test -d ${CONTRIB_DIR}/lib],[
AC_MSG_RESULT([yes]) 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