]> granicus.if.org Git - graphviz/commitdiff
- need extern for GDCodeGen (linking from convenience libs seems to be more strict)
authorellson <devnull@localhost>
Fri, 26 May 2006 15:55:07 +0000 (15:55 +0000)
committerellson <devnull@localhost>
Fri, 26 May 2006 15:55:07 +0000 (15:55 +0000)
- typo causing FEATURES/vmalloc to not get built

lib/common/fontmetrics.c
lib/vmalloc/Makefile.am

index 191c7d36502c690ff0a75a0a28a80edc9cf95e07..32697e217e05c6e0b62224d200dd1c81b3e09c8a 100644 (file)
@@ -119,6 +119,10 @@ static double courFontWidth[] = {
     0.5999, 0.5999, 0.5999, 0.5999, 0.5999, 0.5999, 0.5999, 0.5999,    /* øùúû     */
 };
 
+#if defined(WITH_CODEGENS) && !defined(HAVE_GD_FREETYPE) && defined(HAVE_LIBGD)
+extern codegen_t GD_CodeGen;
+#endif
+
 /* estimate_textsize:
  * Estimate width and height of text, for given face and size, in points.
  * Value is stored para->width.
index 52392d3513a4ac9dda40236c692c1af342b8ba57..18f907e5355b686be682f27dcf368c25735f73bf 100644 (file)
@@ -16,7 +16,7 @@ ${top_builddir}/FEATURE/vmalloc: ${top_srcdir}/lib/vmalloc/features/vmalloc
        mkdir -p ${top_builddir}/FEATURE
        @KSH@ ${top_srcdir}/iffe - set cc $(CC) $(CCMODE) $(CXFLAGS) : run ${top_srcdir}/lib/vmalloc/features/vmalloc > $@
 
-$(libvmalloc_la_OBJECTS): ${top_builddir}/FEATURE/vmalloc
+$(libvmalloc_C_la_OBJECTS): ${top_builddir}/FEATURE/vmalloc
 
 DISTCLEANFILES = ${top_builddir}/FEATURE/vmalloc