|
From: <sv...@va...> - 2009-05-10 15:41:54
|
Author: bart
Date: 2009-05-10 16:41:45 +0100 (Sun, 10 May 2009)
New Revision: 9823
Log:
Let the pthread_create@GLIBC_2.0() detection test fail on PowerPC.
Modified:
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2009-05-10 11:51:09 UTC (rev 9822)
+++ trunk/configure.in 2009-05-10 15:41:45 UTC (rev 9823)
@@ -894,7 +894,15 @@
void *(*)(void*), void*);
__asm__(".symver pthread_create_glibc_2_0, pthread_create@GLIBC_2.0");
], [
+#ifdef __powerpc__
+/*
+ * Apparently on PowerPC linking this program succeeds and generates an
+ * executable with the undefined symbol pthread_create@GLIBC_2.0.
+ */
+#error This test does not work properly on PowerPC.
+#else
pthread_create_glibc_2_0(0, 0, 0, 0);
+#endif
return 0;
],
[
|