Changeset 4531

Show
Ignore:
Timestamp:
02/08/07 00:16:17 (2 years ago)
Author:
morris
Message:

Regenerate

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libwired/trunk/configure

    r4518 r4531  
    13761376 
    13771377 
     1378 
     1379 
     1380 
     1381 
     1382 
     1383 
     1384 
     1385 
     1386 
     1387 
     1388 
     1389 
    13781390# Get host 
    13791391ac_aux_dir= 
     
    49634975if test -n "$enable_pthreads"; then 
    49644976 
    4965  
    4966  
    4967  
    4968  
    4969  
    4970  
    4971  
    4972  
    4973  
    4974  
    4975  
     4977        case $host in 
     4978                *-solaris*) 
     4979 
     4980cat >>confdefs.h <<\_ACEOF 
     4981#define _POSIX_PTHREAD_SEMANTICS 
     4982_ACEOF 
     4983 
     4984                        ;; 
     4985        esac 
    49764986 
    49774987 
     
    51255135 
    51265136 
    5127                if test "$_wi_pthreads_found" != yes ; then 
    5128                        OLD_LIBS="$LIBS" 
    5129                        LIBS=" $LIBS" 
    5130  
    5131                        if test "$cross_compiling" = yes; then 
    5132  
    5133                                cat >conftest.$ac_ext <<_ACEOF 
     5137        if test "$_wi_pthreads_found" != yes ; then 
     5138                OLD_LIBS="$LIBS" 
     5139                LIBS=" $LIBS" 
     5140 
     5141                if test "$cross_compiling" = yes; then 
     5142 
     5143                        cat >conftest.$ac_ext <<_ACEOF 
    51345144/* confdefs.h.  */ 
    51355145_ACEOF 
     
    51385148/* end confdefs.h.  */ 
    51395149 
    5140                #include <pthread.h> 
    5141                #include <errno.h> 
    5142  
    5143                void * thread(void *arg) { 
    5144                        return NULL; 
    5145                
     5150        #include <pthread.h> 
     5151        #include <errno.h> 
     5152 
     5153        void * thread(void *arg) { 
     5154                return NULL; 
     5155       
    51465156 
    51475157int 
     
    51495159{ 
    51505160 
    5151                pthread_t tid; 
    5152  
    5153                if(pthread_create(&tid, 0, thread, NULL) < 0) 
    5154                        return errno; 
    5155  
    5156                return 0; 
     5161        pthread_t tid; 
     5162 
     5163        if(pthread_create(&tid, 0, thread, NULL) < 0) 
     5164                return errno; 
     5165 
     5166        return 0; 
    51575167 
    51585168  ; 
     
    51835193  (exit $ac_status); }; }; then 
    51845194 
    5185                                        _wi_pthreads_test=yes 
     5195                                _wi_pthreads_test=yes 
    51865196 
    51875197else 
     
    51905200 
    51915201 
    5192                                        _wi_pthreads_test=no 
     5202                                _wi_pthreads_test=no 
    51935203 
    51945204fi 
     
    52055215 
    52065216 
    5207                #include <pthread.h> 
    5208                #include <errno.h> 
    5209  
    5210                void * thread(void *arg) { 
    5211                        return NULL; 
    5212                
    5213  
    5214  
    5215                int main(void) { 
    5216  
    5217                pthread_t tid; 
    5218  
    5219                if(pthread_create(&tid, 0, thread, NULL) < 0) 
    5220                        return errno; 
    5221  
    5222                return 0; 
    5223  
    5224                
     5217        #include <pthread.h> 
     5218        #include <errno.h> 
     5219 
     5220        void * thread(void *arg) { 
     5221                return NULL; 
     5222       
     5223 
     5224 
     5225        int main(void) { 
     5226 
     5227        pthread_t tid; 
     5228 
     5229        if(pthread_create(&tid, 0, thread, NULL) < 0) 
     5230                return errno; 
     5231 
     5232        return 0; 
     5233 
     5234       
    52255235 
    52265236_ACEOF 
     
    52375247  (exit $ac_status); }; }; then 
    52385248 
    5239                                _wi_pthreads_test=yes 
     5249                        _wi_pthreads_test=yes 
    52405250 
    52415251else 
     
    52465256( exit $ac_status ) 
    52475257 
    5248                                _wi_pthreads_test=no 
     5258                        _wi_pthreads_test=no 
    52495259 
    52505260fi 
     
    52525262fi 
    52535263 
    5254                         LIBS="$OLD_LIBS" 
    5255  
    5256                         if test "$_wi_pthreads_test" = yes ; then 
    5257                                 _wi_pthreads_found=yes 
    5258                                 _wi_pthreads_libs="" 
    5259                         fi 
     5264                LIBS="$OLD_LIBS" 
     5265 
     5266                if test "$_wi_pthreads_test" = yes ; then 
     5267                        _wi_pthreads_found=yes 
     5268                        _wi_pthreads_libs="" 
    52605269                fi 
    5261  
    5262  
    5263                 if test "$_wi_pthreads_found" != yes ; then 
    5264                         OLD_LIBS="$LIBS" 
    5265                         LIBS=" $LIBS" 
    5266  
    5267                         if test "$cross_compiling" = yes; then 
    5268  
    5269                                 cat >conftest.$ac_ext <<_ACEOF 
     5270        fi 
     5271 
     5272 
     5273        if test "$_wi_pthreads_found" != yes ; then 
     5274                OLD_LIBS="$LIBS" 
     5275                LIBS="-pthread $LIBS" 
     5276 
     5277                if test "$cross_compiling" = yes; then 
     5278 
     5279                        cat >conftest.$ac_ext <<_ACEOF 
    52705280/* confdefs.h.  */ 
    52715281_ACEOF 
     
    52745284/* end confdefs.h.  */ 
    52755285 
    5276                #include <pthread.h> 
    5277                #include <errno.h> 
    5278  
    5279                void * thread(void *arg) { 
    5280                        return NULL; 
    5281                
     5286        #include <pthread.h> 
     5287        #include <errno.h> 
     5288 
     5289        void * thread(void *arg) { 
     5290                return NULL; 
     5291       
    52825292 
    52835293int 
     
    52855295{ 
    52865296 
    5287                pthread_t tid; 
    5288  
    5289                if(pthread_create(&tid, 0, thread, NULL) < 0) 
    5290                        return errno; 
    5291  
    5292                return 0; 
     5297        pthread_t tid; 
     5298 
     5299        if(pthread_create(&tid, 0, thread, NULL) < 0) 
     5300                return errno; 
     5301 
     5302        return 0; 
    52935303 
    52945304  ; 
     
    53195329  (exit $ac_status); }; }; then 
    53205330 
    5321                                        _wi_pthreads_test=yes 
     5331                                _wi_pthreads_test=yes 
    53225332 
    53235333else 
     
    53265336 
    53275337 
    5328                                        _wi_pthreads_test=no 
     5338                                _wi_pthreads_test=no 
    53295339 
    53305340fi 
     
    53415351 
    53425352 
    5343                #include <pthread.h> 
    5344                #include <errno.h> 
    5345  
    5346                void * thread(void *arg) { 
    5347                        return NULL; 
    5348                
    5349  
    5350  
    5351                int main(void) { 
    5352  
    5353                pthread_t tid; 
    5354  
    5355                if(pthread_create(&tid, 0, thread, NULL) < 0) 
    5356                        return errno; 
    5357  
    5358                return 0; 
    5359  
    5360                
     5353        #include <pthread.h> 
     5354        #include <errno.h> 
     5355 
     5356        void * thread(void *arg) { 
     5357                return NULL; 
     5358       
     5359 
     5360 
     5361        int main(void) { 
     5362 
     5363        pthread_t tid; 
     5364 
     5365        if(pthread_create(&tid, 0, thread, NULL) < 0) 
     5366                return errno; 
     5367 
     5368        return 0; 
     5369 
     5370       
    53615371 
    53625372_ACEOF 
     
    53735383  (exit $ac_status); }; }; then 
    53745384 
    5375                                _wi_pthreads_test=yes 
     5385                        _wi_pthreads_test=yes 
    53765386 
    53775387else 
     
    53825392( exit $ac_status ) 
    53835393 
    5384                                _wi_pthreads_test=no 
     5394                        _wi_pthreads_test=no 
    53855395 
    53865396fi 
     
    53885398fi 
    53895399 
    5390                         LIBS="$OLD_LIBS" 
    5391  
    5392                         if test "$_wi_pthreads_test" = yes ; then 
    5393                                 _wi_pthreads_found=yes 
    5394                                 _wi_pthreads_libs="" 
    5395                         fi 
     5400                LIBS="$OLD_LIBS" 
     5401 
     5402                if test "$_wi_pthreads_test" = yes ; then 
     5403                        _wi_pthreads_found=yes 
     5404                        _wi_pthreads_libs="-pthread" 
    53965405                fi 
    5397  
    5398  
    5399                 if test "$_wi_pthreads_found" != yes ; then 
    5400                         OLD_LIBS="$LIBS" 
    5401                         LIBS=" $LIBS" 
    5402  
    5403                         if test "$cross_compiling" = yes; then 
    5404  
    5405                                 cat >conftest.$ac_ext <<_ACEOF 
     5406        fi 
     5407 
     5408 
     5409        if test "$_wi_pthreads_found" != yes ; then 
     5410                OLD_LIBS="$LIBS" 
     5411                LIBS="-lpthread $LIBS" 
     5412 
     5413                if test "$cross_compiling" = yes; then 
     5414 
     5415                        cat >conftest.$ac_ext <<_ACEOF 
    54065416/* confdefs.h.  */ 
    54075417_ACEOF 
     
    54105420/* end confdefs.h.  */ 
    54115421 
    5412                #include <pthread.h> 
    5413                #include <errno.h> 
    5414  
    5415                void * thread(void *arg) { 
    5416                        return NULL; 
    5417                
     5422        #include <pthread.h> 
     5423        #include <errno.h> 
     5424 
     5425        void * thread(void *arg) { 
     5426                return NULL; 
     5427       
    54185428 
    54195429int 
     
    54215431{ 
    54225432 
    5423                pthread_t tid; 
    5424  
    5425                if(pthread_create(&tid, 0, thread, NULL) < 0) 
    5426                        return errno; 
    5427  
    5428                return 0; 
     5433        pthread_t tid; 
     5434 
     5435        if(pthread_create(&tid, 0, thread, NULL) < 0) 
     5436                return errno; 
     5437 
     5438        return 0; 
    54295439 
    54305440  ; 
     
    54555465  (exit $ac_status); }; }; then 
    54565466 
    5457                                        _wi_pthreads_test=yes 
     5467                                _wi_pthreads_test=yes 
    54585468 
    54595469else 
     
    54625472 
    54635473 
    5464                                        _wi_pthreads_test=no 
     5474                                _wi_pthreads_test=no 
    54655475 
    54665476fi 
     
    54775487 
    54785488 
    5479                #include <pthread.h> 
    5480                #include <errno.h> 
    5481  
    5482                void * thread(void *arg) { 
    5483                        return NULL; 
    5484                
    5485  
    5486  
    5487                int main(void) { 
    5488  
    5489                pthread_t tid; 
    5490  
    5491                if(pthread_create(&tid, 0, thread, NULL) < 0) 
    5492                        return errno; 
    5493  
    5494                return 0; 
    5495  
    5496                
     5489        #include <pthread.h> 
     5490        #include <errno.h> 
     5491 
     5492        void * thread(void *arg) { 
     5493                return NULL; 
     5494       
     5495 
     5496 
     5497        int main(void) { 
     5498 
     5499        pthread_t tid; 
     5500 
     5501        if(pthread_create(&tid, 0, thread, NULL) < 0) 
     5502                return errno; 
     5503 
     5504        return 0; 
     5505 
     5506       
    54975507 
    54985508_ACEOF 
     
    55095519  (exit $ac_status); }; }; then 
    55105520 
    5511                                _wi_pthreads_test=yes 
     5521                        _wi_pthreads_test=yes 
    55125522 
    55135523else 
     
    55185528( exit $ac_status ) 
    55195529 
    5520                                _wi_pthreads_test=no 
     5530                        _wi_pthreads_test=no 
    55215531 
    55225532fi 
     
    55245534fi 
    55255535 
    5526                         LIBS="$OLD_LIBS" 
    5527  
    5528                         if test "$_wi_pthreads_test" = yes ; then 
    5529                                 _wi_pthreads_found=yes 
    5530                                 _wi_pthreads_libs="" 
    5531                         fi 
     5536                LIBS="$OLD_LIBS" 
     5537 
     5538                if test "$_wi_pthreads_test" = yes ; then 
     5539                        _wi_pthreads_found=yes 
     5540                        _wi_pthreads_libs="-lpthread" 
    55325541                fi 
     5542        fi 
    55335543 
    55345544