Changeset 1360:dc90b49b7675 in roaraudio


Ignore:
Timestamp:
03/24/09 17:30:45 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

--minimal disables IPv6, too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r1357 r1360  
    550550echo -n 'checking for IPv6... ' 
    551551 
    552 echo '#include <sys/socket.h>'  > $TF_C 
    553 echo '#include <netinet/in.h>' >> $TF_C 
    554 echo 'int main (void) { struct sockaddr_in6 in6; return 0; }' >> $TF_C 
    555  
    556 if $CCTF 2> /dev/null; 
    557 then 
    558  echo '#define ROAR_HAVE_IPV6' >&3 
    559  echo yes 
    560 else 
    561  echo no 
     552if $MINIMAL 
     553then 
     554 echo "disabled by user (minimalstic build)" 
     555else 
     556 echo '#include <sys/socket.h>'  > $TF_C 
     557 echo '#include <netinet/in.h>' >> $TF_C 
     558 echo 'int main (void) { struct sockaddr_in6 in6; return 0; }' >> $TF_C 
     559 
     560 if $CCTF 2> /dev/null; 
     561 then 
     562  echo '#define ROAR_HAVE_IPV6' >&3 
     563  echo yes 
     564 else 
     565  echo no 
     566 fi 
    562567fi 
    563568 
Note: See TracChangeset for help on using the changeset viewer.