mirror of https://gitee.com/openkylin/libvirt.git
* configure.in: small patch from Mike Gerdts to avoid problems with
older awk implementations, fixes #439649 Daniel
This commit is contained in:
parent
497f252015
commit
be03daaab2
|
@ -1,3 +1,8 @@
|
|||
Mon Mar 31 14:12:42 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* configure.in: small patch from Mike Gerdts to avoid problems with
|
||||
older awk implementations, fixes #439649
|
||||
|
||||
Mon Mar 31 13:58:25 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/lxc_conf.c src/lxc_conf.h: cleanup patch for the conf driver
|
||||
|
|
|
@ -8,9 +8,9 @@ dnl Make automake keep quiet about wildcards & other GNUmake-isms
|
|||
AM_INIT_AUTOMAKE([-Wno-portability])
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
LIBVIRT_MAJOR_VERSION=`echo $VERSION | awk -F . '{print $1}'`
|
||||
LIBVIRT_MINOR_VERSION=`echo $VERSION | awk -F . '{print $2}'`
|
||||
LIBVIRT_MICRO_VERSION=`echo $VERSION | awk -F . '{print $3}'`
|
||||
LIBVIRT_MAJOR_VERSION=`echo $VERSION | awk -F. '{print $1}'`
|
||||
LIBVIRT_MINOR_VERSION=`echo $VERSION | awk -F. '{print $2}'`
|
||||
LIBVIRT_MICRO_VERSION=`echo $VERSION | awk -F. '{print $3}'`
|
||||
LIBVIRT_VERSION=$LIBVIRT_MAJOR_VERSION.$LIBVIRT_MINOR_VERSION.$LIBVIRT_MICRO_VERSION$LIBVIRT_MICRO_VERSION_SUFFIX
|
||||
LIBVIRT_VERSION_INFO=`expr $LIBVIRT_MAJOR_VERSION + $LIBVIRT_MINOR_VERSION`:$LIBVIRT_MICRO_VERSION:$LIBVIRT_MINOR_VERSION
|
||||
LIBVIRT_VERSION_NUMBER=`expr $LIBVIRT_MAJOR_VERSION \* 1000000 + $LIBVIRT_MINOR_VERSION \* 1000 + $LIBVIRT_MICRO_VERSION`
|
||||
|
|
Loading…
Reference in New Issue