Changeset 5854:3f6fbd6d10fa in roaraudio


Ignore:
Timestamp:
01/08/13 01:43:13 (7 years ago)
Author:
phi
Branch:
default
Message:

added common ${ROAR_BUILDSYSTEM_DEFPREFIX}HAVE_PTHREAD for both -pthread and -lpthread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build-system/configure.tests

    r5808 r5854  
    942942 if $CCTF -pthread 2> /dev/null; 
    943943 then 
    944   echo '#define ROAR_HAVE_CC_PTHREAD_OPTION' >&3 
     944  echo "#define ${ROAR_BUILDSYSTEM_DEFPREFIX}HAVE_CC_PTHREAD_OPTION" >&3 
    945945  echo 'opt_pthread=-pthread' >&4 
    946946  echo 'pthread=$(opt_pthread)' >&4 
    947947  echo yes 
    948   return 0 
     948  _ret=0 
    949949 else 
    950950  echo 'opt_pthread=' >&4 
     
    952952  echo no 
    953953  test_lib_defmake ${ROAR_BUILDSYSTEM_DEFPREFIX}HAVE_LIBPTHREAD    %            libpthread    pthread    -- pthread.h 
    954   return $? 
    955  fi 
     954  _ret=$? 
     955 fi 
     956 
     957 [ "$_ret" = '0' ] && echo "#define ${ROAR_BUILDSYSTEM_DEFPREFIX}HAVE_PTHREAD" >&3 
     958 return $_ret 
    956959} 
    957960 
Note: See TracChangeset for help on using the changeset viewer.