mirror of https://github.com/mpv-player/mpv
Solaris' and *BSD's sed does not like the "i" flag in the substitute command.
Match case-independant strings using explicit regexps. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1451 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e3fff049fe
commit
59b93c6b32
|
@ -287,7 +287,7 @@ _confcygwin="TARGET_CYGWIN=no"
|
||||||
_confwin32=
|
_confwin32=
|
||||||
if [ "$system_name" = "FreeBSD" ]; then
|
if [ "$system_name" = "FreeBSD" ]; then
|
||||||
_archlibs="-rdynamic -pthread"
|
_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"
|
_confcygwin="TARGET_CYGWIN=yes"
|
||||||
_confwin32="#define WIN32"
|
_confwin32="#define WIN32"
|
||||||
_archlibs="-lpthread"
|
_archlibs="-lpthread"
|
||||||
|
|
Loading…
Reference in New Issue