Show
Ignore:
Timestamp:
12/16/09 17:19:02 (2 years ago)
Author:
erikd
Message:

Shave (git://git.lespiau.name/shave) the autotool output.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sweep/trunk/autogen.sh

    r580 r667  
    1414ACLOCAL_FLAGS="-I $srcdir/m4" 
    1515 
    16 echo "checking for autoconf... " 
     16echo -n "checking for autoconf ... " 
     17result="yes" 
    1718(autoconf --version) < /dev/null > /dev/null 2>&1 || { 
    1819        echo 
     
    2021        echo "Download the appropriate package for your distribution," 
    2122        echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" 
     23                result="no" 
    2224        DIE=1 
    2325} 
     26echo $result 
    2427 
    2528VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/" 
     
    3538  fi 
    3639  if test -z $AM_NEEDED; then 
    37     echo -n "checking for automake... " 
     40    echo -n "checking for automake ... " 
    3841    AUTOMAKE=automake 
    3942    ACLOCAL=aclocal 
     
    4548    fi 
    4649  else 
    47     echo -n "checking for automake $AM_NEEDED or later... " 
     50    echo -n "checking for automake $AM_NEEDED or later ... " 
    4851    majneeded=`echo $AM_NEEDED | $VERSIONMKMAJ` 
    4952    minneeded=`echo $AM_NEEDED | $VERSIONMKMIN` 
     
    6164    done 
    6265    test -z $AUTOMAKE &&  echo "no" 
    63     echo -n "checking for aclocal $AM_NEEDED or later... " 
     66    echo -n "checking for aclocal $AM_NEEDED or later ... " 
    6467    for ac in aclocal-$AM_NEEDED aclocal$AM_NEEDED \ 
    6568        aclocal aclocal-1.7 aclocal-1.8 aclocal-1.9 aclocal-1.10; do 
     
    8588fi 
    8689 
    87 echo -n "checking for libtool... " 
     90echo -n "checking for libtool ... " 
    8891for LIBTOOLIZE in libtoolize glibtoolize nope; do 
    8992  ($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 && break 
     
    103106        DIE=1 
    104107} 
     108 
     109echo -n "checking for pkg-config ... " 
     110result="yes" 
     111(pkg-config --version) < /dev/null > /dev/null 2>&1 || { 
     112        echo 
     113        echo "You must have pkg-config installed to compile $package." 
     114        echo "Download the appropriate package for your distribution." 
     115                result="no" 
     116        DIE=1 
     117} 
     118echo $result 
     119 
    105120 
    106121if test "$DIE" -eq 1; then