-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update autotools things (e.g. git-based version)
- Loading branch information
Showing
14 changed files
with
572 additions
and
585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ autom4te.cache/ | |
src/config.h.in~ | ||
src/*.o | ||
src/*.exe | ||
src/version.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Thanassis Tsiodras <[email protected]> | ||
Thanassis Tsiodras <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Automake macro to set the revision utils | ||
|
||
# Usage: AM_REVISION_UTILS([directory_name]). | ||
# Directory name must be a litteral string and not the result of a | ||
# command. | ||
|
||
AC_DEFUN([AM_REVISION_UTILS], | ||
[ | ||
# Take the current SVN revision | ||
AC_MSG_CHECKING(whether this is a SCM working copy) | ||
temp_scm_output=`(cd $srcdir; git rev-parse --short HEAD)` | ||
if test x"${temp_scm_output}" = x""; then | ||
# This means we are NOT working on a repository copy, the value of | ||
# SCM_REVISION will not be taken into account. | ||
SCM_REVISION="" | ||
AC_MSG_RESULT(no.) | ||
else | ||
SCM_REVISION="r${temp_scm_output}" | ||
AC_MSG_RESULT(yes: ${SCM_REVISION}.) | ||
fi | ||
AC_SUBST(SCM_REVISION) | ||
# Take the configure full date | ||
AC_MSG_CHECKING(the configuration full date) | ||
temp_config_date=`LANG=C date +"%A %d %B %Y, %H:%M:%S"` | ||
if test x"${temp_config_date}" = x""; then | ||
LAST_CONFIG_DATE="" | ||
AC_MSG_RESULT(empty date.) | ||
else | ||
LAST_CONFIG_DATE="${temp_config_date}" | ||
AC_MSG_RESULT(${LAST_CONFIG_DATE}.) | ||
fi | ||
AC_SUBST(LAST_CONFIG_DATE) | ||
# Take the configure year | ||
AC_MSG_CHECKING(the configuration year) | ||
temp_config_year=`LANG=C date +"%Y"` | ||
if test x"${temp_config_year}" = x""; then | ||
LAST_CONFIG_YEAR="2007" | ||
AC_MSG_RESULT(no year found, fall into default: ${LAST_CONFIG_YEAR}.) | ||
else | ||
LAST_CONFIG_YEAR="${temp_config_year}" | ||
AC_MSG_RESULT(${LAST_CONFIG_YEAR}) | ||
fi | ||
AC_SUBST(LAST_CONFIG_YEAR) | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
m4_include([ac-macros/ax_openmp.m4]) | ||
m4_include([ac-macros/ax_cflags_gcc_option.m4]) | ||
m4_include([ac-macros/revision_utils.m4]) |
Oops, something went wrong.