Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Configury beautification
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 28 Apr 2005 11:58:08 +0000 (11:58 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 28 Apr 2005 11:58:08 +0000 (11:58 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1244 48e7efb5-ca39-0410-a469-dd3cf9ba447f

ChangeLog
acmacro/fancy_configury.m4 [new file with mode: 0644]
configure.ac

index 2ebbe96..605e371 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -46,6 +46,7 @@ DONE
     killing gcc (< 3.4.0).
   * Doxygen cleanups: move MSG examples, kill the second Doxygen phase
     needed by MSG examples complications
     killing gcc (< 3.4.0).
   * Doxygen cleanups: move MSG examples, kill the second Doxygen phase
     needed by MSG examples complications
+  * Borrow configury beautifications from PHP
   
   (xbt)
   * Bugfix: XBT_LOG_NEW_DEFAULT_CATEGORY now compiles without compiler
   
   (xbt)
   * Bugfix: XBT_LOG_NEW_DEFAULT_CATEGORY now compiles without compiler
diff --git a/acmacro/fancy_configury.m4 b/acmacro/fancy_configury.m4
new file mode 100644 (file)
index 0000000..950cc72
--- /dev/null
@@ -0,0 +1,7 @@
+dnl SG_CONFIGURE_PART(MESSAGE)
+dnl Idea borrowed from PHP, which borrowed it from mm
+AC_DEFUN([SG_CONFIGURE_PART],[
+  AC_MSG_RESULT()
+  AC_MSG_RESULT([${T_MD}$1${T_ME}])
+])
+    
index 61903b2..f3c85e6 100644 (file)
@@ -19,9 +19,9 @@ ACLOCAL="$ACLOCAL -I acmacro"
 AC_PROG_LIBTOOL
 
 ###############
 AC_PROG_LIBTOOL
 
 ###############
-## Basic checks
+## System checks
 ##
 ##
-
+SG_CONFIGURE_PART(System checks...)
 AC_PROG_CC(xlC gcc cc)
 AM_SANITY_CHECK
 AC_PROG_MAKE_SET
 AC_PROG_CC(xlC gcc cc)
 AM_SANITY_CHECK
 AC_PROG_MAKE_SET
@@ -48,12 +48,14 @@ AC_TYPE_SIZE_T
 ## SimGrid and GRAS specific checks
 ##
 
 ## SimGrid and GRAS specific checks
 ##
 
+SG_CONFIGURE_PART(Checking GRAS architecture signature...)
 # Check architecture signature begin
 GRAS_ARCH
 # Check architecture signature end
 GRAS_CHECK_STRUCT_COMPACTION
 
 
 # Check architecture signature begin
 GRAS_ARCH
 # Check architecture signature end
 GRAS_CHECK_STRUCT_COMPACTION
 
 
+SG_CONFIGURE_PART(Checking for threads, contexts or assimilated...)
 AC_CHECK_UCONTEXT
 AC_MSG_CHECKING(on top of what can we build the contexts)
 AC_ARG_WITH(context,
 AC_CHECK_UCONTEXT
 AC_MSG_CHECKING(on top of what can we build the contexts)
 AC_ARG_WITH(context,
@@ -96,6 +98,7 @@ fi
 ## Check for libraries extra-dependencies
 ##
 
 ## Check for libraries extra-dependencies
 ##
 
+SG_CONFIGURE_PART(Checking extra libraries dependencies...)
 SIMGRID_DEP=""
 AC_SUBST([SIMGRID_DEP])
 
 SIMGRID_DEP=""
 AC_SUBST([SIMGRID_DEP])