Skip to content

Commit 0416641

Browse files
committed
At this moment, --enable-debug adds debugging information to most of the
parts o f postgresql. The jdbc drivers are never compiled with debugging support. This p atch make sure that debugging information is added to the jdbc jar when the --en able-debug is added. This was usefull for me for debugging some java jdbc poolin g objects but this might perhaps be usefull for other people too? Dries Verachtert
1 parent af41101 commit 0416641

File tree

4 files changed

+247
-239
lines changed

4 files changed

+247
-239
lines changed

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ AC_SUBST(enable_rpath)
259259
#
260260
PGAC_ARG_BOOL(enable, debug, no,
261261
[ --enable-debug build with debugging symbols (-g)])
262-
262+
AC_SUBST(enable_debug)
263263

264264
#
265265
# C compiler

src/Makefile.global.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*-makefile-*-
2-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.141 2001/12/20 21:23:05 momjian Exp $
2+
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.142 2002/03/05 17:55:22 momjian Exp $
33

44
#------------------------------------------------------------------------------
55
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -132,6 +132,7 @@ MULTIBYTE = @MULTIBYTE@
132132
enable_shared = @enable_shared@
133133
enable_rpath = @enable_rpath@
134134
enable_nls = @enable_nls@
135+
enable_debug = @enable_debug@
135136

136137
python_version = @python_version@
137138
python_includespec = @python_includespec@

src/interfaces/jdbc/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 2001, PostgreSQL Global Development Group
66
#
7-
# $Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/Makefile,v 1.33 2001/07/06 23:07:20 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/Makefile,v 1.34 2002/03/05 17:55:23 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -17,7 +17,8 @@ minorversion := $(shell echo $(VERSION) | sed 's/^[0-9][0-9]*\.\([0-9][0-9]*\).*
1717

1818
properties := -Dmajor=$(majorversion) -Dminor=$(minorversion) \
1919
-Dfullversion=$(VERSION) \
20-
-Ddef_pgport=$(DEF_PGPORT)
20+
-Ddef_pgport=$(DEF_PGPORT) \
21+
-Denable_debug=$(enable_debug)
2122

2223
all:
2324
$(ANT) -buildfile $(srcdir)/build.xml all \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy