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

Commit 6f1a507

Browse files
committed
Clean up template names and remove LINUX_ELF hack. No longer
needed.
1 parent be1d471 commit 6f1a507

File tree

3 files changed

+10
-22
lines changed

3 files changed

+10
-22
lines changed

src/configure.in

-7
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,6 @@ AC_ARG_WITH(template,
8787
])
8888
AC_MSG_RESULT($TEMPLATE)
8989

90-
if test "$TEMPLATE" = "linux-elf"; then
91-
LINUX_ELF=yes
92-
else
93-
LINUX_ELF=no
94-
fi
95-
AC_SUBST(LINUX_ELF)
96-
9790
export TEMPLATE
9891
if test ! -f "template/$TEMPLATE"; then
9992
echo ""

src/interfaces/libpgtcl/Makefile.in

+5-8
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.15 1998/05/24 03:48:58 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.16 1998/06/12 18:36:40 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -34,13 +34,10 @@ shlib :=
3434
LIBPQ = -L$(SRCDIR)/interfaces/libpq -lpq
3535

3636
ifeq ($(PORTNAME), linux)
37-
LINUX_ELF=@LINUX_ELF@
38-
ifdef LINUX_ELF
39-
install-shlib-dep := install-shlib
40-
shlib := libpgtcl.so.1
41-
CFLAGS += $(CFLAGS_SL)
42-
LDFLAGS_SL = -shared
43-
endif
37+
install-shlib-dep := install-shlib
38+
shlib := libpgtcl.so.1
39+
CFLAGS += $(CFLAGS_SL)
40+
LDFLAGS_SL = -shared
4441
endif
4542

4643
ifeq ($(PORTNAME), bsd)

src/interfaces/libpq/Makefile.in

+5-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.18 1998/05/12 21:44:02 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.19 1998/06/12 18:36:42 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -32,12 +32,10 @@ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
3232
shlib :=
3333
install-shlib-dep :=
3434
ifeq ($(PORTNAME), linux)
35-
ifdef LINUX_ELF
36-
install-shlib-dep := install-shlib
37-
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
38-
LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION)
39-
CFLAGS += $(CFLAGS_SL)
40-
endif
35+
install-shlib-dep := install-shlib
36+
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
37+
LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION)
38+
CFLAGS += $(CFLAGS_SL)
4139
endif
4240
ifeq ($(PORTNAME), bsd)
4341
ifdef BSD_SHLIB

0 commit comments

Comments
 (0)