Differences From Artifact [1fb641cc62]:
- File configure.ac — part of check-in [9a5d1024a0] at 2021-01-14 01:27:27 on branch trunk — Disable _Unwind_Backtrace() on HP-UX (user: js, size: 50702) [annotate] [blame] [check-ins using]
To Artifact [6f06ab9bc1]:
- File
configure.ac
— part of check-in
[d33a1ae00b]
at
2021-01-15 18:45:03
on branch trunk
— Don't check for pthread_create in -lpthread
HP-UX 11.11 doesn't have a pthread_create symbol in -lpthread, but the
later AC_LINK_IFELSE succeeds. Therefore, check for main in -lpthread,
to check if we have -lpthread at all, and if we do, always link it. (user: js, size: 50692) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
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); ]) |
︙ | ︙ |