mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
Clean up template names and remove LINUX_ELF hack. No longer
needed.
This commit is contained in:
parent
be1d4719b4
commit
6f1a50746c
@ -87,13 +87,6 @@ AC_ARG_WITH(template,
|
||||
])
|
||||
AC_MSG_RESULT($TEMPLATE)
|
||||
|
||||
if test "$TEMPLATE" = "linux-elf"; then
|
||||
LINUX_ELF=yes
|
||||
else
|
||||
LINUX_ELF=no
|
||||
fi
|
||||
AC_SUBST(LINUX_ELF)
|
||||
|
||||
export TEMPLATE
|
||||
if test ! -f "template/$TEMPLATE"; then
|
||||
echo ""
|
||||
|
@ -7,7 +7,7 @@
|
||||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.15 1998/05/24 03:48:58 scrappy Exp $
|
||||
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.16 1998/06/12 18:36:40 momjian Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@ -34,13 +34,10 @@ shlib :=
|
||||
LIBPQ = -L$(SRCDIR)/interfaces/libpq -lpq
|
||||
|
||||
ifeq ($(PORTNAME), linux)
|
||||
LINUX_ELF=@LINUX_ELF@
|
||||
ifdef LINUX_ELF
|
||||
install-shlib-dep := install-shlib
|
||||
shlib := libpgtcl.so.1
|
||||
CFLAGS += $(CFLAGS_SL)
|
||||
LDFLAGS_SL = -shared
|
||||
endif
|
||||
install-shlib-dep := install-shlib
|
||||
shlib := libpgtcl.so.1
|
||||
CFLAGS += $(CFLAGS_SL)
|
||||
LDFLAGS_SL = -shared
|
||||
endif
|
||||
|
||||
ifeq ($(PORTNAME), bsd)
|
||||
|
@ -7,7 +7,7 @@
|
||||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.18 1998/05/12 21:44:02 momjian Exp $
|
||||
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.19 1998/06/12 18:36:42 momjian Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@ -32,12 +32,10 @@ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
|
||||
shlib :=
|
||||
install-shlib-dep :=
|
||||
ifeq ($(PORTNAME), linux)
|
||||
ifdef LINUX_ELF
|
||||
install-shlib-dep := install-shlib
|
||||
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||
LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION)
|
||||
CFLAGS += $(CFLAGS_SL)
|
||||
endif
|
||||
install-shlib-dep := install-shlib
|
||||
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||
LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION)
|
||||
CFLAGS += $(CFLAGS_SL)
|
||||
endif
|
||||
ifeq ($(PORTNAME), bsd)
|
||||
ifdef BSD_SHLIB
|
||||
|
Loading…
Reference in New Issue
Block a user