+###################
+# Determine gcc ABI
+###################
+
+if test -n "$MULTABI_BUNDLE"; then
+ if ! "${PKG_PATH}/.gcc-glibmm-abi-check" --fail --gcc5; then
+ ABI=-gcc4
+ else
+ ABI=-gcc5
+ fi
+ # allow to manually override
+ if test "$1" = "--gcc4"; then
+ ABI=-gcc4
+ fi
+ if test "$1" = "--gcc5"; then
+ ABI=-gcc5
+ fi
+else
+ ABI=
+fi
+
+####################################
+# Check if bundle is for this system
+####################################
+
+if [ ! -e ${PGM_NAME}_${ARCH}${ABI}-*.tar ]; then
+ echo ""
+ echo "!!! ERROR !!! Can't locate ${ARCH}${ABI} bundle file."
+ echo "The installer detected the system as ${ARCH}${ABI}, but this bundle"
+ echo "does not contain the files needed for that configuration."
+ echo ""
+ read -p "Press ENTER to exit installer:" BLAH
+ exit 1
+fi
+
+