RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: xar/ autogen.sh

From: Anders F. Björklund <afb@rpm5.org>
Date: Thu 13 Sep 2007 - 11:10:53 CEST
Message-Id: <20070913091053.82929348457@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Anders F. Björklund
  Root:   /v/rpm/cvs                       Email:  afb@rpm5.org
  Module: xar                              Date:   13-Sep-2007 11:10:53
  Branch: HEAD                             Handle: 2007091310105300

  Modified files:
    xar                     autogen.sh

  Log:
    more GNU automake envy

  Summary:
    Revision    Changes     Path
    1.3         +14 -0      xar/autogen.sh
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: xar/autogen.sh
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 autogen.sh
  --- xar/autogen.sh	11 Jun 2007 13:41:07 -0000	1.2
  +++ xar/autogen.sh	13 Sep 2007 09:10:53 -0000	1.3
  @@ -13,6 +13,20 @@
       exit 0;
   fi
   
  +# even if not using automake, we do need some files from it
  +for f in install-sh config.guess config.sub; do
  +    if ! test -f $f; then
  +        if ! test -f ../$f; then
  +            echo "+ $f"
  +            automake=`which automake`
  +            autobin=`dirname "$automake"`
  +            # this is of course cheating... bad.
  +            autodata=$autobin/../share/automake*
  +            cp $autodata/$f .
  +        fi
  +    fi
  +done
  +
   echo "./configure --enable-autogen $@"
   ./configure --enable-autogen $@
   if [ $? -ne 0 ]; then
  @@ .
Received on Thu Sep 13 11:10:53 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.