Re: [PATCH] Apache 1.3 and OpenBSD
--- Configure.orig Fri Jun 7 15:47:58 2002 +++ Configure Fri Jun 7 15:51:21 2002 @@ -1130,6 +1130,9 @@ if [ "x$using_shlib" = "x1" ] ; then *) LD_SHLIB="gcc" LDFLAGS_SHLIB="-shared \$(CFLAGS_SHLIB)" + if [ "x`echo __ELF__ | $CC -E - | grep __ELF__`" = "x" ]; then +LDFLAGS_SHLIB_EXPORT="-Wl,-E" + fi ;; esac LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB >Date: Mon, 3 Jun 2002 11:13:32 -0400 >From: Jim Jagielski <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Subject: Re: [PATCH] Apache 1.3 and OpenBSD > >> >--- Configure.orig Sat May 11 23:39:59 2002 >>>+++ ConfigureMon May 20 17:19:41 2002 >>>@@ -1130,6 +1130,9 @@ if [ "x$using_shlib" = "x1" ] ; then >>> *) >>>LD_SHLIB="gcc" >>>LDFLAGS_SHLIB="-shared \$(CFLAGS_SHLIB)" >>>+ if [ -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ]; then >>>+ LDFLAGS_SHLIB_EXPORT="-Wl,-E" >> >+ fi > >The '-z' is not normally used in Configure but that is easily fixed... :) >-- >=== > Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ > "A society that will trade a little liberty for a little order > will lose both and deserve neither" - T.Jefferson
Re: [PATCH] Apache 1.3 and OpenBSD
> >--- Configure.orig Sat May 11 23:39:59 2002 >>+++ Configure Mon May 20 17:19:41 2002 >>@@ -1130,6 +1130,9 @@ if [ "x$using_shlib" = "x1" ] ; then >> *) >> LD_SHLIB="gcc" >> LDFLAGS_SHLIB="-shared \$(CFLAGS_SHLIB)" >>+if [ -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ]; then >>+ LDFLAGS_SHLIB_EXPORT="-Wl,-E" > >+ fi The '-z' is not normally used in Configure but that is easily fixed... :) -- === Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ "A society that will trade a little liberty for a little order will lose both and deserve neither" - T.Jefferson
Re: [PATCH] Apache 1.3 and OpenBSD
Can this very simple and straightforward patch please be put in before 1.3.25 is T&Red ? // Brad [EMAIL PROTECTED] [EMAIL PROTECTED] >-- Forwarded message -- >Date: Mon, 20 May 2002 18:03:40 -0400 (EDT) >From: Brad <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [PATCH] Apache 1.3 and OpenBSD > >Here is a patch for Apache 1.3 which when used with OpenBSD 3.1 and up >allows modules to work on our ELF-based architectures. > >BTW, I am not subscribed to this list so please reply directly to me. > >--- Configure.orig Sat May 11 23:39:59 2002 >+++ Configure Mon May 20 17:19:41 2002 >@@ -1130,6 +1130,9 @@ if [ "x$using_shlib" = "x1" ] ; then > *) > LD_SHLIB="gcc" > LDFLAGS_SHLIB="-shared \$(CFLAGS_SHLIB)" >+ if [ -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ]; then >+ LDFLAGS_SHLIB_EXPORT="-Wl,-E" >+ fi > ;; > esac > LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB > >// Brad > >[EMAIL PROTECTED] >[EMAIL PROTECTED]
[PATCH] Apache 1.3 and OpenBSD (fwd)
-- Forwarded message -- Date: Mon, 20 May 2002 18:03:40 -0400 (EDT) From: Brad <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [PATCH] Apache 1.3 and OpenBSD Here is a patch for Apache 1.3 which when used with OpenBSD 3.1 and up allows modules to work on our ELF-based architectures. BTW, I am not subscribed to this list so please reply directly to me. --- Configure.orig Sat May 11 23:39:59 2002 +++ Configure Mon May 20 17:19:41 2002 @@ -1130,6 +1130,9 @@ if [ "x$using_shlib" = "x1" ] ; then *) LD_SHLIB="gcc" LDFLAGS_SHLIB="-shared \$(CFLAGS_SHLIB)" + if [ -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ]; then +LDFLAGS_SHLIB_EXPORT="-Wl,-E" + fi ;; esac LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB // Brad [EMAIL PROTECTED] [EMAIL PROTECTED]
[PATCH] Apache 1.3 and OpenBSD
Here is a patch for Apache 1.3 which when used with OpenBSD 3.1 and up allows modules to work on our ELF-based architectures. BTW, I am not subscribed to this list so please reply directly to me. --- Configure.orig Sat May 11 23:39:59 2002 +++ Configure Mon May 20 17:19:41 2002 @@ -1130,6 +1130,9 @@ if [ "x$using_shlib" = "x1" ] ; then *) LD_SHLIB="gcc" LDFLAGS_SHLIB="-shared \$(CFLAGS_SHLIB)" + if [ -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ]; then +LDFLAGS_SHLIB_EXPORT="-Wl,-E" + fi ;; esac LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB // Brad [EMAIL PROTECTED] [EMAIL PROTECTED]