You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marius Groeger <ma...@sysgo.de> on 1998/02/09 12:21:06 UTC
Re: LynxOS re-port
Hello Jim,
All,
I've some more news on Apache 1.3 on LynxOS.
On Mon, 19 Jan 1998, Jim Jagielski wrote:
> Marius Groeger wrote:
> >
> > Jim,
> >
> > > Hmmm... we've had that file (conf.h) for ages... I doubt if it will
> > > be changed for 1.3. Although many things are up in the air for
> > > 2.0, so that's a possibility.
As you may recall, I had difficulties with Apache's conf.h file. There's a
system header file with the same name that it clashes with.
I tried adding "-I-" to the include list, but then "#include <regex.h>"
wouldn't work any more. The following patch for Configure adds the
includes with the directive "-idirafter " on LynxOS which has the desired
effect: for #include <...> the system headers are searched first, but an
#include "..." will look into the listed directories first.
--- Configure Sat Nov 15 20:04:47 1997
+++ Configure.new Mon Feb 9 12:07:53 1998
@@ -980,7 +980,14 @@
echo "INCLUDES1=$INCLUDES">> Makefile.config
INCLUDES_AUTODEPTH="$INCLUDES_AUTODEPTH $OSDIR main"
-incprefix="-I"
+case "$PLAT" in
+ *-lynxos)
+ incprefix="-idirafter "
+ ;;
+ *)
+ incprefix="-I"
+ ;;
+esac
for depth in 0 1 2; do
incvar="INCLUDES_DEPTH${depth}="
for i in $INCLUDES_AUTODEPTH; do
With this patch, "make all; make install" works all right. After setting
an existing group in "/usr/local/apache/conf/httpd.conf",
"/usr/local/apache/start" turns the server on.
However, the ultimate solution is, in my opinion to rename conf.h to
httpconf.h. This would be much more defensive.
Thanks,
--Marius
-------------------------------------------------------------------------------
Marius Groeger <mg...@sysgo.de> SYSGO Real-Time Solutions GmbH
Software Engineering Carl-Zeiss-Strasse 41
Phone: +49-6131-9138-0 D-55129 Mainz-Hechtsheim (Germany)
FAX: +49-6131-9138-10 http://www.sysgo.de/