Add threading flags to libpq - Mailing list pgsql-patches

From Bruce Momjian
Subject Add threading flags to libpq
Date
Msg-id 200306121731.h5CHVXD13941@candle.pha.pa.us
Whole thread Raw
List pgsql-patches
The following applied patch hooks the new thread detection variables of
configure.in into libpq.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
Index: src/interfaces/libpq/Makefile
===================================================================
RCS file: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v
retrieving revision 1.80
diff -c -c -r1.80 Makefile
*** src/interfaces/libpq/Makefile    8 Jun 2003 17:43:00 -0000    1.80
--- src/interfaces/libpq/Makefile    12 Jun 2003 17:16:10 -0000
***************
*** 18,24 ****
  SO_MAJOR_VERSION= 3
  SO_MINOR_VERSION= 1

! override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"'

  OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
        fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o \
--- 18,24 ----
  SO_MAJOR_VERSION= 3
  SO_MINOR_VERSION= 1

! override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) $(THREAD_CFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"'

  OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
        fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o \
***************
*** 29,35 ****
  # Add libraries that libpq depends (or might depend) on into the
  # shared library link.  (The order in which you list them here doesn't
  # matter.)
! SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl,
$(LIBS))


  all: all-lib
--- 29,35 ----
  # Add libraries that libpq depends (or might depend) on into the
  # shared library link.  (The order in which you list them here doesn't
  # matter.)
! SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl,
$(LIBS))$(THREAD_LIBS) 


  all: all-lib

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] CVS -Tip compile issue -- FreeBSD 4.8
Next
From: Rod Taylor
Date:
Subject: Re: LIKE (second attempt)