Commit 9bc0151a authored by Daniel Mierswa's avatar Daniel Mierswa Committed by Rémi Denis-Courmont

Don't use uname in configure.ac.

uname considers the build system not the host system.
Signed-off-by: default avatarDaniel Mierswa <impulze@impulze.org>
Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent b0e5e6b7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment