File tree Expand file tree Collapse file tree 6 files changed +1558
-225
lines changed Expand file tree Collapse file tree 6 files changed +1558
-225
lines changed Original file line number Diff line number Diff line change @@ -267,6 +267,15 @@ PostgreSQL:
267
267
listens for incoming connections on. The
268
268
default for this is port 5432.
269
269
270
+ --with-defaults Use default responses to several queries during
271
+ configuration.
272
+
273
+ --with-tcl Enables programs requiring Tcl/Tk and X11,
274
+ including pgtclsh and libpgtcl.
275
+
276
+ --with-perl Enables the perl interface. Note that this
277
+ requires an installed version of postgreSQL.
278
+
270
279
As an example, here is the configure script I use on a Sparc
271
280
Solaris 2.5 system with /opt/postgres being the install base.
272
281
Original file line number Diff line number Diff line change 7
7
#
8
8
#
9
9
# IDENTIFICATION
10
- # $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.34 1998/02/13 05:09:12 scrappy Exp $
10
+ # $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.35 1998/02/22 20:02:11 momjian Exp $
11
11
#
12
12
# NOTES
13
13
# Essentially all Postgres make files include this file and use the
@@ -160,18 +160,18 @@ endif
160
160
USE_TCL= @USE_TCL@
161
161
# customize these to your site's needs
162
162
#
163
- TCL_INCDIR= /usr/local/include
163
+ TCL_INCDIR= @TCL_INCDIR@
164
164
TCL_LIBDIR= /usr/local/lib
165
- TCL_LIB= -ltcl8.0
166
- TK_INCDIR= /usr/local/include
165
+ TCL_LIB= @TCL_LIB@
166
+ TK_INCDIR= @TK_INCDIR@
167
167
TK_LIBDIR= /usr/local/lib
168
- TK_LIB= -ltk8.0
168
+ TK_LIB= @TK_LIB@
169
169
170
170
USE_PERL= @USE_PERL@
171
171
172
- X11_INCDIR= /usr/include
173
- X11_LIBDIR= /usr/lib
174
- X11_LIB = -lX11 @SOCKET_LIB@ @NSL_LIB @
172
+ X_CFLAGS= @X_CFLAGS@
173
+ X_LIBS= @X_LIBS@
174
+ X11_LIBS = -lX11 @X_EXTRA_LIBS @
175
175
176
176
177
177
##############################################################################
Original file line number Diff line number Diff line change 7
7
#
8
8
#
9
9
# IDENTIFICATION
10
- # $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.10 1998/01/25 04:14:23 scrappy Exp $
10
+ # $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.11 1998/02/22 20:02:28 momjian Exp $
11
11
#
12
12
# -------------------------------------------------------------------------
13
13
14
14
SRCDIR = ../..
15
15
include ../../Makefile.global
16
16
17
- CFLAGS+ = -I $( TCL_INCDIR ) -I$(TK_INCDIR ) -I$(X11_INCDIR ) -I$(SRCDIR ) /interfaces/libpgtcl
17
+ CFLAGS+ = $( X_CFLAGS ) -I$(TCL_INCDIR ) -I$(TK_INCDIR ) -I$(SRCDIR ) /interfaces/libpgtcl
18
18
19
19
ifdef KRBVERS
20
20
LDFLAGS+ = $(KRBLIBS )
@@ -33,8 +33,8 @@ pgtclsh: pgtclAppInit.o
33
33
34
34
pgtksh : pgtkAppInit.o
35
35
$(CC ) $(CFLAGS ) -o $@ pgtkAppInit.o \
36
- $(LIBPGTCL ) $(LIBPQ ) -L$(TCL_LIBDIR ) -L$(TK_LIBDIR ) -L $( X11_LIBDIR ) \
37
- $(TK_LIB ) $(TCL_LIB ) -lX11 -lm $(LDFLAGS )
36
+ $(LIBPGTCL ) $(LIBPQ ) -L$(TCL_LIBDIR ) -L$(TK_LIBDIR ) $( X_LIBS ) \
37
+ $(TK_LIB ) $(TCL_LIB ) $( X11_LIBS ) -lm $(LDFLAGS )
38
38
39
39
install : pgtclsh pgtksh
40
40
$(INSTALL ) $(INSTL_EXE_OPTS ) pgtclsh $(DESTDIR )$(BINDIR ) /pgtclsh
You can’t perform that action at this time.
0 commit comments