Changeset 1565

Show
Ignore:
Timestamp:
06/17/08 15:39:36 (3 months ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r1564 r1565  
    112008-06-17  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * cherokee/server.c (cherokee_server_print_build_info): Now it 
     4        prints more information about how the compilation was performed. 
    25 
    36        * cherokee/trace.c (cherokee_trace_do_trace): If "time" is added 
  • cherokee/trunk/cherokee/server.c

    r1562 r1565  
    21342134        printf (" Built-in: %s\n", builtin.buf ? builtin.buf : ""); 
    21352135        printf ("\n"); 
    2136  
    21372136        cherokee_buffer_mrproper (&builtin); 
    2138         return ret_ok; 
    2139 
     2137 
     2138        /* Support 
     2139         */ 
     2140        printf ("Support\n"); 
     2141#ifdef HAVE_IPV6 
     2142        printf (" IPv6: yes\n"); 
     2143#else 
     2144        printf (" IPv6: no\n"); 
     2145#endif 
     2146#ifdef HAVE_OPENSSL 
     2147        printf (" OpenSSL: yes\n"); 
     2148#else 
     2149        printf (" OpenSSL: no\n"); 
     2150#endif 
     2151#ifdef HAVE_GNUTLS 
     2152        printf (" GnuTLS: yes\n"); 
     2153#else 
     2154        printf (" GnuTLS: no\n"); 
     2155#endif 
     2156#ifdef HAVE_PTHREAD 
     2157        printf (" Pthreads: yes\n"); 
     2158#else 
     2159        printf (" Pthreads: no\n"); 
     2160#endif 
     2161#ifdef TRACE_ENABLED 
     2162        printf (" Tracing: yes\n"); 
     2163#else 
     2164        printf (" Tracing: no\n"); 
     2165#endif 
     2166#ifdef HAVE_SENDFILE 
     2167        printf (" sendfile(): yes\n"); 
     2168#else 
     2169        printf (" sendfile(): no\n"); 
     2170#endif 
     2171#ifdef HAVE_SYSLOG 
     2172        printf (" syslog(): yes\n"); 
     2173#else 
     2174        printf (" syslog(): no\n"); 
     2175#endif 
     2176        printf ("\n"); 
     2177 
     2178 
     2179        printf ("Polling methods\n"); 
     2180#ifdef HAVE_PORT 
     2181        printf (" Solaris' port(): yes\n"); 
     2182#else 
     2183        printf (" Solaris' port(): no\n"); 
     2184#endif 
     2185#ifdef HAVE_SELECT 
     2186        printf (" select(): yes\n"); 
     2187#else 
     2188        printf (" select(): no\n"); 
     2189#endif 
     2190#ifdef HAVE_WIN32_SELECT 
     2191        printf (" Win32 select(): yes\n"); 
     2192#else 
     2193        printf (" Win32 select(): no\n"); 
     2194#endif 
     2195#ifdef HAVE_POLL 
     2196        printf (" poll(): yes\n"); 
     2197#else 
     2198        printf (" poll(): no\n"); 
     2199#endif 
     2200#ifdef HAVE_EPOLL 
     2201        printf (" epoll(): yes\n"); 
     2202#else 
     2203        printf (" epoll(): no\n"); 
     2204#endif 
     2205#ifdef HAVE_KQUEUE 
     2206        printf (" kqueue(): yes\n"); 
     2207#else 
     2208        printf (" kqueue(): no\n"); 
     2209#endif 
     2210 
     2211        return ret_ok; 
     2212