diff options
| author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-06-25 17:01:51 +0100 |
|---|---|---|
| committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-06-25 17:01:51 +0100 |
| commit | f6066573d25508f5cbbc5c12254086d419bb8828 (patch) | |
| tree | 470a9a7eb3dc658b2886d5539ba6363792cc7698 /configure.ac | |
| parent | 4a0f4379d4a5783d576aec90019a39459eff007d (diff) | |
| download | dbus-python-1.1.1.tar.gz | |
fd.o #40817: validate UTF-8 according to the same rules as libdbusdbus-python-1.1.1
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ea99996..ad644d9 100644 --- a/configure.ac +++ b/configure.ac @@ -158,9 +158,13 @@ PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.4]) PKG_CHECK_MODULES(DBUS_GLIB, [dbus-glib-1 >= 0.70]) dbuspy_save_CFLAGS="$CFLAGS" +dbuspy_save_LIBS="$LIBS" CFLAGS="$CFLAGS $DBUS_CFLAGS" +LIBS="$CFLAGS $DBUS_LIBS" AC_CHECK_TYPES([DBusBasicValue], [], [], [#include <dbus/dbus.h>]) +AC_CHECK_FUNCS([dbus_validate_utf8]) CFLAGS="$dbuspy_save_CFLAGS" +LIBS="$dbuspy_save_LIBS" TP_COMPILER_WARNINGS([CFLAGS_WARNINGS], [test] dbus_python_released [= 0], [all \ |
