projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: fix printing a description containing a comma
[lttng-ust.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index cf2e0e3e75f04d18dbc85fff2781c7203e60238b..6f4ab90733b014100b41b61c8a061dc78d03d409 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-179,6
+179,11
@@
AC_LANG_POP([C])
# Clang >= 3.3 (required by the project) and are only valid for C code.
WARN_CFLAGS="${WARN_CFLAGS} -Wold-style-definition -Wstrict-prototypes"
# Clang >= 3.3 (required by the project) and are only valid for C code.
WARN_CFLAGS="${WARN_CFLAGS} -Wold-style-definition -Wstrict-prototypes"
+# Disable 'strict aliasing' if the compiler supports it.
+AC_LANG_PUSH([C])
+AX_APPEND_COMPILE_FLAGS([-fno-strict-aliasing], [OPT_CFLAGS], [-Werror])
+AC_LANG_POP([C])
+
## ##
## C++ compiler checks ##
## ##
## C++ compiler checks ##
@@
-256,6
+261,7
@@
AC_CHECK_FUNCS([ \
clock_gettime \
ftruncate \
getpagesize \
clock_gettime \
ftruncate \
getpagesize \
+ gettid \
gettimeofday \
localeconv \
memchr \
gettimeofday \
localeconv \
memchr \
@@
-544,7
+550,7
@@
AC_SUBST([LTTNG_UST_CTL_LIBRARY_VERSION], ust_ctl_lib_version)
# Major soname for python-lttngust
AC_SUBST([LTTNG_UST_LIB_SONAME_MAJOR], [ust_lib_version_current])
# Major soname for python-lttngust
AC_SUBST([LTTNG_UST_LIB_SONAME_MAJOR], [ust_lib_version_current])
-AM_CFLAGS="$WARN_CFLAGS $URCU_CFLAGS $PTHREAD_CFLAGS"
+AM_CFLAGS="$
OPT_CFLAGS $
WARN_CFLAGS $URCU_CFLAGS $PTHREAD_CFLAGS"
AC_SUBST(AM_CFLAGS)
AM_CXXFLAGS="$WARN_CXXFLAGS $URCU_CFLAGS $PTHREAD_CFLAGS"
AC_SUBST(AM_CFLAGS)
AM_CXXFLAGS="$WARN_CXXFLAGS $URCU_CFLAGS $PTHREAD_CFLAGS"
@@
-594,8
+600,8
@@
AC_CONFIG_FILES([
src/lib/lttng-ust/Makefile
src/lib/lttng-ust-python-agent/Makefile
src/lib/Makefile
src/lib/lttng-ust/Makefile
src/lib/lttng-ust-python-agent/Makefile
src/lib/Makefile
- src/lttng-ust-ctl.pc
- src/lttng-ust.pc
+ src/l
ib/l
ttng-ust-ctl.pc
+ src/l
ib/l
ttng-ust.pc
src/Makefile
src/python-lttngust/lttngust/version.py
src/python-lttngust/Makefile
src/Makefile
src/python-lttngust/lttngust/version.py
src/python-lttngust/Makefile
@@
-644,9
+650,9
@@
AS_ECHO
AS_IF([test -n "ust_version_description"], [
AS_IF([test -n "$FOLD"], [
AS_IF([test -n "ust_version_description"], [
AS_IF([test -n "$FOLD"], [
- AS_ECHO(
"`AS_ECHO("ust_version_description") | $FOLD -s`")
+ AS_ECHO(
["ust_version_description"]) | $FOLD -s
], [
], [
- AS_ECHO(
"ust_version_description"
)
+ AS_ECHO(
["ust_version_description"]
)
])
AS_ECHO
])
])
AS_ECHO
])
This page took
0.02368 seconds
and
4
git commands to generate.