hi,
i looked at this package in an effort to actually be more constructive and less sarcastic.
i assume you are using apple mac OS darwin like it says and i personally know nothing about apple.
it appears on the surface to be alot of environments all mixed together but it looks like it has POSIX compiant threads (pthreads) built in somehow.
Code:
checking for library containing pthread_create... none required
i assume that test of
Code:
char pthread_create ();
int
main ()
{
pthread_create ();
;
return 0;
}
just worked without needing to link to any threading library.
check config.log to confirm
i also assume the test for the gcc flag -pthread fails because of the flag itself
check the log for gcc: unrecognized option error.
gcc -pthread is a very strange flag and is undocumented as far as i can find.
gcc doesn't complain about it here but i assume it does nothing at all.
the undocumented flag is architecture specific and might be left over from a time when you needed to turn threading "on" in the c++ compiler. some other systems inluding Linux at one time might have used it to differentiate between other UNIX threading models.
for instance -kthread for BSD kernel threads etc.
just a guess.
the bottom line is you just don't need this flag and you don't need the configure script to check for it or put it in your Makefile.
so i say find in the configure script line 28250 that reads
Code:
LDFLAGS="$LDFLAGS -pthread"
and just take out the -pthread thing to make it like this
now it should say
checking whether gcc accepts -pthread... yes