Skip to content

Commit 0d4a869

Browse files
committed
Updated boost autoconf macros to fix multi-arch detection.
Bumped version number.
1 parent 7fd1c44 commit 0d4a869

6 files changed

Lines changed: 24 additions & 7 deletions

File tree

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
0.43:
2+
* Updated boost autoconf macros to fix multi-arch detection.
3+
14
0.42:
25
* Fixed bzr log command when no start date was specified (chrisf).
36
* Fixed hg log commit order when date range specified.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
AC_PREREQ(2.61)
55

6-
AC_INIT(Gource, 0.42, [acaudwell@gmail.com])
6+
AC_INIT(Gource, 0.43, [acaudwell@gmail.com])
77
AC_CONFIG_AUX_DIR([build-aux])
88
AC_CONFIG_SRCDIR([src/main.h])
99
AM_INIT_AUTOMAKE([dist-bzip2 foreign subdir-objects])

m4/ax_boost_base.m4

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# and this notice are preserved. This file is offered as-is, without any
3434
# warranty.
3535

36-
#serial 20
36+
#serial 23
3737

3838
AC_DEFUN([AX_BOOST_BASE],
3939
[
@@ -91,9 +91,23 @@ if test "x$want_boost" = "xyes"; then
9191
dnl are found, e.g. when only header-only libraries are installed!
9292
libsubdirs="lib"
9393
ax_arch=`uname -m`
94-
if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
94+
case $ax_arch in
95+
x86_64|ppc64|s390x|sparc64|aarch64)
9596
libsubdirs="lib64 lib lib64"
96-
fi
97+
;;
98+
esac
99+
100+
dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give
101+
dnl them priority over the other paths since, if libs are found there, they
102+
dnl are almost assuredly the ones desired.
103+
AC_REQUIRE([AC_CANONICAL_HOST])
104+
libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs"
105+
106+
case ${host_cpu} in
107+
i?86)
108+
libsubdirs="lib/i386-${host_os} $libsubdirs"
109+
;;
110+
esac
97111
98112
dnl first we check the system location for boost libraries
99113
dnl this location ist chosen if boost libraries are installed with the --layout=system option

m4/ax_boost_filesystem.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# and this notice are preserved. This file is offered as-is, without any
3232
# warranty.
3333

34-
#serial 24
34+
#serial 26
3535

3636
AC_DEFUN([AX_BOOST_FILESYSTEM],
3737
[

m4/ax_boost_system.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# and this notice are preserved. This file is offered as-is, without any
3232
# warranty.
3333

34-
#serial 14
34+
#serial 17
3535

3636
AC_DEFUN([AX_BOOST_SYSTEM],
3737
[

src/gource_settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#ifndef GOURCE_SETTINGS_H
1919
#define GOURCE_SETTINGS_H
2020

21-
#define GOURCE_VERSION "0.42"
21+
#define GOURCE_VERSION "0.43"
2222

2323
#include "core/texture.h"
2424
#include "core/settings.h"

0 commit comments

Comments
 (0)