~ubuntu-branches/ubuntu/trusty/openipmi/trusty-updates

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2009-07-28 10:17:23 UTC
  • mto: (2.1.4 squeeze) (1.1.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20090728101723-t19vhrbss6yz5v8u
Import upstream version 2.0.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
OPENIPMI_PKG_NAME=OpenIPMI
5
5
OPENIPMI_VERSION_MAJOR=2
6
6
OPENIPMI_VERSION_MINOR=0
7
 
OPENIPMI_VERSION_RELEASE=14
 
7
OPENIPMI_VERSION_RELEASE=16
8
8
OPENIPMI_VERSION_EXTRA=
9
9
AM_INIT_AUTOMAKE(OpenIPMI, ${OPENIPMI_VERSION_MAJOR}.${OPENIPMI_VERSION_MINOR}.${OPENIPMI_VERSION_RELEASE}${OPENIPMI_VERSION_EXTRA})
10
10
 
805
805
DIA=
806
806
AC_PATH_PROG(diaprog, dia)
807
807
if test "x$diaprog" != "x"; then
808
 
   diaver=`$diaprog --version | sed 's/Dia version \([[0-9]]\+\.[[0-9]]\+\), .*$/\1/'`
809
 
   tmp=`echo $diaver | sed 's/^[[0-9]]\+\.[[0-9]]\+$//'`
 
808
   diaver=`$diaprog --version | sed 's/Dia version \([[^,]]*\), .*$/\1/'`
 
809
   tmp=`echo $diaver | sed 's/^[[0-9.]]\+$//'`
810
810
   if test "x$diaver" == "x" -o "x$tmp" != 'x'; then
811
811
      # Couldn't get the dia version, give up.
812
812
      echo "Couldn't determine the dia version from '$diaver'"
813
813
   else
814
814
      DIA="$diaprog"
815
 
      diaver_major=`echo $diaver | sed 's/\.[[0-9]]\+$//'`
816
 
      diaver_minor=`echo $diaver | sed 's/^[[0-9]]\+\.//'`
 
815
      diaver_major=`echo $diaver | sed 's/\.[[0-9.]]\+$//'`
 
816
      diaver_minor=`echo $diaver | sed 's/^[[0-9]]\+\.//' | sed 's/\.[[0-9.]]\+$//'`
817
817
      echo "dia version is $diaver_major.$diaver_minor"
818
818
      if test $diaver_major -lt 1 -a $diaver_minor -lt 95; then
819
819
         # 0.94 and below use --export-to-format