[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]


Synopsis: Openbsd shared build works - output from configure

State-Changed-From-To: open-closed
State-Changed-By: rse
State-Changed-When: Wed Apr 22 01:49:48 PDT 1998
State-Changed-Why:
Thanks for your feedback. I've comitted the following
patch for 1.3b7 based on your information. If it works
for you (I espect this because I only removed -DPIC
which is not used by Apache) there is no need to reply.
If not, please reply immediately and say what is still
wrong for DSO support under OpenBSD.
Thanks.

Index: Configure
===================================================================
RCS file: /e/apache/REPOS/apache-1.3/src/Configure,v
retrieving revision 1.242
retrieving revision 1.243
diff -u -r1.242 -r1.243
--- Configure   1998/04/21 21:00:43     1.242
+++ Configure   1998/04/22 08:45:54     1.243
@@ -782,6 +782,12 @@
             LDFLAGS_SHLIB_EXPORT=""
             SHLIB_SUFFIX_DEPTH=2
             ;;
+        *-openbsd2*)
+            CFLAGS_SHLIB="-fPIC"
+            LDFLAGS_SHLIB="-Bforcearchive -Bshareable"
+            LDFLAGS_SHLIB_EXPORT=""
+            SHLIB_SUFFIX_DEPTH=2
+            ;;
         *-solaris2*)
             case $CC in
                 */gcc|gcc ) CFLAGS_SHLIB="-fpic" ;;



Reply via email to