$NetBSD: patch-aa,v 1.11 2003/04/03 18:06:13 toshii Exp $

--- configure.in.orig	Mon Feb  3 04:56:45 2003
+++ configure.in
@@ -330,6 +330,16 @@
 
 
 #
+# Location for HTML documentation
+#
+htmldir='${docdir}/html'
+AC_MSG_CHECKING([where to install HTML documentation])
+PGAC_ARG_REQ(with, htmldir, [  --with-htmldir=DIR      install HTML documentation into DIR], [htmldir=$withval])
+AC_MSG_RESULT([$htmldir])
+AC_SUBST([htmldir])
+
+
+#
 # Tcl/Tk
 #
 AC_MSG_CHECKING([whether to build with Tcl])
@@ -373,6 +383,18 @@
 PGAC_ARG_BOOL(with, python, no, [  --with-python           build Python interface module])
 AC_MSG_RESULT([$with_python])
 AC_SUBST(with_python)
+
+# If python is enabled (above), then optionally byte-compile the modules.
+AC_MSG_CHECKING([whether to byte-compile Python modules])
+if test "$with_python" = yes; then
+  PGAC_ARG_BOOL(with, python_compile, no,
+    [  --with-python-compile   byte-compile modules if Python is enabled])
+else
+  with_python_compile=no
+fi
+AC_MSG_RESULT([$with_python_compile])
+AC_SUBST([with_python_compile])
+
 
 #
 # Optionally build the Java/JDBC tools
