projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Centralize arch detection in a public header
[lttng-ust.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 4d82488dcecf33d9b5d555f24003f9f7f2fd291c..d089cfaa6445c7d853d01fcf3e3d36fd860e3eac 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-196,18
+196,16
@@
AS_CASE([$host_cpu],
[ppc64le], [],
[powerpc64], [],
[powerpc64le], [],
[ppc64le], [],
[powerpc64], [],
[powerpc64le], [],
- [s390], [
NO_UNALIGNED_ACCESS=1
],
- [s390x], [
NO_UNALIGNED_ACCESS=1
],
+ [s390], [],
+ [s390x], [],
[arm*], [
[arm*], [
- NO_UNALIGNED_ACCESS=1
NO_NUMA=1
],
NO_NUMA=1
],
- [aarch64*], [
NO_UNALIGNED_ACCESS=1
],
- [mips*], [
NO_UNALIGNED_ACCESS=1
],
- [tile*], [
NO_UNALIGNED_ACCESS=1
],
+ [aarch64*], [],
+ [mips*], [],
+ [tile*], [],
[
UNSUPPORTED_ARCH=1
[
UNSUPPORTED_ARCH=1
- NO_UNALIGNED_ACCESS=1
])
# Set os specific options
])
# Set os specific options
@@
-216,7
+214,6
@@
AS_CASE([$host_os],
)
# Configuration options, which will be installed in the config.h
)
# Configuration options, which will be installed in the config.h
-AH_TEMPLATE([LTTNG_UST_HAVE_EFFICIENT_UNALIGNED_ACCESS], [Use efficient unaligned access.])
AH_TEMPLATE([LTTNG_UST_HAVE_SDT_INTEGRATION], [SystemTap integration via sdt.h])
# Checks for libraries.
AH_TEMPLATE([LTTNG_UST_HAVE_SDT_INTEGRATION], [SystemTap integration via sdt.h])
# Checks for libraries.
@@
-288,10
+285,6
@@
AS_IF([test "x$have_perf_event" = "xyes"], [
AC_DEFINE([HAVE_PERF_EVENT], [1])
])
AC_DEFINE([HAVE_PERF_EVENT], [1])
])
-AS_IF([test "x$NO_UNALIGNED_ACCESS" = "x"], [
- AC_DEFINE([LTTNG_UST_HAVE_EFFICIENT_UNALIGNED_ACCESS], [1])
-])
-
# Check for JNI header files if requested
AC_ARG_ENABLE([jni-interface], [
AS_HELP_STRING([--enable-jni-interface], [build JNI interface between C and Java. Needs Java include files [default=no]])
# Check for JNI header files if requested
AC_ARG_ENABLE([jni-interface], [
AS_HELP_STRING([--enable-jni-interface], [build JNI interface between C and Java. Needs Java include files [default=no]])
@@
-567,9
+560,6
@@
PPRINT_SUBTITLE([System])
PPRINT_PROP_STRING([Target architecture], $host_cpu)
PPRINT_PROP_STRING([Target architecture], $host_cpu)
-test "x$NO_UNALIGNED_ACCESS" != "x1" && value=1 || value=0
-PPRINT_PROP_BOOL([Efficient unaligned memory access], $value)
-
AS_IF([test "x$UNSUPPORTED_ARCH" = "x1"],[
PPRINT_WARN([Your architecture ($host_cpu) is unsupported, using safe default of no unaligned access.])
])
AS_IF([test "x$UNSUPPORTED_ARCH" = "x1"],[
PPRINT_WARN([Your architecture ($host_cpu) is unsupported, using safe default of no unaligned access.])
])
This page took
0.02428 seconds
and
4
git commands to generate.