From patchwork Fri Jan 16 20:56:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 43262 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f198.google.com (mail-we0-f198.google.com [74.125.82.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 418BF240BA for ; Fri, 16 Jan 2015 20:56:13 +0000 (UTC) Received: by mail-we0-f198.google.com with SMTP id q58sf281664wes.1 for ; Fri, 16 Jan 2015 12:56:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=+BXSvE6pIuyZp+HD8/HKBkpa/cwuAFQNm5C4EFzxaaQ=; b=eAJ63MNbJa5wGU0RBKyGdwGHrOidHivspSvnDpYrkyAMUiWK704zuLWd7khsDZN2KQ cF8wu1ibmj1Pk9Ed2tFEZ6y+0asUOlNXUn0KAmzqRLa9JaQckoperC0J0lbwp2ILhq3f TLYPz+e+hrxUi63Ps8LWwqbDv7U614q0s7u7GzZzNRHYb1Pxk+oYVG/I3wjOR5gfxtgC Pk4ar4NzPqFN0R7clAUDnh2xQmzBobpkwzn3QenjGLI5j16LF4caAoHW+p33gKteBTg0 oq2FPsHVtFRC6t8ofkl0U+kRoRg+gLX1Vj0rg1OIFxvkpejdl1pQNX32/Oq9rHrQs1RS PvXQ== X-Gm-Message-State: ALoCoQkuQD3B4eK4zuVxI5KKsdn3qFXpBcpm/GH5XvuGse4M00kXQG3wWEyHNC2rn9pAp17gN5x1 X-Received: by 10.194.178.234 with SMTP id db10mr2218066wjc.2.1421441772578; Fri, 16 Jan 2015 12:56:12 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.242.129 with SMTP id wq1ls357386lac.56.gmail; Fri, 16 Jan 2015 12:56:12 -0800 (PST) X-Received: by 10.152.30.6 with SMTP id o6mr17985144lah.64.1421441772412; Fri, 16 Jan 2015 12:56:12 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id ss9si3921280lbb.89.2015.01.16.12.56.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Jan 2015 12:56:12 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by mail-la0-f51.google.com with SMTP id ge10so71023lab.10 for ; Fri, 16 Jan 2015 12:56:12 -0800 (PST) X-Received: by 10.152.115.146 with SMTP id jo18mr17952789lab.9.1421441772220; Fri, 16 Jan 2015 12:56:12 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp430034lbb; Fri, 16 Jan 2015 12:56:11 -0800 (PST) X-Received: by 10.140.106.100 with SMTP id d91mr9095359qgf.18.1421441770923; Fri, 16 Jan 2015 12:56:10 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id fk7si7596552qcb.6.2015.01.16.12.56.09 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 16 Jan 2015 12:56:10 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YCDw6-0000sW-Lw; Fri, 16 Jan 2015 20:56:06 +0000 Received: from mail-lb0-f181.google.com ([209.85.217.181]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YCDw0-0000sR-QM for lng-odp@lists.linaro.org; Fri, 16 Jan 2015 20:56:00 +0000 Received: by mail-lb0-f181.google.com with SMTP id u14so10943329lbd.12 for ; Fri, 16 Jan 2015 12:55:54 -0800 (PST) X-Received: by 10.112.51.44 with SMTP id h12mr17799750lbo.5.1421441754849; Fri, 16 Jan 2015 12:55:54 -0800 (PST) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id e7sm1109702lbq.33.2015.01.16.12.55.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jan 2015 12:55:54 -0800 (PST) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Fri, 16 Jan 2015 21:56:35 +0100 Message-Id: <1421441795-27090-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: patch Subject: [lng-odp] [PATCH] configure.ac: Move library function check X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anders.roxell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 AC_FUNC_MALLOC depends on the paths and gets confused if its not done first. Signed-off-by: Anders Roxell --- 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