• Federico G. Schwindt's avatar
    PATCH: fix some warnings during configure/compilation · ae52a414
    Federico G. Schwindt authored
    Hi,
    
    The diff below fixes one warning during configure and two during compilation on OpenBSD (and maybe elsewhere):
    
    checking pthread_np.h usability... no
    checking pthread_np.h presence... yes
    configure: WARNING: pthread_np.h: present but cannot be compiled
    configure: WARNING: pthread_np.h:     check for missing prerequisite headers?
    configure: WARNING: pthread_np.h: see the Autoconf documentation
    configure: WARNING: pthread_np.h:     section "Present But Cannot Be Compiled"
    configure: WARNING: pthread_np.h: proceeding with the compiler's result
    configure: WARNING:     ## -------------------------------------------- ##
    configure: WARNING:     ## Report this to varnish-dev@varnish-cache.org ##
    configure: WARNING:     ## -------------------------------------------- ##
    
    varnishadm.c:190: warning: implicit declaration of function 'add_history'
    
    cache/cache_main.c:82: warning: implicit declaration of function 'pthread_set_name_np'
    
    Comments? OK?
    
    f.-
    ae52a414
configure.ac 15.7 KB