|
@ -8,9 +8,6 @@ if test -d ".git"; then |
|
|
# NOTE: keep in sync with the definitions for configure.in files under the packages folder |
|
|
# NOTE: keep in sync with the definitions for configure.in files under the packages folder |
|
|
GIT_COMMITS=`git rev-list --count HEAD` |
|
|
GIT_COMMITS=`git rev-list --count HEAD` |
|
|
GIT_REVISION=`git rev-parse --short HEAD` |
|
|
GIT_REVISION=`git rev-parse --short HEAD` |
|
|
GIT_RELEASE="${N2N_VERSION_SHORT}.r${GIT_COMMITS}.${GIT_REVISION}" |
|
|
|
|
|
else |
|
|
|
|
|
GIT_RELEASE=${N2N_VERSION_SHORT} |
|
|
|
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if test "${CC+set}" != set; then |
|
|
if test "${CC+set}" != set; then |
|
@ -108,7 +105,6 @@ dnl> wget -O config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=bl |
|
|
OSNAME=`./config.guess` |
|
|
OSNAME=`./config.guess` |
|
|
fi |
|
|
fi |
|
|
AC_DEFINE_UNQUOTED(PACKAGE_OSNAME, "${OSNAME}", [OS name]) |
|
|
AC_DEFINE_UNQUOTED(PACKAGE_OSNAME, "${OSNAME}", [OS name]) |
|
|
AC_DEFINE_UNQUOTED(GIT_RELEASE, "${GIT_RELEASE}", [GIT release]) |
|
|
|
|
|
|
|
|
|
|
|
if test $MACHINE = "x86_64"; then |
|
|
if test $MACHINE = "x86_64"; then |
|
|
EXTN="amd64" |
|
|
EXTN="amd64" |
|
@ -127,7 +123,6 @@ AC_SUBST(LDFLAGS) |
|
|
AC_SUBST(N2N_VERSION_SHORT) |
|
|
AC_SUBST(N2N_VERSION_SHORT) |
|
|
AC_SUBST(GIT_COMMITS) |
|
|
AC_SUBST(GIT_COMMITS) |
|
|
AC_SUBST(GIT_REVISION) |
|
|
AC_SUBST(GIT_REVISION) |
|
|
AC_SUBST(GIT_RELEASE) |
|
|
|
|
|
AC_SUBST(N2N_DEFINES) |
|
|
AC_SUBST(N2N_DEFINES) |
|
|
AC_SUBST(N2N_LIBS) |
|
|
AC_SUBST(N2N_LIBS) |
|
|
AC_SUBST(ADDITIONAL_TOOLS) |
|
|
AC_SUBST(ADDITIONAL_TOOLS) |
|
|