summaryrefslogtreecommitdiff
path: root/threadlibs.c
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-01 23:15:51 +0000
committerguest <ivmai@mail.ru>2011-07-29 10:54:17 +0400
commit5eb4f4df8eae239cdba43e6794329aac5fefe484 (patch)
tree4d290f113747d19c1da5d51975f03e8d56e8de53 /threadlibs.c
parent756e3e7b1d5e6e307c6b33c3c4bfbdd4e4940419 (diff)
downloadbdwgc-5eb4f4df8eae239cdba43e6794329aac5fefe484.tar.gz
Merged GC 5.0alpha4 with local changes, plus:
* Makefile.in: Rebuilt. * Makefile.am (gctest_LDADD): Added THREADLIB. (TESTS): New macro. * configure: Rebuilt. * configure.in (INCLUDES): New subst. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30332 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'threadlibs.c')
-rw-r--r--threadlibs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/threadlibs.c b/threadlibs.c
index c8530e6f..df4eb77b 100644
--- a/threadlibs.c
+++ b/threadlibs.c
@@ -1,4 +1,4 @@
-# include "config.h"
+# include "gcconfig.h"
# include <stdio.h>
int main()
@@ -6,6 +6,9 @@ int main()
# if defined(IRIX_THREADS) || defined(LINUX_THREADS)
printf("-lpthread\n");
# endif
+# if defined(HPUX_THREADS)
+ printf("-lpthread -lrt\n");
+# endif
# ifdef SOLARIS_THREADS
printf("-lthread -ldl\n");
# endif