Overview
Comment: | Don't check for pthread_create in -lpthread
HP-UX 11.11 doesn't have a pthread_create symbol in -lpthread, but the |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d33a1ae00b8cabba86c187dfb79c46f9 |
User & Date: | js on 2021-01-15 18:45:03 |
Other Links: | manifest | tags |
Context
2021-01-15
| ||
19:06 | OFDataTests: Don't assign structs inside R() check-in: 8ebb5ff462 user: js tags: trunk | |
18:45 | Don't check for pthread_create in -lpthread check-in: d33a1ae00b user: js tags: trunk | |
2021-01-14
| ||
02:52 | PLATFORMS.md: Add HP-UX check-in: 6b2578b0eb user: js tags: trunk | |
Changes
Modified configure.ac from [1fb641cc62] to [6f06ab9bc1].
︙ | ︙ | |||
931 932 933 934 935 936 937 | dnl Use -Wp, as we only use it for the preprocessor. AX_CHECK_COMPILER_FLAGS([-Wp,-pthread], [ CPPFLAGS="$CPPFLAGS -Wp,-pthread" ], [ CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_THREAD_SAFE" ]) | | | 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 | dnl Use -Wp, as we only use it for the preprocessor. AX_CHECK_COMPILER_FLAGS([-Wp,-pthread], [ CPPFLAGS="$CPPFLAGS -Wp,-pthread" ], [ CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_THREAD_SAFE" ]) AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread") AC_LINK_IFELSE([ AC_LANG_PROGRAM([ #include <pthread.h> ], [ pthread_create(NULL, NULL, NULL, NULL); ]) |
︙ | ︙ |