+case "${libdir}" in
+ *lib64)
+ GST_PLUGIN_SUBDIR="lib64";;
+ *lib32)
+ GST_PLUGIN_SUBDIR="lib32";;
+ *lib)
+ GST_PLUGIN_SUBDIR="lib";;
+ *)
+ GST_PLUGIN_SUBDIR=`basename ${libdir}`;
+ if test -z "$GST_PLUGIN_SUBDIR"; then
+ AC_MSG_WARN([Couldn't determined libdir suffix, using "lib"])
+ GST_PLUGIN_SUBDIR="lib";
+ fi
+ ;;
+esac
+AC_DEFINE_UNQUOTED(GST_PLUGIN_SUBDIR,
+ "$GST_PLUGIN_SUBDIR", [plugin directory path component, used to find plugins on relocatable builds on windows])