only make the check for osx api if system is darwin

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16456 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nplourde 2005-09-11 15:02:49 +00:00
parent ed3d28817c
commit 0e5dd90bf2
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -3263,7 +3263,7 @@ echores "$_sys_sysinfo"
echocheck "Mac OS X APIs"
if test "$_macosx" = auto ; then
if test "$_macosx" = auto && darwin ; then
productName=`/usr/bin/sw_vers -productName`
if test "$productName" = "Mac OS X" ; then
_macosx=yes