summaryrefslogtreecommitdiff
path: root/databases/postgresql73/patches/patch-aa
blob: 9d1ad573c742bfd99691607d17ea911e033501fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
$NetBSD: patch-aa,v 1.1.1.1 2004/07/24 22:14:40 recht 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