Changeset 4566:ef829932fde0 in roaraudio


Ignore:
Timestamp:
10/29/10 00:36:12 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fix env var overwriting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r4565 r4566  
    593593  _h="$1"; 
    594594  shift; 
    595   envname=`echo "$_h" | to_escaped` 
    596   eval "_t=\$libname_$envname" 
    597   echo "LIB($name) DEPENDS ON $_h($envname) with state '$_t'" >&5 
     595  _envname=`echo "$_h" | to_escaped` 
     596  eval "_t=\$libname_$_envname" 
     597  echo "LIB($name) DEPENDS ON $_h($_envname) with state '$_t'" >&5 
    598598  if [ "$_t" = 'false' ] 
    599599  then 
     
    715715   eval "lib_$envlib='$LIBS'" 
    716716  else 
     717   echo "LIB($name) SETS libname_$envname=true" >&5 
    717718   eval "libname_$envname=true" 
    718719  fi 
     
    722723  [ "$lib" != 'c' ] && \ 
    723724   echo "lib_$envlib=" >&4 
     725  echo "LIB($name) SETS libname_$envname=false" >&5 
    724726  eval "libname_$envname=false" 
    725727 fi 
     
    863865 for _h in $HEADERS 
    864866 do 
    865   envname=`echo "$_h" | to_escaped` 
    866   eval "_t=\$libname_$envname" 
     867  _envname=`echo "$_h" | to_escaped` 
     868  eval "_t=\$libname_$_envname" 
     869  echo "TYPE($NAME) DEPENDS ON $_h($_envname) with state '$_t'" >&5 
    867870  if [ "$_t" = 'false' ] 
    868871  then 
Note: See TracChangeset for help on using the changeset viewer.