pthread issue while configuring DBus from 1.2.16 on

Meier, Andreas andreas.meier at schmid-telecom.ch
Thu Feb 18 01:34:42 PST 2010


Hello

I'm having issues while running the configure-script with DBus from
1.2.16 on.
Older DBus versions ran perfectly.

Then following line changed in 'configure.in' from 1.2.14 to 1.2.16:
-AC_CHECK_FUNC(pthread_cond_timedwait,,[AC_CHECK_LIB(pthread,pthread_con
d_timedwait,
+AC_CHECK_FUNC(pthread_cond_timedwait,[AC_CHECK_LIB(pthread,pthread_cond
_timedwait,
 
[THREAD_LIBS="-lpthread"])])

With the new code when no 'pthread_cond_timedwait' is found in the first
place it is not retried with '-lpthread'.

With reverting that line building the package ran smoothly.

My system is linux-gnu running on Intel IXP425 with gcc 3.3.2.

Have a good day
Andreas



More information about the dbus mailing list