LT_AGE=0
VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE"
-AC_DEFINE_UNQUOTED(LT_CURRENT,$LT_CURRENT,[Compatibility version number for shared libraries.])
-AC_SUBST(LT_CURRENT)
AC_SUBST(VERSION_INFO)
dnl ===========================================================================
# Checks for system type
AC_CANONICAL_HOST
+# This nonsense drives me crazy!!
+case "${host_os}" in
+ *irix* | *nonstopux* )
+ GVPLUGIN_VERSION=`expr $LT_CURRENT + 1`
+ ;;
+ *)
+ GVPLUGIN_VERSION=$LT_CURRENT
+esac
+AC_DEFINE_UNQUOTED(GVPLUGIN_VERSION,$GVPLUGIN_VERSION,[Compatibility version number for plugins.])
+AC_SUBST(GVPLUGIN_VERSION)
+
LIBPOSTFIX=
case "${host_os}" in
*linux* )
libdir = gvconfig_libdir();
config_re = gmalloc(strlen(plugin_re_beg) + 20 + strlen(plugin_re_end) + 1);
-#ifdef LT_CURRENT
- sprintf(config_re,"%s%d%s", plugin_re_beg, LT_CURRENT, plugin_re_end);
+#ifdef GVPLUGIN_VERSION
+ sprintf(config_re,"%s%d%s", plugin_re_beg, GVPLUGIN_VERSION, plugin_re_end);
#else
sprintf(config_re,"%s[0-9]+%s", plugin_re_beg, plugin_re_end);
#endif