+dnl Override the package used for exported symbols
+if test -n "$PACKAGE"
+then
+ PACKAGE="${PACKAGE}${DFT_ARG_SUFFIX}"
+ export PACKAGE
+ echo "package: $PACKAGE"
+fi
+
+UNALTERED_SYMS=
+cf_filter_syms=no
+
+if test -n "$RESULTING_SYMS"
+then
+ case $cf_cv_abi_version in
+ [[6789]])
+ CF_VERBOSE(will map symbols to ABI=$cf_cv_abi_version)
+ cf_filter_syms=yes
+ ;;
+ *)
+ CF_VERBOSE(will map symbols to default ABI)
+ ;;
+ esac
+fi
+
+if test "x$WILDCARD_SYMS" = xno
+then
+ cf_filter_syms=yes
+fi
+
+UNALTERED_SYMS=`echo "$RESULTING_SYMS" | sed -e 's/\\$/\\\\$/g'`
+if test $cf_filter_syms = yes
+then
+ RESULTING_SYMS=resulting.map
+fi
+AC_SUBST(UNALTERED_SYMS)
+