libbluray | branch: master | Diego Elio Pettenò <[email protected]> | Thu Feb 14 17:25:15 2013 -0800| [80485de1aca06856aa740d0cdf872c5ad8eb2328] | committer: Diego Elio Pettenò
build: don't use the wrong AC_CANONICAL_SYSTEM macro. > http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=80485de1aca06856aa740d0cdf872c5ad8eb2328 --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 9e392b1..e61353a 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ dnl initilization AC_INIT([libbluray], bluray_version, [http://www.videolan.org/developers/libbluray.html]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) -AC_CANONICAL_SYSTEM +AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign tar-ustar]) AC_CONFIG_HEADERS(config.h) @@ -269,16 +269,16 @@ AM_CONDITIONAL([USING_EXAMPLES], [ test $use_examples = "yes" ]) dnl use bdjava if [[ $use_bdjava = "yes" ]]; then - case $target_cpu in + case $host_cpu in x86_64) java_arch=amd64 ;; i?86) java_arch=i386 ;; - *) java_arch=$target_cpu ;; + *) java_arch=$host_cpu ;; esac - case $target_os in + case $host_os in linux*) java_os=linux ;; win*) java_os=win32 ;; freebsd*) java_os=freebsd ;; - *) java_os=$target_os ;; + *) java_os=$host_os ;; esac BDJAVA_CFLAGS="-I${JDK_HOME}/include -I${JDK_HOME}/include/$java_os" _______________________________________________ libbluray-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libbluray-devel
