$ ./configure --prefix=/tmp/gv --with-extraincludedir=/sw/include --with-extralibdir=/sw/lib --with-freetypeincludedir=/sw/include/freetype2 --with-freetypelibdir=/sw/lib --with-pngincludedir=/sw/include --with-pnglibdir=/sw/lib --with-jpegincludedir=/sw/include --with-jpeglibdir=/sw/lib --without-tcl --without-tk --disable-shared --enable-static
$ make
Fix:
--- contrib/prune/prune.c.orig Mon Aug 5 12:54:43 2002
+++ contrib/prune/prune.c Mon Aug 5 12:54:46 2002
@@ -25,7 +25,7 @@
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#else
-#include "compat_getopt_h"
+#include "compat_getopt.h"
#endif
#include <agraph.h>