X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure.ac;h=4315d2b4a39e7676a4325f1949c7368c7f69fbe0;hb=52b3415e5273e1e8dfc3431f154109928ae82488;hp=ea8f366aff871173c0bf7c7c2152eca099dfe80f;hpb=f954a0582e9cf3e2cfdc612fb3dbe14abbcf6a5a;p=vlc diff --git a/configure.ac b/configure.ac index ea8f366aff..4315d2b4a3 100644 --- a/configure.ac +++ b/configure.ac @@ -125,11 +125,15 @@ AC_ARG_WITH(contrib, if test "`echo \"$topdir\" | cut -c 1`" != "/"; then topdir="`pwd`/$topdir" fi - CONTRIB_DIR=${topdir}/extras/contrib/hosts/${host} + CONTRIB_DIR=${topdir}/extras/contrib/hosts/fat if ! test -d "$CONTRIB_DIR" then - gccmachine=`$CC -dumpmachine` - CONTRIB_DIR=${topdir}/extras/contrib/hosts/${gccmachine} + 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 fi AC_MSG_CHECKING([for libs in ${CONTRIB_DIR}])