changeset 1450:50280cb168ea

Solaris' and *BSD's sed does not like the "i" flag in the substitute command. Match case-independant strings using explicit regexps.
author jkeil
date Mon, 06 Aug 2001 11:13:04 +0000
parents 302ba4bf5095
children 267264560623
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Aug 06 00:33:30 2001 +0000
+++ b/configure	Mon Aug 06 11:13:04 2001 +0000
@@ -287,7 +287,7 @@
 _confwin32=
 if [ "$system_name" = "FreeBSD" ]; then
     _archlibs="-rdynamic -pthread"
-elif [ `echo $system_name | sed 's/CYGWIN.*/CYGWIN/i'` = "CYGWIN" ]; then
+elif [ `echo $system_name | sed 's/[cC][yY][gG][wW][iI][nN].*/CYGWIN/'` = "CYGWIN" ]; then
     _confcygwin="TARGET_CYGWIN=yes"
     _confwin32="#define WIN32"
     _archlibs="-lpthread"