From 8e493b2eaf671e962a55e13c17bf42c51a3fd2bd Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 12 Dec 2013 07:26:13 -0800 Subject: * configure: Fix warnings in test cases for HAVE_FORK_STUFF and HAVE_DAEMON. * eval.c: daemon support must be wrapped in #if HAVE_DAEMON --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index add43f30..52a24b5b 100755 --- a/configure +++ b/configure @@ -1235,9 +1235,10 @@ int main(int argc, char **argv) { int status, fd[2]; pid_t p = fork(); + int res = pipe(fd); (void) execvp(argv[0], argv); (void) waitpid(p, &status, 0); - (void) pipe(fd); + (void) res; return 0; } ! @@ -1377,8 +1378,7 @@ cat > conftest.c <