[libgdata] build: Add checks for various functions and headers to configure.ac
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] build: Add checks for various functions and headers to configure.ac
- Date: Thu, 26 Aug 2010 20:05:04 +0000 (UTC)
commit e21402592623baaec5498e6f61e00da6d5076581
Author: Philip Withnall <philip tecnocode co uk>
Date: Thu Aug 26 21:01:01 2010 +0100
build: Add checks for various functions and headers to configure.ac
As suggested by `autoscan`.
configure.ac | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6983553..69b5d00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,6 +81,13 @@ fi
AC_SUBST(GNOME_CFLAGS)
AC_SUBST(GNOME_LIBS)
+# Various necessary functions and headers
+AC_CHECK_FUNCS([strchr])
+AC_CHECK_FUNCS([strstr])
+AC_CHECK_FUNCS([strtol])
+AC_CHECK_FUNCS([strtoul])
+AC_CHECK_HEADERS([sys/time.h])
+
# Internationalisation support
GETTEXT_PACKAGE=gdata
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define to the Gettext package name])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]