versioned <prefix>/lib/graphviz/config on all platforms.
This to allow multiple verions of graphviz to be installed at the same time.
Right now it is <prefix>/lib/graphviz/config5
# precedence over adding, so set to 0 if both happened.
GVPLUGIN_AGE=0
+GVPLUGIN_CONFIG_FILE="config$GVPLUGIN_CURRENT"
GVPLUGIN_VERSION_INFO="$GVPLUGIN_CURRENT:$GVPLUGIN_REVISION:$GVPLUGIN_AGE"
+AC_SUBST(GVPLUGIN_CONFIG_FILE)
AC_SUBST(GVPLUGIN_VERSION_INFO)
dnl ===========================================================================
-I$(top_srcdir)/lib/graph \
-I$(top_srcdir)/lib/cdt \
$(INCLTDL) -I$(top_srcdir)/libltdl \
- -DGVLIBDIR=\"$(pkglibdir)\"
+ -DGVLIBDIR=\"$(pkglibdir)\" -DGVPLUGIN_CONFIG_FILE=\"$(GVPLUGIN_CONFIG_FILE)\"
LIBS = $(LIBLTDL) $(SOCKET_LIBS) $(Z_LIBS) $(MATH_LIBS)
FILE *f = NULL;
char *config_text = NULL;
char *libdir;
- char *config_file_name = "config";
+ char *config_file_name = GVPLUGIN_CONFIG_FILE;
#define MAX_SZ_CONFIG 100000
#endif