summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
-rw-r--r--m4/compiler-flags.m41
-rw-r--r--m4/log.m427
5 files changed, 22 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index a1bcf86..363818d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+version 0.5.0
+ - [m4] Don't use bash arrays in m4 macros
+ https://github.com/01org/dleyna-core/issues/41
+ - [Autoconf] Add --no-undefined to compiler option
+ https://github.com/01org/dleyna-core/issues/33
+ - [settings] Add "push-host-port" setting
+ - [settings] Add "port" setting
+ - [Warnings] Fix compile warnings on ARM
+ Partial fix for https://github.com/01org/dleyna-renderer/issues/137
+
version 0.4.0
- Logs: print correct service name & version
- Fix a bug in the task queue cancellation
diff --git a/Makefile.am b/Makefile.am
index 8b982b8..340d6bc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@ libdleyna_coreincdir = $(includedir)/dleyna-1.0/libdleyna/core
connectordir = $(libdir)/dleyna-1.0/connectors
sysconfigdir = $(sysconfdir)
-DLEYNA_CORE_VERSION = 3:0:0
+DLEYNA_CORE_VERSION = 4:0:0
AM_CFLAGS = $(GLIB_CFLAGS) \
$(GIO_CFLAGS) \
diff --git a/configure.ac b/configure.ac
index 62bb581..9a96c84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
AC_PREREQ([2.66])
AC_INIT([dleyna-core],
- [0.5.0],
+ [0.6.0],
[https://github.com/01org/dleyna-core/issues/new],
,
[https://01.org/dleyna/])
diff --git a/m4/compiler-flags.m4 b/m4/compiler-flags.m4
index 4f2bad1..645137e 100644
--- a/m4/compiler-flags.m4
+++ b/m4/compiler-flags.m4
@@ -52,4 +52,5 @@ AC_DEFUN_ONCE([DLEYNA_CORE_COMPILER_FLAGS], [
fi
CFLAGS+=" -Wno-format-extra-args"
+ CFLAGS+=" -Wl,--no-undefined"
])
diff --git a/m4/log.m4 b/m4/log.m4
index dce4c2b..abc5a6e 100644
--- a/m4/log.m4
+++ b/m4/log.m4
@@ -23,29 +23,21 @@ dnl
AC_DEFUN([_DLEYNA_LOG_LEVEL_CHECK_VALUE],
[
AS_CASE($1,
- [[[1-6]]], [AS_IF([test ${log_array[[${log_level}]]} -ne 0],
+ [[[1-6]]], [AS_IF([test "x${log_unique}" = xyes],
[
- AC_MSG_ERROR(["$1 should be set once"], 1)
- ],
- [test "x${log_single}" = xyes],
- [
- AC_MSG_ERROR(["Unique value element already set"], 1)
+ AC_MSG_ERROR(["Log levels 0, 7 and 8 cannot be combined with other values"], 1)
])
+ let log_level_count++
],
[0|7|8], [AS_IF([test ${log_level_count} -ne 0],
[
- AC_MSG_ERROR(["$1 should be a unique value element"], 1)
+ AC_MSG_ERROR(["Log level $1 cannot be combined with other values"], 1)
])
- log_single=yes
+ log_unique=yes
],
-
[AC_MSG_ERROR(["$1 is not a valid value"], 1)]
)
-
- log_name=LOG_LEVEL_${log_level}
- eval log_value=\$${log_name}
- let "LOG_LEVEL |= ${log_value}"
]
)
@@ -57,19 +49,18 @@ AC_DEFUN([DLEYNA_LOG_LEVEL_CHECK],
IFS=","
log_ok=yes
- log_single=no
+ log_unique=no
log_level_count=0
LOG_LEVEL=0
- log_array=(0 0 0 0 0 0 0 0 0)
for log_level in $1
do
IFS=${old_IFS}
_DLEYNA_LOG_LEVEL_CHECK_VALUE([$log_level])
IFS=","
-
- let log_level_count++
- let log_array[[${log_level}]]++
+ log_name=LOG_LEVEL_${log_level}
+ eval log_value=\$${log_name}
+ let "LOG_LEVEL |= ${log_value}"
done
IFS=${old_IFS}