summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-26 14:44:10 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-26 22:21:49 +0100
commit1781654659c6590365dce68b19f36e2b46fbf484 (patch)
tree207a5d3bc5980a7cd691119cf19cdc695cd60679
parentd4c97e7062c7c2f93ea42f61c199ce7944d0e198 (diff)
Add checks for memset() and strstr()
According to `autoscan`, these are used by some of the generated C code, and should be checked for at configure time.
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ebdf4fa..83b1266 100644
--- a/configure.ac
+++ b/configure.ac
@@ -115,6 +115,10 @@ VALA_CHECK_PACKAGES([telepathy-glib
gio-2.0
gee-1.0])
+# Various functions that we need (used in C code generated from Vala)
+AC_CHECK_FUNCS([memset])
+AC_CHECK_FUNCS([strstr])
+
# -----------------------------------------------------------
# Backends
# -----------------------------------------------------------