[vlc-commits] commit: Darwin9: warn about gcc-4.2 only if not installed (VideoLAN )
git at videolan.org
git at videolan.org
Sun Oct 24 20:01:51 CEST 2010
vlc | branch: master | VideoLAN <noreply at videolan.org> | Sun Oct 24 19:50:08 2010 +0200| [70fb0a47dd26ccf60bf0e877aab33d1734250487] | committer: Rafaël Carré
Darwin9: warn about gcc-4.2 only if not installed
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70fb0a47dd26ccf60bf0e877aab33d1734250487
---
extras/contrib/bootstrap | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/extras/contrib/bootstrap b/extras/contrib/bootstrap
index ec10070..153eb6f 100755
--- a/extras/contrib/bootstrap
+++ b/extras/contrib/bootstrap
@@ -351,12 +351,9 @@ if test -z "$CONTRIBS_RELEASE"; then
fi
if test $HAVE_DARWIN_9; then
- set +x
- echo
- echo "*****************************************************************"
- echo "* We are using GCC-4.2 on OS X, so compilation WILL FAIL if it *"
- echo "* is NOT installed. *"
- echo "*****************************************************************"
+ if ! /Developer/usr/bin/gcc-4.2 --version>/dev/null 2>&1; then
+ echo "You do not have GCC-4.2 instelled, compilation WILL FAIL." >&2
+ fi
fi
if test $HAVE_DARWIN_32; then
More information about the vlc-commits
mailing list