Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 327d86c

Browse files
committed
Fix mingw link check by using double-brackets.
1 parent ce04221 commit 327d86c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

configure

+1-1
Original file line numberDiff line numberDiff line change
@@ -19278,7 +19278,7 @@ echo "$as_me: executing $ac_dest commands" >&6;}
1927819278
for FILE in $CONFIG_LINKS
1927919279
do
1928019280
# test -e works for symlinks in the MinGW console
19281-
test -e `expr "$FILE" : '\(^:*\)'` || { echo "$as_me:$LINENO: WARNING: *** link for $FILE - please fix by hand" >&5
19281+
test -e `expr "$FILE" : '\([^:]*\)'` || { echo "$as_me:$LINENO: WARNING: *** link for $FILE - please fix by hand" >&5
1928219282
echo "$as_me: WARNING: *** link for $FILE - please fix by hand" >&2;}
1928319283
done
1928419284
;;

configure.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.361 2004/06/07 22:39:43 momjian Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.362 2004/06/08 14:06:35 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -1241,7 +1241,7 @@ AC_CONFIG_COMMANDS([check_win32_symlinks],[
12411241
for FILE in $CONFIG_LINKS
12421242
do
12431243
# test -e works for symlinks in the MinGW console
1244-
test -e `expr "$FILE" : '\(^:*\)'` || AC_MSG_WARN([*** link for $FILE - please fix by hand])
1244+
test -e `expr "$FILE" : '\([[^:]]*\)'` || AC_MSG_WARN([*** link for $FILE - please fix by hand])
12451245
done
12461246
])
12471247
;;

0 commit comments

Comments
 (0)