projects
/
profile
/
ivi
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fe8b81
)
build-sys: check for malloc only if we're not cross-compiling.
author
Krisztian Litkey
<krisztian.litkey@intel.com>
Thu, 21 Aug 2014 14:22:57 +0000
(17:22 +0300)
committer
Krisztian Litkey
<krisztian.litkey@intel.com>
Thu, 21 Aug 2014 14:22:57 +0000
(17:22 +0300)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
f6e37ea
..
e31240c
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-108,7
+108,9
@@
AC_CHECK_TYPES([ptrdiff_t])
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_HEADER_MAJOR
-AC_FUNC_MALLOC
+if test "$cross_compiling" = "no"; then
+ AC_FUNC_MALLOC
+fi
AC_FUNC_STRTOD
AC_CHECK_FUNCS([clock_gettime memmove memset regcomp strcasecmp strchr strdup strrchr strtol strtoul])