diff options
author | Thomas Klausner <wiz@danbala.tuwien.ac.at> | 2011-03-28 10:56:23 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-03-28 10:57:08 +0100 |
commit | dbc99e7d39fe024e60ce91db0b87f3b44c1df370 (patch) | |
tree | fac8d44a0ddc4661706c040aca46ef2831fbd38d /configure.ac | |
parent | 33cfd01e5832c953ac85c19648988f3cf6bf42a0 (diff) |
Check for strnlen, and define it if missing.
It doesn't exist on, for instance, NetBSD-5.1. (Patch modified slightly
to add a configure check.)
Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4fd6300..2b2b3fe 100644 --- a/configure.ac +++ b/configure.ac @@ -131,6 +131,8 @@ DBUS_SERVICES_DIR="$DATADIR/dbus-1/services" AC_SUBST(DBUS_SERVICES_DIR) AC_DEFINE_UNQUOTED(DBUS_SERVICES_DIR, "$DBUS_SERVICES_DIR", [DBus services directory]) +AC_CHECK_FUNCS(strnlen) + AC_OUTPUT( Makefile \ data/Makefile \ extensions/Makefile \ |