dreid 01/01/12 09:57:02
Modified: . hints.m4 configure.in
Log:
The file_as-socket check wasn't getting picked up correctly, so this
corrects that for BeOS and OS/2. Untested for OS/2 so Brian?
Submitted by: Justin Sherrill <[EMAIL PROTECTED]>
Revision Changes Path
1.37 +0 -5 apr/hints.m4
Index: hints.m4
===================================================================
RCS file: /home/cvs/apr/hints.m4,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- hints.m4 2001/01/12 04:13:04 1.36
+++ hints.m4 2001/01/12 17:56:57 1.37
@@ -90,7 +90,6 @@
;;
*os2_emx*)
APR_SETVAR(SHELL, [sh])
- APR_SETIFNULL(file_as_socket, [0])
;;
*-hi-hiux)
APR_ADDTO(CFLAGS, [-DHIUX])
@@ -336,10 +335,6 @@
APR_ADDTO(CPPFLAGS, [-I/boot/develop/headers/bone])
APR_ADDTO(LDFLAGS, [-nodefaultlibs -L/boot/develop/lib/x86
-L/boot/beos/system/lib])
APR_ADDTO(EXTRA_LIBS, [-lbind -lsocket -lbe -lroot])
- APR_SETIFNULL(file_as_socket, [0])
- ;;
- default)
- APR_SETIFNULL(file_as_socket, [0])
;;
esac
;;
1.210 +6 -0 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.209
retrieving revision 1.210
diff -u -r1.209 -r1.210
--- configure.in 2001/01/11 09:09:42 1.209
+++ configure.in 2001/01/12 17:56:58 1.210
@@ -100,6 +100,7 @@
OSDIR="os2"
enable_threads="system_threads"
eolstr="\\r\\n"
+ file_as_socket="0"
;;
*beos*)
OSDIR="beos"
@@ -110,6 +111,7 @@
USE_MM=yes
AC_CHECK_DEFINE(BONE_VERSION, sys/socket.h)
eolstr="\\n"
+ file_as_socket="0"
;;
*os390)
OSDIR="os390"
@@ -780,8 +782,12 @@
msg=no ])
AC_MSG_RESULT([$msg])
+echo $ac_n "checking if fd == socket on this platform... "
if test "x$file_as_socket" = "x" ; then
file_as_socket="1";
+ echo "yes"
+else
+ echo "no"
fi
AC_SUBST(have_in_addr)