[Cbe-oss-dev] [PATCH 10/13]MARS/core: Reorder configure checks
Yuji Mano
yuji.mano at am.sony.com
Fri Dec 12 15:33:59 EST 2008
From: Kazunori Asayama <asayama at sm.sony.co.jp>
Reorder checks in configure scripts (core)
This patch changes the order of checks in configure scripts to
dependency between checks works correctly.
Signed-off-by: Kazunori Asayama <asayama at sm.sony.co.jp>
---
core/configure.ac.in | 6 +++---
core/src/host/configure.ac.in | 9 +++++----
core/src/mpu/configure.ac.in | 5 +++--
3 files changed, 11 insertions(+), 9 deletions(-)
Index: b/core/configure.ac.in
===================================================================
--- a/core/configure.ac.in 2008-12-04 11:52:36.000000000 +0900
+++ b/core/configure.ac.in 2008-12-11 11:02:21.000000000 +0900
@@ -39,12 +39,12 @@
AC_INIT([mars-core], [@version@], [MARS <cbe-oss-dev at ozlabs.org>])
AC_PREFIX_DEFAULT([/usr])
-
-AC_CONFIG_MARS_HOST
-
AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE
+
+AC_CONFIG_MARS_HOST
+
AC_SUBST([DESTDIR])
AC_CONFIG_HEADERS([config.h include/common/mars/features.h])
AC_CONFIG_FILES([Makefile])
Index: b/core/src/host/configure.ac.in
===================================================================
--- a/core/src/host/configure.ac.in 2008-12-09 18:14:57.000000000 +0900
+++ b/core/src/host/configure.ac.in 2008-12-11 11:03:00.000000000 +0900
@@ -38,6 +38,11 @@
AC_INIT([mars], [@version@], [MARS <cbe-oss-dev at ozlabs.org>])
+AC_CONFIG_AUX_DIR([.])
+
+AC_PROG_LIBTOOL
+AM_INIT_AUTOMAKE
+
AC_CONFIG_MARS_HOST
# OS specific checks
@@ -62,10 +67,6 @@ if test "x$enable_numa" = "xyes"; then
AC_CHECK_LIB(numa, numa_available)
fi
-AC_CONFIG_AUX_DIR([.])
-
-AC_PROG_LIBTOOL
-AM_INIT_AUTOMAKE
AC_SUBST([DESTDIR])
AC_CONFIG_HEADERS([lib/config.h])
AC_CONFIG_FILES([Makefile lib/Makefile])
Index: b/core/src/mpu/configure.ac.in
===================================================================
--- a/core/src/mpu/configure.ac.in 2008-12-04 11:52:36.000000000 +0900
+++ b/core/src/mpu/configure.ac.in 2008-12-11 11:03:34.000000000 +0900
@@ -38,13 +38,14 @@
AC_INIT([mars], [@version@], [MARS <cbe-oss-dev at ozlabs.org>])
-AC_CONFIG_MARS_MPU
-
AC_CONFIG_AUX_DIR([.])
AC_PROG_LIBTOOL
AM_INIT_AUTOMAKE
AM_PROG_AS
+
+AC_CONFIG_MARS_MPU
+
AC_SUBST([DESTDIR])
AC_CONFIG_HEADERS([lib/config.h])
AC_CONFIG_FILES([Makefile lib/Makefile kernel/Makefile])
More information about the cbe-oss-dev
mailing list