Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 14538 invoked by uid 6000); 22 Apr 1998 08:49:56 -0000 Received: (qmail 14518 invoked by uid 2012); 22 Apr 1998 08:49:55 -0000 Date: 22 Apr 1998 08:49:54 -0000 Message-ID: <19980422084954.14516.qmail@hyperreal.org> To: apache-bugdb@apache.org, peter@demon.net, rse@apache.org From: rse@hyperreal.org Subject: Re: config/2109: Openbsd shared build works - output from configure Sender: apache-bugdb-owner@apache.org Precedence: bulk [In order for any reply to be added to the PR database, ] [you need to include 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" ;;