Browse code

HPUX fix (bb#1130)

git-svn: trunk@4093

Tomasz Kojm authored on 2008/08/09 03:47:58
Showing 2 changed files
... ...
@@ -19067,7 +19067,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19067 19067
 fi
19068 19068
 rm -f conftest*
19069 19069
 
19070
-if test $have_fd_set = yes; then
19070
+if test "$have_fd_set" = yes; then
19071 19071
 
19072 19072
 cat >>confdefs.h <<\_ACEOF
19073 19073
 #define HAVE_SYS_SELECT_H 1
... ...
@@ -19121,7 +19121,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
19121 19121
 fi
19122 19122
 
19123 19123
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19124
-	if test $have_fd_set = yes; then
19124
+	if test "$have_fd_set" = yes; then
19125 19125
 		{ echo "$as_me:$LINENO: result: yes, found in sys/types.h" >&5
19126 19126
 echo "${ECHO_T}yes, found in sys/types.h" >&6; }
19127 19127
 	else
... ...
@@ -1412,7 +1412,7 @@ fi
1412 1412
 dnl Check if <sys/select.h> needs to be included for fd_set
1413 1413
 AC_MSG_CHECKING([for fd_set])
1414 1414
 AC_HEADER_EGREP([fd_mask], [sys/select.h], [have_fd_set=yes])
1415
-if test $have_fd_set = yes; then
1415
+if test "$have_fd_set" = yes; then
1416 1416
 	AC_DEFINE([HAVE_SYS_SELECT_H], 1, "have <sys/select.h>")
1417 1417
 	AC_MSG_RESULT([yes, found in sys/select.h])
1418 1418
 else
... ...
@@ -1422,7 +1422,7 @@ else
1422 1422
 			#include <unistd.h>
1423 1423
 			#endif],
1424 1424
 		[fd_set readMask, writeMask;], have_fd_set=yes, have_fd_set=no)
1425
-	if test $have_fd_set = yes; then
1425
+	if test "$have_fd_set" = yes; then
1426 1426
 		AC_MSG_RESULT([yes, found in sys/types.h])
1427 1427
 	else
1428 1428
 		AC_DEFINE([NO_FD_SET], 1, "no fd_set")