You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/08/30 07:52:25 UTC
cvs commit: httpd-2.0/support logresolve.c
wrowe 01/08/29 22:52:25
Modified: . CHANGES configure.in
os config.m4
support logresolve.c
Log:
* configure.in: added Cygwin specific APR_SETVARs.
* os/config.m4: added Cygwin specific values for $OS and $OS_DIR.
$OS_DIR will change to "cygwin" as soon as I get the DSO/DLL things
clean as with 1.3.20.
* support/logresolve.c: added OS specific #ifdef statement to define
h_errno as extern __declspec(dllimport); it's imported from the
cygwin1.dll itself.
Submitted by: Stipe Tolj <to...@wapme-systems.de>
Revision Changes Path
1.348 +6 -0 httpd-2.0/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/httpd-2.0/CHANGES,v
retrieving revision 1.347
retrieving revision 1.348
diff -u -r1.347 -r1.348
--- CHANGES 2001/08/30 05:10:53 1.347
+++ CHANGES 2001/08/30 05:52:25 1.348
@@ -1,5 +1,11 @@
Changes with Apache 2.0.26-dev
+ *) Some initial support for the cygwin platform [prefork only].
+ This is not to be confused with support for the WinNT/Win32
+ platform, which is the recommended configuration for native
+ Win32 users. The cygwin platform support is recommended for
+ cygwin platform users. [Stipe Tolj <to...@wapme-systems.de>]
+
*) Changed syntax of Set{Input|Output}Filter. The list of filters
must be semicolon delimited (if more than one filter is given.)
The Set{Input|Output}Filter directive now overrides a parent
1.175 +4 -0 httpd-2.0/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/httpd-2.0/configure.in,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -r1.174 -r1.175
--- configure.in 2001/08/27 04:47:17 1.174
+++ configure.in 2001/08/30 05:52:25 1.175
@@ -157,6 +157,10 @@
dnl This is a hack -- we should be using AC_TRY_RUN instead
ap_platform_runtime_link_flag="-R"
;;
+ *cygwin*)
+ APR_SETVAR(APACHE_MPM, [prefork])
+ APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1])
+ ;;
esac
dnl
1.12 +4 -0 httpd-2.0/os/config.m4
Index: config.m4
===================================================================
RCS file: /home/cvs/httpd-2.0/os/config.m4,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- config.m4 2001/07/10 02:35:24 1.11
+++ config.m4 2001/08/30 05:52:25 1.12
@@ -13,6 +13,10 @@
OS="unix"
OS_DIR=bs2000 # only the OS_DIR is platform specific.
;;
+*cygwin*)
+ OS="cygwin"
+ OS_DIR="unix"
+ ;;
*)
OS="unix"
OS_DIR=$OS;;
1.16 +4 -0 httpd-2.0/support/logresolve.c
Index: logresolve.c
===================================================================
RCS file: /home/cvs/httpd-2.0/support/logresolve.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- logresolve.c 2001/02/08 07:45:32 1.15
+++ logresolve.c 2001/08/30 05:52:25 1.16
@@ -117,7 +117,11 @@
*/
#ifndef h_errno
+#ifdef __CYGWIN__
+extern __declspec(dllimport) int h_errno;
+#else
extern int h_errno; /* some machines don't have this in their headers */
+#endif
#endif
/* largest value for h_errno */