On 16 January 2015 at 15:56, Anders Roxell <[email protected]> wrote:

> AC_FUNC_MALLOC depends on the paths and gets confused if its not done
> first.
>
> Signed-off-by: Anders Roxell <[email protected]>
>

Reviewed-and-tested-by: Mike Holmes <[email protected]>

This fixes the issues with Geoffrey's patch for me, it was not his patch
that caused the issue, it just exposed it.


> ---
>  configure.ac | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 440cc63..39610ee 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -25,6 +25,11 @@ LT_INIT([])
>  AC_SUBST([LIBTOOL_DEPS])
>  AM_PROG_LIBTOOL
>
> +# Checks for library functions.
> +AC_FUNC_MALLOC
> +AC_FUNC_MMAP
> +AC_CHECK_FUNCS([bzero clock_gettime gethostbyname getpagesize
> gettimeofday memset munmap socket strchr strerror strrchr strstr strtoull])
> +
>  # Checks for header files.
>  AC_HEADER_RESOLV
>  AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h netdb.h
> netinet/in.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h
> sys/time.h unistd.h])
> @@ -186,11 +191,6 @@ ODP_CFLAGS="$ODP_CFLAGS -Wformat-security -Wundef
> -Wwrite-strings"
>  ##########################################################################
>  AM_CFLAGS="$AM_CFLAGS $ODP_CFLAGS"
>
> -# Checks for library functions.
> -AC_FUNC_MALLOC
> -AC_FUNC_MMAP
> -AC_CHECK_FUNCS([bzero clock_gettime gethostbyname getpagesize
> gettimeofday memset munmap socket strchr strerror strrchr strstr strtoull])
> -
>  AC_CONFIG_FILES([Makefile
>                  doc/Makefile
>                  example/Makefile
> --
> 2.1.4
>
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> http://lists.linaro.org/mailman/listinfo/lng-odp
>



-- 
*Mike Holmes*
Linaro  Sr Technical Manager
LNG - ODP
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to