1 check_include_files(fastcgi.h HAVE_FASTCGI_H)
2 check_include_files(fastcgi/fastcgi.h HAVE_FASTCGI_FASTCGI_H)
3 if(HAVE_FASTCGI_H OR HAVE_FASTCGI_FASTCGI_H)
4 check_library_exists(fcgi FCGI_Accept "" HAVE_FASTCGI)
6 add_executable(fcgi-auth fcgi-auth.c)
7 add_executable(fcgi-responder fcgi-responder.c)
8 target_link_libraries(fcgi-auth fcgi)
9 target_link_libraries(fcgi-responder fcgi)
43 foreach(it ${T_FILES})
44 add_test(NAME ${it} COMMAND "${lighttpd_SOURCE_DIR}/tests/wrapper.sh"
45 "${lighttpd_SOURCE_DIR}/tests"
46 "${lighttpd_BINARY_DIR}"
47 "${lighttpd_SOURCE_DIR}/tests/${it}")