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
1a6fe830
Commit
1a6fe830
authored
Aug 29, 2005
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow Win32 libpq will use it's minimal pthread implementation, and ecpg
will use pthreadGC2. Dave Page
parent
2d033909
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
config/acx_pthread.m4
config/acx_pthread.m4
+1
-1
configure
configure
+1
-1
src/interfaces/libpq/Makefile
src/interfaces/libpq/Makefile
+7
-1
No files found.
config/acx_pthread.m4
View file @
1a6fe830
...
@@ -43,7 +43,7 @@ fi
...
@@ -43,7 +43,7 @@ fi
# which indicates that we try without any flags at all, and "pthread-config"
# which indicates that we try without any flags at all, and "pthread-config"
# which is a program returning the flags for the Pth emulation library.
# which is a program returning the flags for the Pth emulation library.
acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config
pthreadGC2
"
# The ordering *is* (sometimes) important. Some notes on the
# The ordering *is* (sometimes) important. Some notes on the
# individual items follow:
# individual items follow:
...
...
configure
View file @
1a6fe830
...
@@ -16248,7 +16248,7 @@ fi
...
@@ -16248,7 +16248,7 @@ fi
# which indicates that we try without any flags at all, and "pthread-config"
# which indicates that we try without any flags at all, and "pthread-config"
# which is a program returning the flags for the Pth emulation library.
# which is a program returning the flags for the Pth emulation library.
acx_pthread_flags
=
"pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
acx_pthread_flags
=
"pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config
pthreadGC2
"
# The ordering *is* (sometimes) important. Some notes on the
# The ordering *is* (sometimes) important. Some notes on the
# individual items follow:
# individual items follow:
...
...
src/interfaces/libpq/Makefile
View file @
1a6fe830
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
# Portions Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.13
7 2005/08/23 21:02:03
momjian Exp $
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.13
8 2005/08/29 00:47:35
momjian Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -21,7 +21,9 @@ SO_MINOR_VERSION= 1
...
@@ -21,7 +21,9 @@ SO_MINOR_VERSION= 1
DLTYPE
=
library
DLTYPE
=
library
override CPPFLAGS
:
= -DFRONTEND -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
override CPPFLAGS
:
= -DFRONTEND -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
ifneq
($(PORTNAME), win32)
override
CFLAGS
+=
$(PTHREAD_CFLAGS)
override
CFLAGS
+=
$(PTHREAD_CFLAGS)
endif
# Need to recomple any libpgport object files
# Need to recomple any libpgport object files
LIBS
:=
$(
patsubst
-lpgport
,,
$(LIBS)
)
LIBS
:=
$(
patsubst
-lpgport
,,
$(LIBS)
)
...
@@ -51,7 +53,11 @@ endif
...
@@ -51,7 +53,11 @@ endif
# Add libraries that libpq depends (or might depend) on into the
# Add libraries that libpq depends (or might depend) on into the
# shared library link. (The order in which you list them here doesn't
# shared library link. (The order in which you list them here doesn't
# matter.)
# matter.)
ifneq
($(PORTNAME), win32)
SHLIB_LINK
+=
$(
filter
-lcrypt
-ldes
-lcom_err
-lcrypto
-lk5crypto
-lkrb5
-lssl
-lsocket
-lnsl
-lresolv
-lintl
,
$(LIBS)
)
$(PTHREAD_LIBS)
SHLIB_LINK
+=
$(
filter
-lcrypt
-ldes
-lcom_err
-lcrypto
-lk5crypto
-lkrb5
-lssl
-lsocket
-lnsl
-lresolv
-lintl
,
$(LIBS)
)
$(PTHREAD_LIBS)
else
SHLIB_LINK
+=
$(
filter
-lcrypt
-ldes
-lcom_err
-lcrypto
-lk5crypto
-lkrb5
-lssl
-lsocket
-lnsl
-lresolv
-lintl
$(PTHREAD_LIBS)
,
$(LIBS)
)
endif
ifeq
($(PORTNAME), win32)
ifeq
($(PORTNAME), win32)
SHLIB_LINK
+=
-lshfolder
-lwsock32
-lws2_32
$(
filter
-leay32
-lssleay32
-lcomerr32
-lkrb5_32
,
$(LIBS)
)
SHLIB_LINK
+=
-lshfolder
-lwsock32
-lws2_32
$(
filter
-leay32
-lssleay32
-lcomerr32
-lkrb5_32
,
$(LIBS)
)
endif
endif
...
...
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