By default, install the libraries into /opt/libjpeg-turbo/lib32 on any 32-bit system, not just x86, and into /opt/libjpeg-turbo/lib64 on any 64-bit system, not just x86-64. In particular, this addresses an issue with building TurboVNC and VirtualGL on ARM systems.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@999 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
14
configure.ac
14
configure.ac
@@ -52,14 +52,12 @@ if test "x${libdir}" = 'x${exec_prefix}/lib' -o "x${libdir}" = 'x${prefix}/lib';
|
|||||||
darwin*)
|
darwin*)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case "$host_cpu" in
|
AC_CHECK_SIZEOF(long)
|
||||||
x86_64 | amd64)
|
if test "${ac_cv_sizeof_long}" = "8"; then
|
||||||
libdir='${exec_prefix}/lib64'
|
libdir='${exec_prefix}/lib64'
|
||||||
;;
|
elif test "${ac_cv_sizeof_long}" = "4"; then
|
||||||
i*86 | x86 | ia32)
|
libdir='${exec_prefix}/lib32'
|
||||||
libdir='${exec_prefix}/lib32'
|
fi
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user