[vlc-devel] commit: Don't use uname in configure.ac. (Daniel Mierswa )
git version control
git at videolan.org
Wed Feb 3 21:46:25 CET 2010
vlc | branch: master | Daniel Mierswa <impulze at impulze.org> | Sun Jan 24 22:24:14 2010 +0100| [9bc0151a6213b39e6129e85c4faacbd3afabbfee] | committer: Rémi Denis-Courmont
Don't use uname in configure.ac.
uname considers the build system not the host system.
Signed-off-by: Daniel Mierswa <impulze at impulze.org>
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9bc0151a6213b39e6129e85c4faacbd3afabbfee
---
configure.ac | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index f78d3d8..99dc41b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,10 +142,10 @@ AC_ARG_WITH(contrib,
with_cyberlink_tree=${CONTRIB_DIR}/src/clinkcc
fi
- if test ".`uname -s`" = ".Darwin"; then
+ if test "${SYS}" = "darwin"; then
export LD_LIBRARY_PATH=${CONTRIB_DIR}/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=${CONTRIB_DIR}/lib:$DYLD_LIBRARY_PATH
- elif test ".`uname -s`" = ".BeOS"; then
+ elif test "${SYS}" = "beos"; then
export LIBRARY_PATH=${CONTRIB_DIR}/lib:$LIBRARY_PATH
export BELIBRARIES=${CONTRIB_DIR}/lib:$BELIBRARIES
fi
@@ -273,7 +273,7 @@ case "${host_os}" in
fi
;;
darwin9*)
- if (test ".`uname -p`" = ".i386"); then
+ if test "${host_cpu}" = "i386"; then
dnl Due to a ld(64) bug in 10.5 we cannot use our mmx code
dnl without hacking it a lot, we disable mmx and sse.
dnl (that bug is about ld being unable to handle
More information about the vlc-devel
mailing list