Skip to content

Commit 8270028

Browse files
committed
More cleanups for USE_PGTZ.
1 parent b99a3a7 commit 8270028

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12018,7 +12018,7 @@ cat >>confdefs.h <<\_ACEOF
1201812018
#define USE_PGTZ 1
1201912019
_ACEOF
1202012020

12021-
PGTZ=yes
12021+
USE_PGTZ=yes
1202212022
;;
1202312023
esac
1202412024

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.342 2004/04/30 15:01:25 momjian Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.343 2004/04/30 16:08:01 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -896,7 +896,7 @@ AC_LIBOBJ(pipe)
896896
AC_LIBOBJ(rand)
897897
AC_DEFINE(USE_PGTZ, 1,
898898
[Define to 1 to use our own timezone library])
899-
PGTZ=yes
899+
USE_PGTZ=yes
900900
AC_SUBST(USE_PGTZ) ;;
901901
esac
902902

src/backend/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.98 2004/02/02 00:11:30 momjian Exp $
7+
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.99 2004/04/30 16:08:01 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -16,6 +16,10 @@ DIRS := access bootstrap catalog parser commands executor lib libpq \
1616
main nodes optimizer port postmaster regex rewrite \
1717
storage tcop utils
1818

19+
ifeq ($(USE_PGTZ), yes)
20+
DIRS+= $(top_builddir)/src/timezone
21+
endif
22+
1923
OBJS := $(DIRS:%=%/SUBSYS.o)
2024

2125
ifeq ($(PORTNAME), qnx4)

src/timezone/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for the timezone library
55

66
# IDENTIFICATION
7-
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.3 2004/04/30 14:24:14 momjian Exp $
7+
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.4 2004/04/30 16:08:01 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -20,7 +20,7 @@ ZICOBJS= zic.o ialloc.o scheck.o localtime.o asctime.o pgtz.o
2020
TZDATA := africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera factory backward systemv solar87 solar88 solar89
2121
TZDATAFILES := $(TZDATA:%=data/%)
2222

23-
ifeq ($(PGTZ), yes)
23+
ifeq ($(USE_PGTZ), yes)
2424
all: SUBSYS.o zic
2525

2626
SUBSYS.o: $(OBJS)

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