• Nils Goroll's avatar
    add back configure pthread support · 7f1e9a1e
    Nils Goroll authored
    This partly reverts my previous commit 78ac8836,
    which was wrong:
    
    Varnish is massively multithreaded, so all vmods must be thread-safe.
    
    While it is possible to write thread-safe vmods without pthreads support,
    some systems (like those of the Solaris-heritage) need additional compiler
    flags for MT support (-D_REENTRANT -pthreads). To avoid weird potential
    issues, we should, by default, include full MT support.
    
    Also, libpthreads is available for vmods because varnishd itself links
    against it, but, again, making this dependency explicit should be the right way.
    7f1e9a1e
Name
Last commit
Last update
..
PLACEHOLDER Loading commit data...
ax_check_compile_flag.m4 Loading commit data...
ax_check_link_flag.m4 Loading commit data...
ax_pthread.m4 Loading commit data...