3 Fix the check to pickup mkstemp() on at least NetBSD
5 --- configure.orig 2012-07-15 22:26:52.000000000 +0000
7 @@ -705,7 +705,8 @@ rm -f _tests.cc _tests.o _tests
9 printf "checking for mkstemp... "
10 printf "#include <unistd.h>
11 -int main(int argc, char *argv[]) { int x; char *y = \"abc\";
13 +int main(int argc, char *argv[]) { int x; char y[4] = \"abc\";
14 x = mkstemp(y); return 0;}\n" > _tests.cc
15 $CXX $CXXFLAGS _tests.cc -o _tests 2> /dev/null
16 if [ ! -x _tests ]; then