[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: testing for pthreads in default libraries
At 07:37 PM 9/29/00 +1100, Luke Howard wrote:
>Testing for pthreads in the default libraries doesn't appear
>to work because conftest isn't run (as far as I can tell,
>autoconf is a bit hairy for me).
>
>If you look at the line:
>
>if { (eval echo configure:7344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext};
>then
That's if $cross_compiling = yes....
>it probably needs to be:
>
>if { (eval echo configure:7281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
>then
and is in the else ($cross_compiling = no) clause.
Kurt