Changeset 667 for sweep/trunk/autogen.sh
- Timestamp:
- 12/16/09 17:19:02 (2 years ago)
- Files:
-
- sweep/trunk/autogen.sh (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sweep/trunk/autogen.sh
r580 r667 14 14 ACLOCAL_FLAGS="-I $srcdir/m4" 15 15 16 echo "checking for autoconf... " 16 echo -n "checking for autoconf ... " 17 result="yes" 17 18 (autoconf --version) < /dev/null > /dev/null 2>&1 || { 18 19 echo … … 20 21 echo "Download the appropriate package for your distribution," 21 22 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" 23 result="no" 22 24 DIE=1 23 25 } 26 echo $result 24 27 25 28 VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/" … … 35 38 fi 36 39 if test -z $AM_NEEDED; then 37 echo -n "checking for automake ... "40 echo -n "checking for automake ... " 38 41 AUTOMAKE=automake 39 42 ACLOCAL=aclocal … … 45 48 fi 46 49 else 47 echo -n "checking for automake $AM_NEEDED or later ... "50 echo -n "checking for automake $AM_NEEDED or later ... " 48 51 majneeded=`echo $AM_NEEDED | $VERSIONMKMAJ` 49 52 minneeded=`echo $AM_NEEDED | $VERSIONMKMIN` … … 61 64 done 62 65 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 ... " 64 67 for ac in aclocal-$AM_NEEDED aclocal$AM_NEEDED \ 65 68 aclocal aclocal-1.7 aclocal-1.8 aclocal-1.9 aclocal-1.10; do … … 85 88 fi 86 89 87 echo -n "checking for libtool ... "90 echo -n "checking for libtool ... " 88 91 for LIBTOOLIZE in libtoolize glibtoolize nope; do 89 92 ($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 && break … … 103 106 DIE=1 104 107 } 108 109 echo -n "checking for pkg-config ... " 110 result="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 } 118 echo $result 119 105 120 106 121 if test "$DIE" -eq 1; then
