Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
42ae4f29
Commit
42ae4f29
authored
23 years ago
by
Peter Eisentraut
Browse files
Options
Downloads
Patches
Plain Diff
Turn on plpython build by default if we have something that looks like a
shared library, or we can do without one.
parent
af700146
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/Makefile.global.in
+2
-1
2 additions, 1 deletion
src/Makefile.global.in
src/pl/Makefile
+4
-5
4 additions, 5 deletions
src/pl/Makefile
src/pl/plpython/Makefile
+23
-1
23 additions, 1 deletion
src/pl/plpython/Makefile
with
29 additions
and
7 deletions
src/Makefile.global.in
+
2
−
1
View file @
42ae4f29
# -*-makefile-*-
# -*-makefile-*-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.13
3
2001/08/2
6 22:28:04
petere Exp $
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.13
4
2001/08/2
7 00:29:49
petere Exp $
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
# All PostgreSQL makefiles include this file and use the variables it sets,
...
@@ -128,6 +128,7 @@ python_includespec = @python_includespec@
...
@@ -128,6 +128,7 @@ python_includespec = @python_includespec@
python_moduledir
=
@python_moduledir@
python_moduledir
=
@python_moduledir@
python_moduleexecdir
=
@python_moduleexecdir@
python_moduleexecdir
=
@python_moduleexecdir@
python_libspec
=
@python_libspec@
python_libspec
=
@python_libspec@
python_configdir
=
@python_configdir@
krb_srvtab
=
@krb_srvtab@
krb_srvtab
=
@krb_srvtab@
...
...
This diff is collapsed.
Click to expand it.
src/pl/Makefile
+
4
−
5
View file @
42ae4f29
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1994, Regents of the University of California
# Copyright (c) 1994, Regents of the University of California
#
#
# $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.2
0
2001/0
5/12 01:30:30
petere Exp $
# $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.2
1
2001/0
8/27 00:29:49
petere Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -22,10 +22,9 @@ ifeq ($(with_perl), yes)
...
@@ -22,10 +22,9 @@ ifeq ($(with_perl), yes)
DIRS
+=
plperl
DIRS
+=
plperl
endif
endif
# Doesn't build portably yet.
ifeq
($(with_python), yes)
#ifeq ($(with_python), yes)
DIRS
+=
plpython
#DIRS += plpython
endif
#endif
all install installdirs uninstall depend distprep
:
all install installdirs uninstall depend distprep
:
@
for
dir
in
$(
DIRS
);
do
$(
MAKE
)
-C
$$
dir
$@
||
exit
;
done
@
for
dir
in
$(
DIRS
);
do
$(
MAKE
)
-C
$$
dir
$@
||
exit
;
done
...
...
This diff is collapsed.
Click to expand it.
src/pl/plpython/Makefile
+
23
−
1
View file @
42ae4f29
# $Header: /cvsroot/pgsql/src/pl/plpython/Makefile,v 1.
8
2001/0
7/10 16:33:02
petere Exp $
# $Header: /cvsroot/pgsql/src/pl/plpython/Makefile,v 1.
9
2001/0
8/27 00:29:49
petere Exp $
subdir
=
src/pl/plpython
subdir
=
src/pl/plpython
top_builddir
=
../../..
top_builddir
=
../../..
include
$(top_builddir)/src/Makefile.global
include
$(top_builddir)/src/Makefile.global
# On some platforms we can only build PL/Python if libpython is a
# shared library. Since there is no official way to determine this,
# we see if there is a file that is named like a shared library.
ifneq
(,$(wildcard $(python_configdir)/libpython*$(DLSUFFIX)*))
shared_libpython
=
yes
endif
# If we don't have a shared library and the platform doesn't allow it
# to work without, we have to skip it.
ifneq
(,$(findstring yes, $(shared_libpython)$(allow_nonpic_in_shlib)))
override
CPPFLAGS
:=
-I
$(
srcdir
)
$(
python_includespec
)
$(
CPPFLAGS
)
override
CPPFLAGS
:=
-I
$(
srcdir
)
$(
python_includespec
)
$(
CPPFLAGS
)
override
DLLLIBS
:=
$(
BE_DLLLIBS
)
$(
DLLLIBS
)
override
DLLLIBS
:=
$(
BE_DLLLIBS
)
$(
DLLLIBS
)
...
@@ -36,3 +47,14 @@ clean distclean maintainer-clean: clean-lib
...
@@ -36,3 +47,14 @@ clean distclean maintainer-clean: clean-lib
installcheck
:
installcheck
:
PATH
=
$(
bindir
)
:
$$
PATH
$(
SHELL
)
$(
srcdir
)
/test.sh
PATH
=
$(
bindir
)
:
$$
PATH
$(
SHELL
)
$(
srcdir
)
/test.sh
else
# can't build
all
:
@
echo
""
;
\
echo
"*** Cannot build PL/Python because libpython is not a shared library."
;
\
echo
"*** You might have to rebuild your Python installation. Refer to"
;
\
echo
"*** the documentation for details."
;
\
echo
""
endif
# can't build
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment