+1999-03-16 Timur Bakeyev <mc@bat.ru>
+
+ * configure.in: Fix problem with pthread_create in libc, as running
+ "gcc test.c -l " is not legal.
+
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/type-test.c: Added a test for the
+1999-03-16 Timur Bakeyev <mc@bat.ru>
+
+ * configure.in: Fix problem with pthread_create in libc, as running
+ "gcc test.c -l " is not legal.
+
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/type-test.c: Added a test for the
+1999-03-16 Timur Bakeyev <mc@bat.ru>
+
+ * configure.in: Fix problem with pthread_create in libc, as running
+ "gcc test.c -l " is not legal.
+
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/type-test.c: Added a test for the
+1999-03-16 Timur Bakeyev <mc@bat.ru>
+
+ * configure.in: Fix problem with pthread_create in libc, as running
+ "gcc test.c -l " is not legal.
+
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/type-test.c: Added a test for the
+1999-03-16 Timur Bakeyev <mc@bat.ru>
+
+ * configure.in: Fix problem with pthread_create in libc, as running
+ "gcc test.c -l " is not legal.
+
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/type-test.c: Added a test for the
+1999-03-16 Timur Bakeyev <mc@bat.ru>
+
+ * configure.in: Fix problem with pthread_create in libc, as running
+ "gcc test.c -l " is not legal.
+
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/type-test.c: Added a test for the
+1999-03-16 Timur Bakeyev <mc@bat.ru>
+
+ * configure.in: Fix problem with pthread_create in libc, as running
+ "gcc test.c -l " is not legal.
+
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/type-test.c: Added a test for the
+1999-03-16 Timur Bakeyev <mc@bat.ru>
+
+ * configure.in: Fix problem with pthread_create in libc, as running
+ "gcc test.c -l " is not legal.
+
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* tests/type-test.c: Added a test for the
for thread_lib in "" pthread pthreads c_r thread; do
# This is not AC_CHECK_LIB to also work with function
# name mangling in header files.
- LIBS="$glib_save_LIBS -l$thread_lib"
- IN=
- test x"$thread_lib" = x || IN=" in -l$thread_lib"
+ if test x"$thread_lib" = x; then
+ add_thread_lib=""
+ IN=""
+ else
+ add_thread_lib="-l$thread_lib"
+ IN=" in -l$thread_lib"
+ fi
+
+ LIBS="$glib_save_LIBS $add_thread_lib"
+
AC_MSG_CHECKING(for pthread_create$IN)
AC_TRY_LINK([#include <pthread.h>],
[pthread_create(NULL,NULL,NULL,NULL)],
[AC_MSG_RESULT(yes)
- G_THREAD_LIBS="-l$thread_lib"
+ G_THREAD_LIBS="$add_thread_lib"
break],
[AC_MSG_RESULT(no)])
done