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
a676b852
Commit
a676b852
authored
May 13, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor code to warn about configure link failures on MinGW.
parent
f69ecb4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
36 deletions
+24
-36
configure
configure
+13
-19
configure.in
configure.in
+11
-17
No files found.
configure
View file @
a676b852
...
...
@@ -17974,25 +17974,6 @@ ac_config_files="$ac_config_files GNUmakefile src/Makefile.global"
ac_config_links
=
"
$ac_config_links
src/backend/port/dynloader.c:src/backend/port/dynloader/
${
template
}
.c src/backend/port/pg_sema.c:
${
SEMA_IMPLEMENTATION
}
src/backend/port/pg_shmem.c:
${
SHMEM_IMPLEMENTATION
}
src/include/dynloader.h:src/backend/port/dynloader/
${
template
}
.h src/include/pg_config_os.h:src/include/port/
${
template
}
.h src/Makefile.port:src/makefiles/Makefile.
${
template
}
"
# Links sometimes fail undetected on Mingw -
# so here we detect it and warn the user
case
$host_os
in
mingw
*
)
for
linktarget
in
\
src/backend/port/tas.s
\
src/backend/port/dynloader.c
\
src/backend/port/pg_sema.c
\
src/backend/port/pg_shmem.c
\
src/include/dynloader.h
\
src/include/pg_config_os.h
\
src/Makefile.port
do
# test -e works for symlinks in the MinGW console
test
-e
$linktarget
||
{
echo
"
$as_me
:
$LINENO
: WARNING: *** link for
$linktarget
failed - please fix by hand"
>
&5
echo
"
$as_me
: WARNING: *** link for
$linktarget
failed - please fix by hand"
>
&2
;
}
done
;;
esac
ac_config_headers
=
"
$ac_config_headers
src/include/pg_config.h"
...
...
@@ -19201,3 +19182,16 @@ if test "$no_create" != yes; then
$ac_cs_success
||
{
(
exit
1
)
;
exit
1
;
}
fi
# Links sometimes fail undetected on Mingw -
# so here we detect it and warn the user
case
$host_os
in
mingw
*
)
for
FILE
in
"
$CONFIG_LINKS
"
do
# test -e works for symlinks in the MinGW console
test
-e
`
expr
"
$FILE
"
:
'\(^:*\)'
`
||
{
echo
"
$as_me
:
$LINENO
: WARNING: *** link for
$FILE
- please fix by hand"
>
&5
echo
"
$as_me
: WARNING: *** link for
$FILE
- please fix by hand"
>
&2
;
}
done
;;
esac
configure.in
View file @
a676b852
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.34
7 2004/05/13 01:45:02
momjian Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.34
8 2004/05/13 22:59:14
momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -1236,28 +1236,22 @@ AC_CONFIG_LINKS([
src/Makefile.port:src/makefiles/Makefile.${template}
])
AC_CONFIG_HEADERS([src/include/pg_config.h],
[
# Update timestamp for pg_config.h (see Makefile.global)
echo >src/include/stamp-h
])
AC_OUTPUT
# Links sometimes fail undetected on Mingw -
# so here we detect it and warn the user
case $host_os in mingw*)
for linktarget in \
src/backend/port/tas.s \
src/backend/port/dynloader.c \
src/backend/port/pg_sema.c \
src/backend/port/pg_shmem.c \
src/include/dynloader.h \
src/include/pg_config_os.h \
src/Makefile.port
for FILE in "$CONFIG_LINKS"
do
# test -e works for symlinks in the MinGW console
test -e
$linktarget || AC_MSG_WARN([*** link for $linktarget failed
- please fix by hand])
test -e
`expr "$FILE" : '\([^:]*\)'` || AC_MSG_WARN([*** link for $FILE
- please fix by hand])
done
;;
esac
AC_CONFIG_HEADERS([src/include/pg_config.h],
[
# Update timestamp for pg_config.h (see Makefile.global)
echo >src/include/stamp-h
])
AC_OUTPUT
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