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
550fbc6a
Commit
550fbc6a
authored
21 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Warn when MinGW fails to create symlinks during configure. Report
already made to MinGW maintainers. Andrew Dunstan
parent
4d924bdb
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure
+19
-0
19 additions, 0 deletions
configure
configure.in
+19
-1
19 additions, 1 deletion
configure.in
with
38 additions
and
1 deletion
configure
+
19
−
0
View file @
550fbc6a
...
...
@@ -17974,6 +17974,25 @@ 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"
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
19
−
1
View file @
550fbc6a
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.34
6
2004/05/1
1 21:57:13
momjian Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.34
7
2004/05/1
3 01:45:02
momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -1236,6 +1236,24 @@ AC_CONFIG_LINKS([
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 || AC_MSG_WARN([*** link for $linktarget failed - please fix by hand])
done
;;
esac
AC_CONFIG_HEADERS([src/include/pg_config.h],
[
# Update timestamp for pg_config.h (see Makefile.global)
...
...
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