@@ -17974,8 +17974,9 @@ ac_config_files="$ac_config_files GNUmakefile src/Makefile.global"
1797417974ac_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}"
1797517975
1797617976
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"
1797917980
1798017981 ;;
1798117982esac
@@ -18450,16 +18451,9 @@ done
1845018451
1845118452_ACEOF
1845218453
18453- cat >>$CONFIG_STATUS <<_ACEOF
18454- #
18455- # INIT-COMMANDS section.
18456- #
1845718454
1845818455
1845918456
18460- _ACEOF
18461-
18462-
1846318457
1846418458cat >>$CONFIG_STATUS <<\_ACEOF
1846518459for ac_config_target in $ac_config_targets
@@ -18475,7 +18469,7 @@ do
1847518469 "src/include/dynloader.h" ) CONFIG_LINKS="$CONFIG_LINKS src/include/dynloader.h:src/backend/port/dynloader/${template}.h" ;;
1847618470 "src/include/pg_config_os.h" ) CONFIG_LINKS="$CONFIG_LINKS src/include/pg_config_os.h:src/include/port/${template}.h" ;;
1847718471 "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 " ;;
1847918473 "src/include/pg_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/pg_config.h" ;;
1848018474 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1848118475echo "$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`
1922919223 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
1923019224echo "$as_me: executing $ac_dest commands" >&6;}
1923119225 case $ac_dest in
19232- default-1 )
19226+ check_win32_symlinks )
1923319227# Links sometimes fail undetected on Mingw -
1923419228# so here we detect it and warn the user
1923519229for FILE in "$CONFIG_LINKS"
1923619230 do
1923719231 # test -e works for symlinks in the MinGW console
19238- # We can't call AC_MSG_WARN from here, so we expand it
1923919232 test -e `expr "$FILE" : '\(^:*\)'` || { echo "$as_me:$LINENO: WARNING: *** link for $FILE - please fix by hand" >&5
1924019233echo "$as_me: WARNING: *** link for $FILE - please fix by hand" >&2;}
1924119234 done
0 commit comments