mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 10:40:07 +08:00
20bbd3cd53
* Makefile.in: Rebuilt. * Makefile.am (gctest_LDADD): Added THREADLIB. (TESTS): New macro. * configure: Rebuilt. * configure.in (INCLUDES): New subst. From-SVN: r30332
18 lines
302 B
C
18 lines
302 B
C
# include "gcconfig.h"
|
|
# include <stdio.h>
|
|
|
|
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
|
|
return 0;
|
|
}
|
|
|