--- /dev/null
+
+DEPTH = ../..
+topsrcdir = @topsrcdir@
+srcdir = @srcdir@
+VPATH = @srcdir@
+
+LTLIBRARY_NAME = libos.la
+LTLIBRARY_SOURCES = os.c os-inline.c util_os2.c iol_socket.c
+
+include $(topsrcdir)/build/ltlib.mk
--- /dev/null
+if test "$OS" = "os2" ; then
+ CFLAGS="$CFLAGS -DOS2 -O2"
+ LDFLAGS="$LDFLAGS -Zexe"
+fi
#define HAVE_CANONICAL_FILENAME
#define HAVE_DRIVE_LETTERS
+#include <apr_general.h>
+
/*
* This file in included in all Apache source code. It contains definitions
* of facilities available on _this_ operating system (HAVE_* macros),
extern int ap_os_is_path_absolute(const char *file);
#endif
-API_EXPORT(char *) ap_os_canonical_filename(ap_context_t *p, const char *file);
+char *ap_os_canonical_filename(ap_context_t *p, const char *file);
#define ap_os_case_canonical_filename(p,f) ap_os_canonical_filename(p,f)
#define ap_os_systemcase_filename(p,f) ap_os_canonical_filename(p,f)
/* FIXME: the following should be implemented on this platform */
--- /dev/null
+
+DEPTH = ../../..
+topsrcdir = @topsrcdir@
+srcdir = @srcdir@
+VPATH = @srcdir@
+
+LTLIBRARY_NAME = libspmt_os2.la
+LTLIBRARY_SOURCES = spmt_os2.c
+
+include $(topsrcdir)/build/ltlib.mk
--- /dev/null
+if test "$MPM_NAME" = "spmt_os2" ; then
+ AC_CACHE_SAVE
+ APACHE_FAST_OUTPUT(modules/mpm/$MPM_NAME/Makefile)
+ CFLAGS="$CFLAGS -Zmt"
+ LDFLAGS="$LDFLAGS -Zmt"
+fi
#define INCL_DOSERRORS
#include "httpd.h"
+#include "ap_config.h"
#include "mpm_default.h"
#include "http_main.h"
#include "http_log.h"
#include <os2.h>
#include <stdlib.h>
+#include <sys/signal.h>
/* config globals */
}
-#if defined(USE_OS2SEM_SERIALIZED_ACCEPT)
static HMTX lock_sem = -1;
}
}
-#endif
/* On some architectures it's safe to do unserialized accept()s in the single