$NetBSD: patch-libhttpd_configure,v 1.1 2011/09/12 05:01:15 dholland Exp $ Since the package makefiles configure and build this library with a C++ compiler (even though AFAICT it's C code) the configure script had better use a valid C++ test program to see if the compiler works. --- libhttpd/configure~ 2006-03-05 13:39:37.000000000 +0000 +++ libhttpd/configure @@ -662,7 +662,7 @@ cat > conftest.$ac_ext << EOF #line 663 "configure" #include "confdefs.h" -main(){return(0);} +int main(){return(0);} EOF if { (eval echo configure:668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes