Changeset 5658
- Timestamp:
- 08/07/08 10:06:03 (2 months ago)
- Files:
-
- wired/branches/p7/configure (modified) (51 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wired/branches/p7/configure
r5628 r5658 3103 3103 if test -z "$CFLAGS"; then 3104 3104 CFLAGS="-W" 3105 elif test `expr "$CFLAGS" : ".*-W"` = 0; then 3106 CFLAGS="$CFLAGS -W" 3105 else 3106 MATCH=`expr -- "$CFLAGS" : ".*-W"` 3107 3108 if test "$MATCH" = "0"; then 3109 CFLAGS="$CFLAGS -W" 3110 fi 3107 3111 fi 3108 3112 … … 3110 3114 cat >conftest.$ac_ext <<_ACEOF 3111 3115 3112 int main( void) {3116 int main() { 3113 3117 return 0; 3114 3118 } … … 3136 3140 if test -z "$WARNFLAGS"; then 3137 3141 WARNFLAGS="-W" 3138 elif test `expr "$WARNFLAGS" : ".*-W"` = 0; then 3139 WARNFLAGS="$WARNFLAGS -W" 3142 else 3143 MATCH=`expr -- "$WARNFLAGS" : ".*-W"` 3144 3145 if test "$MATCH" = "0"; then 3146 WARNFLAGS="$WARNFLAGS -W" 3147 fi 3140 3148 fi 3141 3149 … … 3157 3165 if test -z "$CFLAGS"; then 3158 3166 CFLAGS="-Wall" 3159 elif test `expr "$CFLAGS" : ".*-Wall"` = 0; then 3160 CFLAGS="$CFLAGS -Wall" 3167 else 3168 MATCH=`expr -- "$CFLAGS" : ".*-Wall"` 3169 3170 if test "$MATCH" = "0"; then 3171 CFLAGS="$CFLAGS -Wall" 3172 fi 3161 3173 fi 3162 3174 … … 3164 3176 cat >conftest.$ac_ext <<_ACEOF 3165 3177 3166 int main( void) {3178 int main() { 3167 3179 return 0; 3168 3180 } … … 3190 3202 if test -z "$WARNFLAGS"; then 3191 3203 WARNFLAGS="-Wall" 3192 elif test `expr "$WARNFLAGS" : ".*-Wall"` = 0; then 3193 WARNFLAGS="$WARNFLAGS -Wall" 3204 else 3205 MATCH=`expr -- "$WARNFLAGS" : ".*-Wall"` 3206 3207 if test "$MATCH" = "0"; then 3208 WARNFLAGS="$WARNFLAGS -Wall" 3209 fi 3194 3210 fi 3195 3211 … … 3211 3227 if test -z "$CFLAGS"; then 3212 3228 CFLAGS="-Wno-unknown-pragmas" 3213 elif test `expr "$CFLAGS" : ".*-Wno-unknown-pragmas"` = 0; then 3214 CFLAGS="$CFLAGS -Wno-unknown-pragmas" 3229 else 3230 MATCH=`expr -- "$CFLAGS" : ".*-Wno-unknown-pragmas"` 3231 3232 if test "$MATCH" = "0"; then 3233 CFLAGS="$CFLAGS -Wno-unknown-pragmas" 3234 fi 3215 3235 fi 3216 3236 … … 3218 3238 cat >conftest.$ac_ext <<_ACEOF 3219 3239 3220 int main( void) {3240 int main() { 3221 3241 return 0; 3222 3242 } … … 3244 3264 if test -z "$WARNFLAGS"; then 3245 3265 WARNFLAGS="-Wno-unknown-pragmas" 3246 elif test `expr "$WARNFLAGS" : ".*-Wno-unknown-pragmas"` = 0; then 3247 WARNFLAGS="$WARNFLAGS -Wno-unknown-pragmas" 3266 else 3267 MATCH=`expr -- "$WARNFLAGS" : ".*-Wno-unknown-pragmas"` 3268 3269 if test "$MATCH" = "0"; then 3270 WARNFLAGS="$WARNFLAGS -Wno-unknown-pragmas" 3271 fi 3248 3272 fi 3249 3273 … … 3265 3289 if test -z "$CFLAGS"; then 3266 3290 CFLAGS="-Wno-unused-parameter" 3267 elif test `expr "$CFLAGS" : ".*-Wno-unused-parameter"` = 0; then 3268 CFLAGS="$CFLAGS -Wno-unused-parameter" 3291 else 3292 MATCH=`expr -- "$CFLAGS" : ".*-Wno-unused-parameter"` 3293 3294 if test "$MATCH" = "0"; then 3295 CFLAGS="$CFLAGS -Wno-unused-parameter" 3296 fi 3269 3297 fi 3270 3298 … … 3272 3300 cat >conftest.$ac_ext <<_ACEOF 3273 3301 3274 int main( void) {3302 int main() { 3275 3303 return 0; 3276 3304 } … … 3298 3326 if test -z "$WARNFLAGS"; then 3299 3327 WARNFLAGS="-Wno-unused-parameter" 3300 elif test `expr "$WARNFLAGS" : ".*-Wno-unused-parameter"` = 0; then 3301 WARNFLAGS="$WARNFLAGS -Wno-unused-parameter" 3328 else 3329 MATCH=`expr -- "$WARNFLAGS" : ".*-Wno-unused-parameter"` 3330 3331 if test "$MATCH" = "0"; then 3332 WARNFLAGS="$WARNFLAGS -Wno-unused-parameter" 3333 fi 3302 3334 fi 3303 3335 … … 3319 3351 if test -z "$CFLAGS"; then 3320 3352 CFLAGS="-Wsign-compare" 3321 elif test `expr "$CFLAGS" : ".*-Wsign-compare"` = 0; then 3322 CFLAGS="$CFLAGS -Wsign-compare" 3353 else 3354 MATCH=`expr -- "$CFLAGS" : ".*-Wsign-compare"` 3355 3356 if test "$MATCH" = "0"; then 3357 CFLAGS="$CFLAGS -Wsign-compare" 3358 fi 3323 3359 fi 3324 3360 … … 3326 3362 cat >conftest.$ac_ext <<_ACEOF 3327 3363 3328 int main( void) {3364 int main() { 3329 3365 return 0; 3330 3366 } … … 3352 3388 if test -z "$WARNFLAGS"; then 3353 3389 WARNFLAGS="-Wsign-compare" 3354 elif test `expr "$WARNFLAGS" : ".*-Wsign-compare"` = 0; then 3355 WARNFLAGS="$WARNFLAGS -Wsign-compare" 3390 else 3391 MATCH=`expr -- "$WARNFLAGS" : ".*-Wsign-compare"` 3392 3393 if test "$MATCH" = "0"; then 3394 WARNFLAGS="$WARNFLAGS -Wsign-compare" 3395 fi 3356 3396 fi 3357 3397 … … 3373 3413 if test -z "$CFLAGS"; then 3374 3414 CFLAGS="-Wstrict-prototypes" 3375 elif test `expr "$CFLAGS" : ".*-Wstrict-prototypes"` = 0; then 3376 CFLAGS="$CFLAGS -Wstrict-prototypes" 3415 else 3416 MATCH=`expr -- "$CFLAGS" : ".*-Wstrict-prototypes"` 3417 3418 if test "$MATCH" = "0"; then 3419 CFLAGS="$CFLAGS -Wstrict-prototypes" 3420 fi 3377 3421 fi 3378 3422 … … 3380 3424 cat >conftest.$ac_ext <<_ACEOF 3381 3425 3382 int main( void) {3426 int main() { 3383 3427 return 0; 3384 3428 } … … 3406 3450 if test -z "$WARNFLAGS"; then 3407 3451 WARNFLAGS="-Wstrict-prototypes" 3408 elif test `expr "$WARNFLAGS" : ".*-Wstrict-prototypes"` = 0; then 3409 WARNFLAGS="$WARNFLAGS -Wstrict-prototypes" 3452 else 3453 MATCH=`expr -- "$WARNFLAGS" : ".*-Wstrict-prototypes"` 3454 3455 if test "$MATCH" = "0"; then 3456 WARNFLAGS="$WARNFLAGS -Wstrict-prototypes" 3457 fi 3410 3458 fi 3411 3459 … … 3427 3475 if test -z "$CFLAGS"; then 3428 3476 CFLAGS="-Wmissing-prototypes" 3429 elif test `expr "$CFLAGS" : ".*-Wmissing-prototypes"` = 0; then 3430 CFLAGS="$CFLAGS -Wmissing-prototypes" 3477 else 3478 MATCH=`expr -- "$CFLAGS" : ".*-Wmissing-prototypes"` 3479 3480 if test "$MATCH" = "0"; then 3481 CFLAGS="$CFLAGS -Wmissing-prototypes" 3482 fi 3431 3483 fi 3432 3484 … … 3434 3486 cat >conftest.$ac_ext <<_ACEOF 3435 3487 3436 int main( void) {3488 int main() { 3437 3489 return 0; 3438 3490 } … … 3460 3512 if test -z "$WARNFLAGS"; then 3461 3513 WARNFLAGS="-Wmissing-prototypes" 3462 elif test `expr "$WARNFLAGS" : ".*-Wmissing-prototypes"` = 0; then 3463 WARNFLAGS="$WARNFLAGS -Wmissing-prototypes" 3514 else 3515 MATCH=`expr -- "$WARNFLAGS" : ".*-Wmissing-prototypes"` 3516 3517 if test "$MATCH" = "0"; then 3518 WARNFLAGS="$WARNFLAGS -Wmissing-prototypes" 3519 fi 3464 3520 fi 3465 3521 … … 3481 3537 if test -z "$CFLAGS"; then 3482 3538 CFLAGS="-Wmissing-declarations" 3483 elif test `expr "$CFLAGS" : ".*-Wmissing-declarations"` = 0; then 3484 CFLAGS="$CFLAGS -Wmissing-declarations" 3539 else 3540 MATCH=`expr -- "$CFLAGS" : ".*-Wmissing-declarations"` 3541 3542 if test "$MATCH" = "0"; then 3543 CFLAGS="$CFLAGS -Wmissing-declarations" 3544 fi 3485 3545 fi 3486 3546 … … 3488 3548 cat >conftest.$ac_ext <<_ACEOF 3489 3549 3490 int main( void) {3550 int main() { 3491 3551 return 0; 3492 3552 } … … 3514 3574 if test -z "$WARNFLAGS"; then 3515 3575 WARNFLAGS="-Wmissing-declarations" 3516 elif test `expr "$WARNFLAGS" : ".*-Wmissing-declarations"` = 0; then 3517 WARNFLAGS="$WARNFLAGS -Wmissing-declarations" 3576 else 3577 MATCH=`expr -- "$WARNFLAGS" : ".*-Wmissing-declarations"` 3578 3579 if test "$MATCH" = "0"; then 3580 WARNFLAGS="$WARNFLAGS -Wmissing-declarations" 3581 fi 3518 3582 fi 3519 3583 … … 3535 3599 if test -z "$CFLAGS"; then 3536 3600 CFLAGS="-Wredundant-decls" 3537 elif test `expr "$CFLAGS" : ".*-Wredundant-decls"` = 0; then 3538 CFLAGS="$CFLAGS -Wredundant-decls" 3601 else 3602 MATCH=`expr -- "$CFLAGS" : ".*-Wredundant-decls"` 3603 3604 if test "$MATCH" = "0"; then 3605 CFLAGS="$CFLAGS -Wredundant-decls" 3606 fi 3539 3607 fi 3540 3608 … … 3542 3610 cat >conftest.$ac_ext <<_ACEOF 3543 3611 3544 int main( void) {3612 int main() { 3545 3613 return 0; 3546 3614 } … … 3568 3636 if test -z "$WARNFLAGS"; then 3569 3637 WARNFLAGS="-Wredundant-decls" 3570 elif test `expr "$WARNFLAGS" : ".*-Wredundant-decls"` = 0; then 3571 WARNFLAGS="$WARNFLAGS -Wredundant-decls" 3638 else 3639 MATCH=`expr -- "$WARNFLAGS" : ".*-Wredundant-decls"` 3640 3641 if test "$MATCH" = "0"; then 3642 WARNFLAGS="$WARNFLAGS -Wredundant-decls" 3643 fi 3572 3644 fi 3573 3645 … … 3692 3764 if test -z "$CPPFLAGS"; then 3693 3765 CPPFLAGS="-I/usr/local/include" 3694 elif test `expr "$CPPFLAGS" : ".*-I/usr/local/include"` = 0; then 3695 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 3766 else 3767 MATCH=`expr -- "$CPPFLAGS" : ".*-I/usr/local/include"` 3768 3769 if test "$MATCH" = "0"; then 3770 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 3771 fi 3696 3772 fi 3697 3773 … … 3706 3782 3707 3783 if test -z "$LDFLAGS"; then 3708 LDFLAGS="-I/usr/local/lib" 3709 elif test `expr "$LDFLAGS" : ".*-I/usr/local/lib"` = 0; then 3710 LDFLAGS="$LDFLAGS -I/usr/local/lib" 3784 LDFLAGS="-L/usr/local/lib" 3785 else 3786 MATCH=`expr -- "$LDFLAGS" : ".*-L/usr/local/lib"` 3787 3788 if test "$MATCH" = "0"; then 3789 LDFLAGS="$LDFLAGS -L/usr/local/lib" 3790 fi 3711 3791 fi 3712 3792 … … 4522 4602 if test -z "$LIBS"; then 4523 4603 LIBS="-lm" 4524 elif test `expr "$LIBS" : ".*-lm"` = 0; then 4525 LIBS="$LIBS -lm" 4604 else 4605 MATCH=`expr -- "$LIBS" : ".*-lm"` 4606 4607 if test "$MATCH" = "0"; then 4608 LIBS="$LIBS -lm" 4609 fi 4526 4610 fi 4527 4611 … … 4689 4773 if test -z "$LIBS"; then 4690 4774 LIBS="-lsocket" 4691 elif test `expr "$LIBS" : ".*-lsocket"` = 0; then 4692 LIBS="$LIBS -lsocket" 4775 else 4776 MATCH=`expr -- "$LIBS" : ".*-lsocket"` 4777 4778 if test "$MATCH" = "0"; then 4779 LIBS="$LIBS -lsocket" 4780 fi 4693 4781 fi 4694 4782 … … 4856 4944 if test -z "$LIBS"; then 4857 4945 LIBS="-lnsl" 4858 elif test `expr "$LIBS" : ".*-lnsl"` = 0; then 4859 LIBS="$LIBS -lnsl" 4946 else 4947 MATCH=`expr -- "$LIBS" : ".*-lnsl"` 4948 4949 if test "$MATCH" = "0"; then 4950 LIBS="$LIBS -lnsl" 4951 fi 4860 4952 fi 4861 4953 … … 5023 5115 if test -z "$LIBS"; then 5024 5116 LIBS="-lresolv" 5025 elif test `expr "$LIBS" : ".*-lresolv"` = 0; then 5026 LIBS="$LIBS -lresolv" 5117 else 5118 MATCH=`expr -- "$LIBS" : ".*-lresolv"` 5119 5120 if test "$MATCH" = "0"; then 5121 LIBS="$LIBS -lresolv" 5122 fi 5027 5123 fi 5028 5124 … … 5183 5279 if test -z "$LIBS"; then 5184 5280 LIBS="-framework CoreServices" 5185 elif test `expr "$LIBS" : ".*-framework CoreServices"` = 0; then 5186 LIBS="$LIBS -framework CoreServices" 5281 else 5282 MATCH=`expr -- "$LIBS" : ".*-framework CoreServices"` 5283 5284 if test "$MATCH" = "0"; then 5285 LIBS="$LIBS -framework CoreServices" 5286 fi 5187 5287 fi 5188 5288 … … 5190 5290 if test -z "$LIBS"; then 5191 5291 LIBS="-framework Carbon" 5192 elif test `expr "$LIBS" : ".*-framework Carbon"` = 0; then 5193 LIBS="$LIBS -framework Carbon" 5292 else 5293 MATCH=`expr -- "$LIBS" : ".*-framework Carbon"` 5294 5295 if test "$MATCH" = "0"; then 5296 LIBS="$LIBS -framework Carbon" 5297 fi 5194 5298 fi 5195 5299 … … 5213 5317 if test -z "$CPPFLAGS"; then 5214 5318 CPPFLAGS="-I/usr/local/ssl/include" 5215 elif test `expr "$CPPFLAGS" : ".*-I/usr/local/ssl/include"` = 0; then 5216 CPPFLAGS="$CPPFLAGS -I/usr/local/ssl/include" 5319 else 5320 MATCH=`expr -- "$CPPFLAGS" : ".*-I/usr/local/ssl/include"` 5321 5322 if test "$MATCH" = "0"; then 5323 CPPFLAGS="$CPPFLAGS -I/usr/local/ssl/include" 5324 fi 5217 5325 fi 5218 5326 … … 5223 5331 if test -z "$CPPFLAGS"; then 5224 5332 CPPFLAGS="-I/usr/kerberos/include" 5225 elif test `expr "$CPPFLAGS" : ".*-I/usr/kerberos/include"` = 0; then 5226 CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include" 5333 else 5334 MATCH=`expr -- "$CPPFLAGS" : ".*-I/usr/kerberos/include"` 5335 5336 if test "$MATCH" = "0"; then 5337 CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include" 5338 fi 5227 5339 fi 5228 5340 … … 5233 5345 if test -z "$LDFLAGS"; then 5234 5346 LDFLAGS="-L/usr/local/ssl/lib" 5235 elif test `expr "$LDFLAGS" : ".*-L/usr/local/ssl/lib"` = 0; then 5236 LDFLAGS="$LDFLAGS -L/usr/local/ssl/lib" 5347 else 5348 MATCH=`expr -- "$LDFLAGS" : ".*-L/usr/local/ssl/lib"` 5349 5350 if test "$MATCH" = "0"; then 5351 LDFLAGS="$LDFLAGS -L/usr/local/ssl/lib" 5352 fi 5237 5353 fi 5238 5354 … … 5450 5566 if test -z "$LIBS"; then 5451 5567 LIBS="-lcrypto" 5452 elif test `expr "$LIBS" : ".*-lcrypto"` = 0; then 5453 LIBS="$LIBS -lcrypto" 5568 else 5569 MATCH=`expr -- "$LIBS" : ".*-lcrypto"` 5570 5571 if test "$MATCH" = "0"; then 5572 LIBS="$LIBS -lcrypto" 5573 fi 5454 5574 fi 5455 5575 … … 5506 5626 if test -z "$CPPFLAGS"; then 5507 5627 CPPFLAGS="-I/usr/local/ssl/include" 5508 elif test `expr "$CPPFLAGS" : ".*-I/usr/local/ssl/include"` = 0; then 5509 CPPFLAGS="$CPPFLAGS -I/usr/local/ssl/include" 5628 else 5629 MATCH=`expr -- "$CPPFLAGS" : ".*-I/usr/local/ssl/include"` 5630 5631 if test "$MATCH" = "0"; then 5632 CPPFLAGS="$CPPFLAGS -I/usr/local/ssl/include" 5633 fi 5510 5634 fi 5511 5635 … … 5516 5640 if test -z "$CPPFLAGS"; then 5517 5641 CPPFLAGS="-I/usr/kerberos/include" 5518 elif test `expr "$CPPFLAGS" : ".*-I/usr/kerberos/include"` = 0; then 5519 CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include" 5642 else 5643 MATCH=`expr -- "$CPPFLAGS" : ".*-I/usr/kerberos/include"` 5644 5645 if test "$MATCH" = "0"; then 5646 CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include" 5647 fi 5520 5648 fi 5521 5649 … … 5526 5654 if test -z "$LDFLAGS"; then 5527 5655 LDFLAGS="-L/usr/local/ssl/lib" 5528 elif test `expr "$LDFLAGS" : ".*-L/usr/local/ssl/lib"` = 0; then 5529 LDFLAGS="$LDFLAGS -L/usr/local/ssl/lib" 5656 else 5657 MATCH=`expr -- "$LDFLAGS" : ".*-L/usr/local/ssl/lib"` 5658 5659 if test "$MATCH" = "0"; then 5660 LDFLAGS="$LDFLAGS -L/usr/local/ssl/lib" 5661 fi 5530 5662 fi 5531 5663 … … 5743 5875 if test -z "$LIBS"; then 5744 5876 LIBS="-lssl" 5745 elif test `expr "$LIBS" : ".*-lssl"` = 0; then 5746 LIBS="$LIBS -lssl" 5877 else 5878 MATCH=`expr -- "$LIBS" : ".*-lssl"` 5879 5880 if test "$MATCH" = "0"; then 5881 LIBS="$LIBS -lssl" 5882 fi 5747 5883 fi 5748 5884 … … 5797 5933 if test -z "$CPPFLAGS"; then 5798 5934 CPPFLAGS="-I/usr/include/libxml2" 5799 elif test `expr "$CPPFLAGS" : ".*-I/usr/include/libxml2"` = 0; then 5800 CPPFLAGS="$CPPFLAGS -I/usr/include/libxml2" 5935 else 5936 MATCH=`expr -- "$CPPFLAGS" : ".*-I/usr/include/libxml2"` 5937 5938 if test "$MATCH" = "0"; then 5939 CPPFLAGS="$CPPFLAGS -I/usr/include/libxml2" 5940 fi 5801 5941 fi 5802 5942 … … 5807 5947 if test -z "$CPPFLAGS"; then 5808 5948 CPPFLAGS="-I/usr/local/include/libxml2" 5809 elif test `expr "$CPPFLAGS" : ".*-I/usr/local/include/libxml2"` = 0; then 5810 CPPFLAGS="$CPPFLAGS -I/usr/local/include/libxml2" 5949 else 5950 MATCH=`expr -- "$CPPFLAGS" : ".*-I/usr/local/include/libxml2"` 5951 5952 if test "$MATCH" = "0"; then 5953 CPPFLAGS="$CPPFLAGS -I/usr/local/include/libxml2" 5954 fi 5811 5955 fi 5812 5956 … … 6020 6164 if test -z "$LIBS"; then 6021 6165 LIBS="-lxml2" 6022 elif test `expr "$LIBS" : ".*-lxml2"` = 0; then 6023 LIBS="$LIBS -lxml2" 6166 else 6167 MATCH=`expr -- "$LIBS" : ".*-lxml2"` 6168 6169 if test "$MATCH" = "0"; then 6170 LIBS="$LIBS -lxml2" 6171 fi 6024 6172 fi 6025 6173 … … 6277 6425 if test -z "$LIBS"; then 6278 6426 LIBS="-lz" 6279 elif test `expr "$LIBS" : ".*-lz"` = 0; then 6280 LIBS="$LIBS -lz" 6427 else 6428 MATCH=`expr -- "$LIBS" : ".*-lz"` 6429 6430 if test "$MATCH" = "0"; then 6431 LIBS="$LIBS -lz" 6432 fi 6281 6433 fi 6282 6434 … … 6488 6640 if test -z "$LIBS"; then 6489 6641 LIBS="" 6490 elif test `expr "$LIBS" : ".*"` = 0; then 6491 LIBS="$LIBS " 6642 else 6643 MATCH=`expr -- "$LIBS" : ".*"` 6644 6645 if test "$MATCH" = "0"; then 6646 LIBS="$LIBS " 6647 fi 6492 6648 fi 6493 6649 … … 6638 6794 if test -z "$LIBS"; then 6639 6795 LIBS="-pthread" 6640 elif test `expr "$LIBS" : ".*-pthread"` = 0; then 6641 LIBS="$LIBS -pthread" 6796 else 6797 MATCH=`expr -- "$LIBS" : ".*-pthread"` 6798 6799 if test "$MATCH" = "0"; then 6800 LIBS="$LIBS -pthread" 6801 fi 6642 6802 fi 6643 6803 … … 6788 6948 if test -z "$LIBS"; then 6789 6949 LIBS="-lpthread" 6790 elif test `expr "$LIBS" : ".*-lpthread"` = 0; then 6791 LIBS="$LIBS -lpthread" 6950 else 6951 MATCH=`expr -- "$LIBS" : ".*-lpthread"` 6952 6953 if test "$MATCH" = "0"; then 6954 LIBS="$LIBS -lpthread" 6955 fi 6792 6956 fi 6793 6957 … … 6939 7103 if test -z "$LIBS"; then 6940 7104 LIBS="$wi_pthreads_libs" 6941 elif test `expr "$LIBS" : ".*$wi_pthreads_libs"` = 0; then 6942 LIBS="$LIBS $wi_pthreads_libs" 7105 else 7106 MATCH=`expr -- "$LIBS" : ".*$wi_pthreads_libs"` 7107 7108 if test "$MATCH" = "0"; then 7109 LIBS="$LIBS $wi_pthreads_libs" 7110 fi 6943 7111 fi 6944 7112
