Merged,
Maxim.

On 04/05/16 20:08, Brian Brooks wrote:
On 04/01 22:15:34, Anders Roxell wrote:
Reorder the m4_include due to LIBS get contaminated while checking for
libraries.
Configure error:
checking for GCC atomic builtins... no
GCC-style __atomic builtins not supported by the compiler.
Use newer version. For gcc > 4.7.0

Suggested-by: Ricardo Salveti <ricardo.salv...@linaro.org>
Signed-off-by: Anders Roxell <anders.rox...@linaro.org>
---
Thanks to Brians patch "[PATCH 2/2] configure: remove dead code", with my
suggestion to it, we found out that the order matters.

Cheers,
Anders

  configure.ac | 16 ++++++++--------
  1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index ba814b3..d0d3ca6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,14 +83,6 @@ AC_SUBST([platform_with_platform], 
["platform/${with_platform}"])
  AC_SUBST([platform_with_platform_test], ["platform/${with_platform}/test"])
##########################################################################
-# Include m4 files
-##########################################################################
-m4_include([./doc/m4/configure.m4])
-m4_include([./example/m4/configure.m4])
-m4_include([./helper/m4/configure.m4])
-m4_include([./test/m4/configure.m4])
-
-##########################################################################
  # Run platform specific checks and settings
  ##########################################################################
  if test "${with_platform}" == "linux-generic";
@@ -102,6 +94,14 @@ else
  fi
##########################################################################
+# Include m4 files
+##########################################################################
+m4_include([./doc/m4/configure.m4])
+m4_include([./example/m4/configure.m4])
+m4_include([./helper/m4/configure.m4])
+m4_include([./test/m4/configure.m4])
+
+##########################################################################
  # Set SDK install path
  ##########################################################################
  AC_ARG_WITH([sdk-install-path],
--
2.1.4
Reviewed-by: Brian Brooks <brian.bro...@linaro.org>
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to