Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b10a719

Browse files
committed
Use autoconf to determine whether system has POSIX signals,
instead of relying on port's os.h to tell us. (Needed for HPUX where system major version is not enough info.) configure unsets USE_TK if X libraries not found. doc/Makefile uses gzcat or zcat as found by autoconf.
1 parent 92eacaf commit b10a719

17 files changed

+434
-358
lines changed

doc/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
#
99
#
1010
# IDENTIFICATION
11-
# $Header: /cvsroot/pgsql/doc/Makefile,v 1.11 1998/10/20 23:14:35 momjian Exp $
11+
# $Header: /cvsroot/pgsql/doc/Makefile,v 1.12 1998/11/29 05:30:13 tgl Exp $
1212
#
1313
#----------------------------------------------------------------------------
1414

1515
PGDOCS= $(POSTGRESDIR)/doc
1616
SRCDIR= ../src
1717

1818
TAR= tar
19+
GZCAT= zcat
1920

2021
# Pick up Makefile.global from the source area
2122
# This is the only resource from the code source area and is optional.
@@ -73,6 +74,6 @@ man::
7374
%: %.tar.gz
7475
rm -rf ./$@ $(PGDOCS)/$*
7576
if test ! -d $(PGDOCS)/$* ; then mkdir $(PGDOCS)/$* ; fi
76-
zcat $< | $(TAR) xf - -C $(PGDOCS)/$*
77+
$(GZCAT) $< | (cd $(PGDOCS)/$* ; $(TAR) xf - )
7778
# touch ./$*
7879

src/Makefile.global.in

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.53 1998/10/30 04:53:55 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.54 1998/11/29 05:30:14 tgl Exp $
1111
#
1212
# NOTES
1313
# Essentially all Postgres make files include this file and use the
@@ -209,14 +209,21 @@ CFLAGS_SL= @SHARED_LIB@
209209
LDFLAGS= @LDFLAGS@ @LIBS@
210210
DLSUFFIX= @DLSUFFIX@
211211
LN_S= @LN_S@
212+
TAR= @tar@
213+
GZCAT= @GZCAT@
212214

213215
##############################################################################
214216
#
215217
# Additional platform-specific settings
216218
#
217219

220+
# Name of the target platform.
218221
PORTNAME= @PORTNAME@
219222

223+
# Various grungy items needed to configure some platforms.
224+
HAVE_POSIX_SIGNALS= @HAVE_POSIX_SIGNALS@
225+
HPUXMATHLIB= @HPUXMATHLIB@
226+
220227
include $(SRCDIR)/Makefile.port
221228

222229
##############################################################################

0 commit comments

Comments
 (0)