git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2825
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
ACLOCAL = aclocal-1.9 -I acmacro
AUTOMAKE_OPTIONS = gnu
ACLOCAL = aclocal-1.9 -I acmacro
AUTOMAKE_OPTIONS = gnu
-SOURCE_FILES = $(shell find . -name "*.[ch]")
-TAGS: $(SOURCE_FILES)
- @etags $(SOURCE_FILES)
-
-tags: TAGS
+check-local:
+ echo @build_id@ > stamp.check
+all-local:
+ echo @build_id@ > stamp.build
gramine:
rm -rf gramine-@VERSION@ gramine-@VERSION@.tar*
gramine:
rm -rf gramine-@VERSION@ gramine-@VERSION@.tar*
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
-
-AC_SUBST(ac_configure_args)
###############
## System checks
##
###############
## System checks
##
AC_DEFINE_UNQUOTED(ADDR2LINE,"$ADDR2LINE",[Path to the addr2line tool])
fi
AC_DEFINE_UNQUOTED(ADDR2LINE,"$ADDR2LINE",[Path to the addr2line tool])
fi
+AC_SUBST(ac_configure_args)
+# Can we make status line about the compilation result?
+AC_CHECK_PROG(MD5SUM,md5sum,`which md5sum`)
+if test x$MD5SUM != xno ; then
+ build_version=`find -name '*.[ch]' |grep -v src/ucontext_stack.h | grep -v src/gras_config.h |\
+ xargs cat| $MD5SUM | sed 's/ .*$//'`
+else
+ build_version="no_md5sum_binary"
+fi
+build_id="$PACKAGE ver=$VERSION build=$build_version args=\"$ac_configure_args\""
+AC_SUBST(build_id)
+
###################
## Makes the output
##
###################
## Makes the output
##
echo "WARNING: ./configure --enable-maintainer-mode $ac_configure_args"
echo "WARNING:"
fi
echo "WARNING: ./configure --enable-maintainer-mode $ac_configure_args"
echo "WARNING:"
fi
+echo $build_id > stamp.configure