Second try for this patch. There's no need to special case 1.4: all versions
from that one on, whichever numerical identifier Apple decides to slap onto
them, will pass the -flat_namespace option when linking DSOs. Rhapsody and
darwin1.[0-3] are the odd ones out.
Index: src/Configure
===================================================================
RCS file: /home/cvspublic/apache-1.3/src/Configure,v
retrieving revision 1.444
diff -u -r1.444 Configure
--- src/Configure 2001/10/08 20:59:36 1.444
+++ src/Configure 2001/11/24 20:03:13
@@ -1163,11 +1163,12 @@
LD_SHLIB="cc"
CFLAGS_SHLIB=""
case "$PLAT" in
- *-apple-darwin1.4 )
- LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
suppress -flat_namespace'
+ *-apple-rhapsody* | *-apple-darwin1.[0-3]* )
+ LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
suppress'
;;
* )
- LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
suppress'
+ # All newer versions need this
+ LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
suppress -flat_namespace'
;;
esac
LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
Also attached for to pre-empt line wrap malaise.
S.
--
Covalent Technologies [EMAIL PROTECTED]
Engineering group Voice: (415) 536 5214
645 Howard St. Fax: (415) 536 5210
San Francisco CA 94105
PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03 5531 AFB1 96AF B584 0AB1
=======================================================
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message
=======================================================
Index: src/Configure
===================================================================
RCS file: /home/cvspublic/apache-1.3/src/Configure,v
retrieving revision 1.444
diff -u -r1.444 Configure
--- src/Configure 2001/10/08 20:59:36 1.444
+++ src/Configure 2001/11/24 20:03:13
@@ -1163,11 +1163,12 @@
LD_SHLIB="cc"
CFLAGS_SHLIB=""
case "$PLAT" in
- *-apple-darwin1.4 )
- LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress -flat_namespace'
+ *-apple-rhapsody* | *-apple-darwin1.[0-3]* )
+ LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress'
;;
* )
- LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress'
+ # All newer versions need this
+ LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress -flat_namespace'
;;
esac
LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB