EXTLIB_INC=-I/usr/include/freetype2
EXTLIB_LIB=-ljpeg -lpng -lfontconfig -lfreetype -lz
+# library for libtool dynamic loading
+# to enable, uncoment this, and comment out "DISABLE_LTDL" in config.h.old
+#LTDL_LIB=-lltdl
+
###################################################
# Typically, nothing below should be changed. #
###################################################
TK_INCDIR=$(TKDIR)/include
VERSION=2.5
+VERSION=2.5
-L$(LOC_LIB)/graph -lgraph \
-L$(LOC_LIB)/cdt -lcdt \
-L$(LOC_LIB)/gd -lgd \
- $(EXTLIB_LIB) $(EXPAT_LIB) -lltdl -lm
+ $(EXTLIB_LIB) $(EXPAT_LIB) $(LTDL_LIB) -lm
PLUGS = -L$(LOC_PLUG) -lgvplugin_dot_layout -lgvplugin_neato_layout -lgvplugin_usershape_gd
"cg", NULL, (gvplugin_installed_t *) p);
#endif
-#ifndef DISABLE_LTDL
+ /* builtins don't require LTDL */
gvconfig_plugin_install_builtins(gvc);
+ gvc->config_found = FALSE;
+#ifndef DISABLE_LTDL
/* see if there are any new plugins */
libdir = gvconfig_libdir();
rc = stat(libdir, &libdir_st);