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
5085132c
Commit
5085132c
authored
May 11, 1999
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix configure to generate correct expansion of library directory
in pl/plpgsql/src/mklang.sql.
parent
a9bd9360
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
2 deletions
+32
-2
src/configure
src/configure
+10
-0
src/configure.in
src/configure.in
+20
-0
src/pl/plpgsql/src/mklang.sql.in
src/pl/plpgsql/src/mklang.sql.in
+2
-2
No files found.
src/configure
View file @
5085132c
...
...
@@ -7052,6 +7052,15 @@ fi
fi
test
"x
$prefix
"
=
xNONE
&&
prefix
=
$ac_default_prefix
test
"x
$exec_prefix
"
=
xNONE
&&
exec_prefix
=
'${prefix}'
eval
expanded_libdir
=
"
$libdir
"
eval
expanded_libdir
=
"
$expanded_libdir
"
trap
''
1 2 15
cat
>
confcache
<<
\
EOF
# This file is a shell script that caches the results of configure
...
...
@@ -7282,6 +7291,7 @@ s%@X_PRE_LIBS@%$X_PRE_LIBS%g
s%@X_LIBS@%
$X_LIBS
%g
s%@X_EXTRA_LIBS@%
$X_EXTRA_LIBS
%g
s%@X11_LIBS@%
$X11_LIBS
%g
s%@expanded_libdir@%
$expanded_libdir
%g
CEOF
EOF
...
...
src/configure.in
View file @
5085132c
...
...
@@ -1138,6 +1138,26 @@ then
AC_SUBST(USE_ODBC)
fi
dnl Output files that are neither makefiles nor shell scripts probably
dnl need fully-expanded substitutions, rather than partial expansions
dnl that include references to other variables. Currently the only
dnl such item that's needed is an expanded version of libdir, but
dnl others may be needed someday. NOTE: 'eval' technique only copes
dnl with one level of indirect reference per expansion; two levels is
dnl currently enough for libdir, but it's ugly...
dnl First we have to force 'NONE' prefix to be expanded itself.
dnl For some reason, autoconf 2.13 doesn't do this until AC_OUTPUT,
dnl which is too late...
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
eval expanded_libdir="$libdir"
eval expanded_libdir="$expanded_libdir"
AC_SUBST(expanded_libdir)
dnl Finally ready to produce output files ...
AC_OUTPUT(
GNUmakefile
Makefile.global
...
...
src/pl/plpgsql/src/mklang.sql.in
View file @
5085132c
--
-- PL/pgSQL language declaration
--
-- $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/mklang.sql.in,v 1.
3 1999/05/11 03:30:41 momjian
Exp $
-- $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/mklang.sql.in,v 1.
4 1999/05/11 22:57:50 tgl
Exp $
--
create function plpgsql_call_handler() returns opaque
as '@
libdir@/plpgsql.so
'
as '@
expanded_libdir@/plpgsql@DLSUFFIX@
'
language 'C';
create trusted procedural language 'plpgsql'
...
...
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