--- pmkfile.orig Wed Apr 27 14:54:44 2005 +++ pmkfile Wed Apr 27 11:35:47 2005 @@ -16,13 +16,13 @@ IF(!debug) { DEFINE { - CFLAGS = "-std=c99 -pipe -O3" + CFLAGS = "-pipe -O3" } } IF(debug) { DEFINE { - CFLAGS = "-std=c99 -g -Wall -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wformat -Wpacked -Wdeprecated-declarations -Wredundant-decls -Wnested-externs -Winline -Wdisabled-optimization -pipe -pedantic" + CFLAGS = "-g -Wall -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wformat -Wpacked -Wdeprecated-declarations -Wredundant-decls -Wnested-externs -Winline -Wdisabled-optimization -pipe -pedantic" } } @@ -121,24 +121,6 @@ NAME="unistd.h" } -CHECK_HEADER(include_socket) { - REQUIRED=TRUE - FUNCTION="socket" - NAME="sys/socket.h" -} - -CHECK_HEADER(include_setsockopt) { - REQUIRED=TRUE - FUNCTION="setsockopt" - NAME="sys/socket.h" -} - -CHECK_HEADER(include_connect) { - REQUIRED=TRUE - FUNCTION="setsockopt" - NAME="sys/socket.h" -} - CHECK_HEADER(include_freeaddrinfo) { REQUIRED=TRUE FUNCTION="freeaddrinfo" @@ -170,12 +152,6 @@ NAME="ctype.h" } -CHECK_HEADER(include_readv) { - REQUIRED=TRUE - FUNCTION="readv" - NAME="sys/uio.h" -} - CHECK_HEADER(include_errno) { REQUIRED=FALSE FUNCTION="errno" @@ -194,12 +170,6 @@ NAME="unistd.h" } -CHECK_HEADER(include_writev) { - REQUIRED=TRUE - FUNCTION="writev" - NAME="sys/uio.h" -} - CHECK_HEADER(include_snprintf) { REQUIRED=TRUE FUNCTION="snprintf" @@ -281,12 +251,6 @@ REQUIRED=TRUE FUNCTION="bzero" NAME="strings.h" -} - -CHECK_HEADER(include_select) { - REQUIRED=TRUE - FUNCTIOn="select" - NAME="sys/select.h" } CHECK_HEADER(include_strdup) {