sgl

diff configure @ 12:bf34fa677960

- fixed mac issues.
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 14 May 2011 12:02:22 +0300
parents b925dabd4e96
children e989ab58ec5b
line diff
     1.1 --- a/configure	Sat May 14 09:06:46 2011 +0300
     1.2 +++ b/configure	Sat May 14 12:02:22 2011 +0300
     1.3 @@ -5,7 +5,7 @@
     1.4  
     1.5  extract()
     1.6  {
     1.7 -	grep "$2:" $1 | sed "s/^.*$2:\(.*\)\*\//\1/" | awk '{ print $1 }'
     1.8 +	grep "$2:" $1 | sed "s/^.*$2: *\(.*\)\*\//\1/"
     1.9  }
    1.10  
    1.11  get_depline()
    1.12 @@ -68,9 +68,9 @@
    1.13  	fi
    1.14  
    1.15  	name=`echo $m | sort | sed 's/src\/wsys_//' | sed 's/\.c//'`
    1.16 -	echo -n "-> trying module $name (needs: $dep) ... "
    1.17 +	`which echo` -n "-> trying module $name (needs: $dep) ... "
    1.18  
    1.19 -	if try_link $dep; then
    1.20 +	if try_link "$dep"; then
    1.21  		echo ok
    1.22  
    1.23  		libs="$libs $dep"