Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
f3f8d36a
Commit
f3f8d36a
authored
May 18, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Makefile dependencies for Win32 timezones, per Claudio.
parent
3b382d1a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
21 deletions
+14
-21
configure
configure
+5
-12
configure.in
configure.in
+5
-6
src/timezone/Makefile
src/timezone/Makefile
+3
-3
src/timezone/pgtz.h
src/timezone/pgtz.h
+1
-0
No files found.
configure
View file @
f3f8d36a
...
@@ -17974,8 +17974,9 @@ ac_config_files="$ac_config_files GNUmakefile src/Makefile.global"
...
@@ -17974,8 +17974,9 @@ ac_config_files="$ac_config_files GNUmakefile src/Makefile.global"
ac_config_links
=
"
$ac_config_links
src/backend/port/dynloader.c:src/backend/port/dynloader/
${
template
}
.c src/backend/port/pg_sema.c:
${
SEMA_IMPLEMENTATION
}
src/backend/port/pg_shmem.c:
${
SHMEM_IMPLEMENTATION
}
src/include/dynloader.h:src/backend/port/dynloader/
${
template
}
.h src/include/pg_config_os.h:src/include/port/
${
template
}
.h src/Makefile.port:src/makefiles/Makefile.
${
template
}
"
ac_config_links
=
"
$ac_config_links
src/backend/port/dynloader.c:src/backend/port/dynloader/
${
template
}
.c src/backend/port/pg_sema.c:
${
SEMA_IMPLEMENTATION
}
src/backend/port/pg_shmem.c:
${
SHMEM_IMPLEMENTATION
}
src/include/dynloader.h:src/backend/port/dynloader/
${
template
}
.h src/include/pg_config_os.h:src/include/port/
${
template
}
.h src/Makefile.port:src/makefiles/Makefile.
${
template
}
"
case
$host_os
in
mingw
*
)
case
$host_os
in
mingw
*
);;
ac_config_commands
=
"
$ac_config_commands
default-1"
*
)
ac_config_commands
=
"
$ac_config_commands
check_win32_symlinks"
;;
;;
esac
esac
...
@@ -18450,16 +18451,9 @@ done
...
@@ -18450,16 +18451,9 @@ done
_ACEOF
_ACEOF
cat
>>
$CONFIG_STATUS
<<
_ACEOF
#
# INIT-COMMANDS section.
#
_ACEOF
cat
>>
$CONFIG_STATUS
<<
\
_ACEOF
cat
>>
$CONFIG_STATUS
<<
\
_ACEOF
for ac_config_target in
$ac_config_targets
for ac_config_target in
$ac_config_targets
...
@@ -18475,7 +18469,7 @@ do
...
@@ -18475,7 +18469,7 @@ do
"src/include/dynloader.h" ) CONFIG_LINKS="
$CONFIG_LINKS
src/include/dynloader.h:src/backend/port/dynloader/
${
template
}
.h" ;;
"src/include/dynloader.h" ) CONFIG_LINKS="
$CONFIG_LINKS
src/include/dynloader.h:src/backend/port/dynloader/
${
template
}
.h" ;;
"src/include/pg_config_os.h" ) CONFIG_LINKS="
$CONFIG_LINKS
src/include/pg_config_os.h:src/include/port/
${
template
}
.h" ;;
"src/include/pg_config_os.h" ) CONFIG_LINKS="
$CONFIG_LINKS
src/include/pg_config_os.h:src/include/port/
${
template
}
.h" ;;
"src/Makefile.port" ) CONFIG_LINKS="
$CONFIG_LINKS
src/Makefile.port:src/makefiles/Makefile.
${
template
}
" ;;
"src/Makefile.port" ) CONFIG_LINKS="
$CONFIG_LINKS
src/Makefile.port:src/makefiles/Makefile.
${
template
}
" ;;
"
default-1" ) CONFIG_COMMANDS="
$CONFIG_COMMANDS
default-1
" ;;
"
check_win32_symlinks" ) CONFIG_COMMANDS="
$CONFIG_COMMANDS
check_win32_symlinks
" ;;
"src/include/pg_config.h" ) CONFIG_HEADERS="
$CONFIG_HEADERS
src/include/pg_config.h" ;;
"src/include/pg_config.h" ) CONFIG_HEADERS="
$CONFIG_HEADERS
src/include/pg_config.h" ;;
*) { { echo "
$as_me
:
$LINENO
: error: invalid argument:
$ac_config_target
" >&5
*) { { echo "
$as_me
:
$LINENO
: error: invalid argument:
$ac_config_target
" >&5
echo "
$as_me
: error: invalid argument:
$ac_config_target
" >&2;}
echo "
$as_me
: error: invalid argument:
$ac_config_target
" >&2;}
...
@@ -19229,13 +19223,12 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
...
@@ -19229,13 +19223,12 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
{ echo "
$as_me
:
$LINENO
: executing
$ac_dest
commands" >&5
{ echo "
$as_me
:
$LINENO
: executing
$ac_dest
commands" >&5
echo "
$as_me
: executing
$ac_dest
commands" >&6;}
echo "
$as_me
: executing
$ac_dest
commands" >&6;}
case
$ac_dest
in
case
$ac_dest
in
default-1
)
check_win32_symlinks
)
# Links sometimes fail undetected on Mingw -
# Links sometimes fail undetected on Mingw -
# so here we detect it and warn the user
# so here we detect it and warn the user
for FILE in "
$CONFIG_LINKS
"
for FILE in "
$CONFIG_LINKS
"
do
do
# test -e works for symlinks in the MinGW console
# test -e works for symlinks in the MinGW console
# We can't call AC_MSG_WARN from here, so we expand it
test -e `expr "
$FILE
" : '
\(
^:*
\)
'` || { echo "
$as_me
:
$LINENO
: WARNING: *** link for
$FILE
- please fix by hand" >&5
test -e `expr "
$FILE
" : '
\(
^:*
\)
'` || { echo "
$as_me
:
$LINENO
: WARNING: *** link for
$FILE
- please fix by hand" >&5
echo "
$as_me
: WARNING: *** link for
$FILE
- please fix by hand" >&2;}
echo "
$as_me
: WARNING: *** link for
$FILE
- please fix by hand" >&2;}
done
done
...
...
configure.in
View file @
f3f8d36a
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.3
49 2004/05/17 19:14:47
momjian Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.3
50 2004/05/18 04:10:30
momjian Exp $
dnl
dnl
dnl Developers, please strive to achieve this order:
dnl Developers, please strive to achieve this order:
dnl
dnl
...
@@ -1236,16 +1236,15 @@ AC_CONFIG_LINKS([
...
@@ -1236,16 +1236,15 @@ AC_CONFIG_LINKS([
src/Makefile.port:src/makefiles/Makefile.${template}
src/Makefile.port:src/makefiles/Makefile.${template}
])
])
case $host_os in mingw*)
case $host_os in mingw*);;
AC_OUTPUT_COMMANDS([
*)
AC_CONFIG_COMMANDS([check_win32_symlinks],[
# Links sometimes fail undetected on Mingw -
# Links sometimes fail undetected on Mingw -
# so here we detect it and warn the user
# so here we detect it and warn the user
for FILE in "$CONFIG_LINKS"
for FILE in "$CONFIG_LINKS"
do
do
# test -e works for symlinks in the MinGW console
# test -e works for symlinks in the MinGW console
# We can't call AC_MSG_WARN from here, so we expand it
test -e `expr "$FILE" : '\(^:*\)'` || AC_MSG_WARN([*** link for $FILE - please fix by hand])
test -e `expr "$FILE" : '\(^:*\)'` || { echo "$as_me:$LINENO: WARNING: *** link for $FILE - please fix by hand" >&5
echo "$as_me: WARNING: *** link for $FILE - please fix by hand" >&2;}
done
done
])
])
;;
;;
...
...
src/timezone/Makefile
View file @
f3f8d36a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# Makefile for the timezone library
# Makefile for the timezone library
# IDENTIFICATION
# IDENTIFICATION
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.
8 2004/05/17 14:35:34
momjian Exp $
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.
9 2004/05/18 04:10:33
momjian Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -19,7 +19,7 @@ TZDATA := africa antarctica asia australasia europe northamerica southamerica pa
...
@@ -19,7 +19,7 @@ TZDATA := africa antarctica asia australasia europe northamerica southamerica pa
TZDATAFILES
:=
$
(
TZDATA:%
=
data/%
)
TZDATAFILES
:=
$
(
TZDATA:%
=
data/%
)
ifeq
($(USE_PGTZ), yes)
ifeq
($(USE_PGTZ), yes)
all
:
SUBSYS.o zic
all
:
SUBSYS.o
submake-libpgport
zic
SUBSYS.o
:
$(OBJS)
SUBSYS.o
:
$(OBJS)
$(LD)
$(LDREL)
$(LDOUT)
SUBSYS.o
$(OBJS)
$(LD)
$(LDREL)
$(LDOUT)
SUBSYS.o
$(OBJS)
...
@@ -27,7 +27,7 @@ SUBSYS.o: $(OBJS)
...
@@ -27,7 +27,7 @@ SUBSYS.o: $(OBJS)
zic
:
$(ZICOBJS)
zic
:
$(ZICOBJS)
$(CC)
$(CFLAGS)
$(ZICOBJS)
$(LDFLAGS)
$(LIBS)
-o
$@$(X)
$(CC)
$(CFLAGS)
$(ZICOBJS)
$(LDFLAGS)
$(LIBS)
-o
$@$(X)
install
:
zic
install
:
all installdirs
./zic
-d
$(DESTDIR)$(datadir)
/timezone
$(TZDATAFILES)
./zic
-d
$(DESTDIR)$(datadir)
/timezone
$(TZDATAFILES)
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
...
...
src/timezone/pgtz.h
View file @
f3f8d36a
#include "postgres.h"
#include "postgres.h"
#include "miscadmin.h"
#ifndef HAVE_SYMLINK
#ifndef HAVE_SYMLINK
#define HAVE_SYMLINK 0
#define HAVE_SYMLINK 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment