Commit Graph

319 Commits

Author SHA1 Message Date
041c1cc9ae OS/2: Automate export of global variables from core.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89376 13f79535-47bb-0310-9956-ffa450edef68
2001-06-16 04:00:50 +00:00
6148b98964 Utility to list available hooks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89232 13f79535-47bb-0310-9956-ffa450edef68
2001-05-27 15:31:08 +00:00
fedbb1b510 Remove some obsolete macros and rename one that wasn't name protected.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88962 13f79535-47bb-0310-9956-ffa450edef68
2001-04-29 06:45:35 +00:00
f1f5f01fdb Completely revamp configure so that it preserves the standard make
variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving
the configure additions to EXTRA_* variables.  Also, allow the user
to specify NOTEST_* values for all of the above, which eliminates the
need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM.  Fix the setting
of INCLUDES and EXTRA_INCLUDES.  Check flags as they are added to
avoid pointless duplications.  Fix the order in which flags are given
on the compile and link lines.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88960 13f79535-47bb-0310-9956-ffa450edef68
2001-04-29 05:24:11 +00:00
ef3cb6e212 This stops some systems from barfing...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88937 13f79535-47bb-0310-9956-ffa450edef68
2001-04-26 00:28:13 +00:00
c250191b98 OS/2: Export from the shared core symbols from the socket library needed by
mod_dav & mod_unique_id.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88918 13f79535-47bb-0310-9956-ffa450edef68
2001-04-23 14:35:50 +00:00
a386223555 tweak unixd.h so that exports.c is built properly
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88753 13f79535-47bb-0310-9956-ffa450edef68
2001-04-07 19:37:54 +00:00
f728e216c0 ap_os_systemcase_filename isn't implemented on OS/2 & isn't used anywhere
anyway. This stops exports.c requiring it.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88752 13f79535-47bb-0310-9956-ffa450edef68
2001-04-07 15:31:55 +00:00
3c3c5991b0 OS/2: Export some APR global variables from the httpd core.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88750 13f79535-47bb-0310-9956-ffa450edef68
2001-04-07 13:46:56 +00:00
dea84b1a0b Switch to using aplibtool for building under OS/2 & add support for building
loadable modules as OS/2 DLLs.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88645 13f79535-47bb-0310-9956-ffa450edef68
2001-04-02 15:20:45 +00:00
e5623c97b2 remove some items which are no longer used/needed.
Reviewed by: David McCreedy <mccreedy@us.ibm.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88619 13f79535-47bb-0310-9956-ffa450edef68
2001-03-30 23:27:09 +00:00
de53808e57 Win32 goodness for the core/http split.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88452 13f79535-47bb-0310-9956-ffa450edef68
2001-03-04 22:41:41 +00:00
c38ba160cf More crufty stuff
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88395 13f79535-47bb-0310-9956-ffa450edef68
2001-02-28 16:28:52 +00:00
baa40ff8e0 Crufty stuff now gone [Ben indicated this was a first hack that was
never pursued.]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88394 13f79535-47bb-0310-9956-ffa450edef68
2001-02-28 16:19:47 +00:00
5094b08245 Moved to modules/arch/win32/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88393 13f79535-47bb-0310-9956-ffa450edef68
2001-02-28 16:10:00 +00:00
badfcd1c8c Hmmm... missed one. There has to be a better home for this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88391 13f79535-47bb-0310-9956-ffa450edef68
2001-02-28 15:31:29 +00:00
dc43b4e920 Fix Windows compile breaks caused by mod_core.h foobar
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88371 13f79535-47bb-0310-9956-ffa450edef68
2001-02-27 18:58:59 +00:00
7500eeefd9 move the _rini stuff into bs2login.c (the only user)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88300 13f79535-47bb-0310-9956-ffa450edef68
2001-02-24 14:38:06 +00:00
ee3fe477e3 *) fix inline handling. we had: apr_inline, APR_INLINE, USE_GNU_INLINE, and
INLINE. Now, we just have APR_INLINE and APR_HAS_INLINE.
   - convert all usage
   - note that apr_general messed up the defn (compared to apr.h)
   - simplify the inline decision logic in os/*/os.h
   - simplify the code in os/*/os-inline.c

*) toss ap_checkconv() [no longer used]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88298 13f79535-47bb-0310-9956-ffa450edef68
2001-02-24 11:23:31 +00:00
d244f6b1dd Fix windows compile break introduced by Martin's module structure rename.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88250 13f79535-47bb-0310-9956-ffa450edef68
2001-02-20 19:01:00 +00:00
381f88d56a Update copyright to 2001
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88184 13f79535-47bb-0310-9956-ffa450edef68
2001-02-16 04:26:53 +00:00
d105b5eaa2 As a debugging aid, report which version of the beos code we're using and
fix a typo.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88156 13f79535-47bb-0310-9956-ffa450edef68
2001-02-14 13:32:45 +00:00
afb2418d15 fix the check for killpg(); as it was, we didn't check for
killpg() and we got an ugly "killpg: not found" message on
stderr during configure


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88086 13f79535-47bb-0310-9956-ffa450edef68
2001-02-11 03:35:41 +00:00
39793c7fca toss the signal description stuff from unixd.[ch], beosd.h, and spmt_os2.
use the new functionality in APR.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88079 13f79535-47bb-0310-9956-ffa450edef68
2001-02-11 00:44:40 +00:00
6c7c72f028 [ missed in last commit ]
clean out some headers and libs from the configure process (not needed)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88062 13f79535-47bb-0310-9956-ffa450edef68
2001-02-10 14:13:50 +00:00
23714288fe *) remove obsolete http_conf_globals.h
*) simplify all this #ifdef'ing: just nuke the unixd.h header. it isn't
   actually needed.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88045 13f79535-47bb-0310-9956-ffa450edef68
2001-02-10 03:03:18 +00:00
88d3406f9a renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88019 13f79535-47bb-0310-9956-ffa450edef68
2001-02-08 07:45:33 +00:00
bbb6109301 This file will go away. For this moment, the s/FindFirstFile/apr_stat/
fixes parsing of utf-8 resources against the NTFS filesystem.  The only
  remaining utf-8 change is to the config parser [which is simple - any
  unicode config file (FFFE/FEFF lead word) will be utf-8 encrypted].


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87946 13f79535-47bb-0310-9956-ffa450edef68
2001-02-01 15:58:09 +00:00
7f4a5fe7f5 Use the appropriate APR_FINFO_flags for the apr_stat/lstat/getfileinfo
calls to avoid ownership and permissions on Win32 when they are not
  required, and until they are implemented.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87873 13f79535-47bb-0310-9956-ffa450edef68
2001-01-27 21:28:28 +00:00
cd1ef027c2 The changes required for the APR_FINFO_wanted argument to
apr_stat/lstat/getfileinfo.  These are -NOT- optimal, they
  are simply the required changes to get the server working.
  The size of the patch is a warning about how we need to
  really look at what we are trying to accomplish with all
  of these stat/lstat calls.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87760 13f79535-47bb-0310-9956-ffa450edef68
2001-01-20 21:42:23 +00:00
86a67eff47 Move initgroupgs, ap_uname2id and ap_gname2id from util.c to
mpm_common.c.  These functions are only valid on some platforms,
so they should not be in the main-line code.

These functions are also not portable to non-unix platforms, so they don't
really belong in APR.  Since they are only used in MPMs, for right now,
I am moving them to mpm_common.c


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87755 13f79535-47bb-0310-9956-ffa450edef68
2001-01-20 06:05:15 +00:00
9bb056e62d Normalize the use of AP_DECLARE_DATA
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87733 13f79535-47bb-0310-9956-ffa450edef68
2001-01-19 13:22:49 +00:00
59bbd68bec The big change. This is part 3 of the apr-util symbols rename, please
see the first commit of srclib/apr-util/include (cvs apr-util/include)
  for the quick glance at symbols changed.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87731 13f79535-47bb-0310-9956-ffa450edef68
2001-01-19 07:04:36 +00:00
7c8a252a45 Some missing exports
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87725 13f79535-47bb-0310-9956-ffa450edef68
2001-01-18 23:52:03 +00:00
e3f9efffca This change eliminates the intermediate httpd.lib from the build of
libhttpd.dll - it was required for the support applications to avoid
  linking to the libhttpd.dll, but those functions have all moved to
  apr and apr-util.

  This change also prepares us to eliminate libhttpd.def once all of the
  appropriate AP_DECLARE tags are assigned.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87715 13f79535-47bb-0310-9956-ffa450edef68
2001-01-18 19:49:29 +00:00
a345ba4bf4 Libtool takes care of the lib prefix so get rid of our own workaround.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87639 13f79535-47bb-0310-9956-ffa450edef68
2001-01-10 01:04:53 +00:00
40391fb9f2 adjust remaining modules to use the new handler hook method (Alan Edwards)
bring back the old handler prototype by reusing r->handler (dougm)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87617 13f79535-47bb-0310-9956-ffa450edef68
2001-01-08 23:55:12 +00:00
4d657e4b24 Last change to get SuEXEC working again, and respecting configuration
changes made using autoconf setup.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87539 13f79535-47bb-0310-9956-ffa450edef68
2000-12-27 23:41:16 +00:00
4315b0c706 The Win32 overhaul, in summary;
Modules are named mod_foo.so
    Dynamic Libraries are named libfoo.dll, and are stored in bin/
    The former ApacheCoreDll is now libhttpd.dll
    Apache.exe moves to bin/
    The make install now copies include, lib, and libexec
    All build options are normalized, filenames adjusted appropriately


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87471 13f79535-47bb-0310-9956-ffa450edef68
2000-12-21 01:04:49 +00:00
351725e726 Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87460 13f79535-47bb-0310-9956-ffa450edef68
2000-12-20 16:44:01 +00:00
b5440c348a Force all Apache functions to be linked into the executable, whether they
are used or not.  This uses the same mechanism that is used for APR
and APR-util.  This may not be the correct solution, but it works, and that
is what I really care about.  This also renames CHARSET_EBCDIC to
AP_CHARSET_EBCDIC.  This is for namespace correctness, but it also makes
the exports script a bit easier.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87424 13f79535-47bb-0310-9956-ffa450edef68
2000-12-19 17:05:48 +00:00
8804cdbc86 Use quotes instead of angle brackets when including apr_strings.h so that
a dependency is generated for it & to be consistent with the rest of Apache.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87209 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 14:48:47 +00:00
6f5fa0a2a4 Clean up some warnings about APR string functions by including appropriate
header.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87206 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 13:50:28 +00:00
c028982164 OS/2: os.c doesn't exist anymore, remove it from the build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87205 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 13:47:39 +00:00
67c0a2001b Remove "installer" from the ignore list so the directory doesn't get blown
away every time I do a cvsclean.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87204 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 12:58:27 +00:00
390609a177 En route to httpd-2.0/modules/... in their appropriate places.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87202 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 06:57:20 +00:00
c512685df5 Ignore all the files that are generated during a build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87195 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 03:48:26 +00:00
15f9d66fb4 More changes to get BeOS building once more...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87156 13f79535-47bb-0310-9956-ffa450edef68
2000-12-02 13:33:31 +00:00
7cf10a490d Fix uninitialized badness
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87132 13f79535-47bb-0310-9956-ffa450edef68
2000-11-29 18:50:12 +00:00
c0aa89548f clean up some really bad typedefs - and move one into mpm_winnt.c since
that's the only module remaining that needs it.  Should be an apr type,
  but we aren't using the apr accessors to handle them.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87115 13f79535-47bb-0310-9956-ffa450edef68
2000-11-29 01:50:02 +00:00