configure.ac: Fix BUILDID
Change-Id: Id9717422c3d5d2de51570d4672864dbd271ad0fc
This commit is contained in:
committed by
Dominique Martinet
parent
ae9a1f39df
commit
136b749349
2
configure
vendored
2
configure
vendored
@@ -4850,7 +4850,7 @@ _ACEOF
|
|||||||
|
|
||||||
ABS_SRCDIR=$( cd $( dirname $0 ); pwd )
|
ABS_SRCDIR=$( cd $( dirname $0 ); pwd )
|
||||||
IHK_ABS_SRCDIR=${ABS_SRCDIR}/../ihk
|
IHK_ABS_SRCDIR=${ABS_SRCDIR}/../ihk
|
||||||
BUILDID=$( cd $IHK_ABS_SRCDIR; if [ ! -d .git ]; then echo $IHK_VERSION; else bash -c 'git rev-list -1 HEAD | cut -c1-8'; fi )
|
BUILDID=$( cd $IHK_ABS_SRCDIR; if [ ! -e .git ]; then echo $IHK_VERSION; else bash -c 'git rev-list -1 HEAD | cut -c1-8'; fi )
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: BUILDID=$BUILDID" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: BUILDID=$BUILDID" >&5
|
||||||
$as_echo "$as_me: BUILDID=$BUILDID" >&6;}
|
$as_echo "$as_me: BUILDID=$BUILDID" >&6;}
|
||||||
if test "x$BUILDID" != "x" ; then
|
if test "x$BUILDID" != "x" ; then
|
||||||
|
|||||||
@@ -509,7 +509,7 @@ AC_DEFINE_UNQUOTED(MCKERNEL_VERSION,"$MCKERNEL_VERSION",[McKernel version string
|
|||||||
|
|
||||||
ABS_SRCDIR=$( cd $( dirname $0 ); pwd )
|
ABS_SRCDIR=$( cd $( dirname $0 ); pwd )
|
||||||
IHK_ABS_SRCDIR=${ABS_SRCDIR}/../ihk
|
IHK_ABS_SRCDIR=${ABS_SRCDIR}/../ihk
|
||||||
BUILDID=$( cd $IHK_ABS_SRCDIR; if @<:@ ! -d .git @:>@; then echo $IHK_VERSION; else bash -c 'git rev-list -1 HEAD | cut -c1-8'; fi )
|
BUILDID=$( cd $IHK_ABS_SRCDIR; if @<:@ ! -e .git @:>@; then echo $IHK_VERSION; else bash -c 'git rev-list -1 HEAD | cut -c1-8'; fi )
|
||||||
AC_MSG_NOTICE([BUILDID=$BUILDID])
|
AC_MSG_NOTICE([BUILDID=$BUILDID])
|
||||||
if test "x$BUILDID" != "x" ; then
|
if test "x$BUILDID" != "x" ; then
|
||||||
AC_DEFINE_UNQUOTED(BUILDID,"$BUILDID",[IHK build-id to confirm IHK and McKernel built at the same time are used])
|
AC_DEFINE_UNQUOTED(BUILDID,"$BUILDID",[IHK build-id to confirm IHK and McKernel built at the same time are used])
|
||||||
|
|||||||
Reference in New Issue
Block a user