@@ -17974,8 +17974,9 @@ ac_config_files="$ac_config_files GNUmakefile src/Makefile.global"
17974
17974
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}"
17975
17975
17976
17976
17977
- case $host_os in mingw*)
17978
- ac_config_commands="$ac_config_commands default-1"
17977
+ case $host_os in mingw*);;
17978
+ *)
17979
+ ac_config_commands="$ac_config_commands check_win32_symlinks"
17979
17980
17980
17981
;;
17981
17982
esac
@@ -18450,16 +18451,9 @@ done
18450
18451
18451
18452
_ACEOF
18452
18453
18453
- cat >>$CONFIG_STATUS <<_ACEOF
18454
- #
18455
- # INIT-COMMANDS section.
18456
- #
18457
18454
18458
18455
18459
18456
18460
- _ACEOF
18461
-
18462
-
18463
18457
18464
18458
cat >>$CONFIG_STATUS <<\_ACEOF
18465
18459
for ac_config_target in $ac_config_targets
@@ -18475,7 +18469,7 @@ do
18475
18469
"src/include/dynloader.h" ) CONFIG_LINKS="$CONFIG_LINKS src/include/dynloader.h:src/backend/port/dynloader/${template}.h" ;;
18476
18470
"src/include/pg_config_os.h" ) CONFIG_LINKS="$CONFIG_LINKS src/include/pg_config_os.h:src/include/port/${template}.h" ;;
18477
18471
"src/Makefile.port" ) CONFIG_LINKS="$CONFIG_LINKS src/Makefile.port:src/makefiles/Makefile.${template}" ;;
18478
- "default-1 " ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1 " ;;
18472
+ "check_win32_symlinks " ) CONFIG_COMMANDS="$CONFIG_COMMANDS check_win32_symlinks " ;;
18479
18473
"src/include/pg_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/pg_config.h" ;;
18480
18474
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18481
18475
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
@@ -19229,13 +19223,12 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
19229
19223
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
19230
19224
echo "$as_me: executing $ac_dest commands" >&6;}
19231
19225
case $ac_dest in
19232
- default-1 )
19226
+ check_win32_symlinks )
19233
19227
# Links sometimes fail undetected on Mingw -
19234
19228
# so here we detect it and warn the user
19235
19229
for FILE in "$CONFIG_LINKS"
19236
19230
do
19237
19231
# test -e works for symlinks in the MinGW console
19238
- # We can't call AC_MSG_WARN from here, so we expand it
19239
19232
test -e `expr "$FILE" : '\(^:*\)'` || { echo "$as_me:$LINENO: WARNING: *** link for $FILE - please fix by hand" >&5
19240
19233
echo "$as_me: WARNING: *** link for $FILE - please fix by hand" >&2;}
19241
19234
done
0 commit comments