: [MPlayer-dev-eng] [PATCH] perl_check & parse SystemVersion.plist on Mac OSX

Martin Simmons vyslnqaaxytp at spammotel.com
Sun Sep 11 01:24:29 CEST 2005


>>>>> On Mon, 5 Sep 2005 21:37:41 -0400, Nicolas Plourde <nicolas.plourde at gmail.com> said:

   > This patch let you run perl script to use like the cc_check function.
   > Also added a proper check for Mac osx and should work on darwin and
   > x86 based Mac (anyone can verfify that?). I will commit it if every  
   > thing is ok.

Yes, it correctly detects Mac OS X on x86 too.

You could also consider something based on /usr/bin/sw_vers -productName
(works for 10.3 and greater).


   > -  rm -f "$TMPO" "$TMPC" "$TMPS" "$TMPCPP"
   > +  rm -f "$TMPO" "$TMPC" "$TMPS" "$TMPCPP" "TMPP"

Shouldn't this be "$TMPP"?

Also the indentation of 'if perl_check; then' is borken.

__Martin




More information about the MPlayer-dev-eng mailing list