diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-06-08 14:06:35 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-06-08 14:06:35 +0000 |
commit | 327d86ca99a47174edfc70e56c4098186694b536 (patch) | |
tree | d331584d8f2ed5a2dc380c340dd66394c8885d3a | |
parent | ce04221a1ee3a4721a0e23abf6fcfd38c2bf84d5 (diff) | |
download | postgresql-327d86ca99a47174edfc70e56c4098186694b536.tar.gz postgresql-327d86ca99a47174edfc70e56c4098186694b536.zip |
Fix mingw link check by using double-brackets.
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure index 287ebeeca6d..dce88028d4e 100755 --- a/configure +++ b/configure @@ -19278,7 +19278,7 @@ echo "$as_me: executing $ac_dest commands" >&6;} 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 + 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 ;; diff --git a/configure.in b/configure.in index 67c57abfdc7..2c653c236a4 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $PostgreSQL: pgsql/configure.in,v 1.361 2004/06/07 22:39:43 momjian Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.362 2004/06/08 14:06:35 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -1241,7 +1241,7 @@ AC_CONFIG_COMMANDS([check_win32_symlinks],[ for FILE in $CONFIG_LINKS do # test -e works for symlinks in the MinGW console - test -e `expr "$FILE" : '\(^:*\)'` || AC_MSG_WARN([*** link for $FILE - please fix by hand]) + test -e `expr "$FILE" : '\([[^:]]*\)'` || AC_MSG_WARN([*** link for $FILE - please fix by hand]) done ]) ;; |