You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Sander Temme <sc...@covalent.net> on 2001/11/24 19:50:17 UTC
[PATCH] apache-1.3/src/Configure for Darwin 5.1
Apple recently released MacOS X 10.1.1, which bumped the kernel version
number from 1.4 to... 5.1. This breaks apache-1.2/src/Configure because it
doesn't know to pass the correct flags to the linking phase of shared
libraries (DSOs). This patch attempts to set that straight for now and
future releases:
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 18:08:16
@@ -1163,11 +1163,14 @@
LD_SHLIB="cc"
CFLAGS_SHLIB=""
case "$PLAT" in
- *-apple-darwin1.4 )
+ *-apple-rhapsody* | *-apple-darwin1.[0-3]* )
+ LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
suppress'
+ ;;
+ *-apple-darwin1.4* )
LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
suppress -flat_namespace'
;;
* )
- LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
suppress'
+ LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
suppress -flat_namespace'
;;
esac
LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
Tested on MacOSX 10.0.0.4 (powerpc-apple-darwin1.3.7), MacOS X Server 10.1
(powerpc-apple-darwin1.4) and MacOS X 10.1.1 (powerpc-apple-darwin5.1).
Patch also attached because I fear my mailer may spray newlines all over the
above.
Thanks,
Sander
--
Covalent Technologies sctemme@covalent.net
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
=======================================================
Re: [PATCH] apache-1.3/src/Configure for Darwin 5.1
Posted by Sander Temme <sc...@covalent.net>.
on 11/24/01 11:22 AM, Rodent of Unusual Size at Ken.Coar@Golux.Com wrote:
> Shouldn't one of those have made mention of "darwin5.*"?
I'm special-casing darwin1.[0-3] and passing the -flat_namespace flag from
thereon. Strictly spoken the 1.4 case doesn't even have to be there.
S.
--
Covalent Technologies sctemme@covalent.net
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
=======================================================
Re: [PATCH] apache-1.3/src/Configure for Darwin 5.1
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Sander Temme wrote:
>
> 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 18:08:16
> @@ -1163,11 +1163,14 @@
> LD_SHLIB="cc"
> CFLAGS_SHLIB=""
> case "$PLAT" in
> - *-apple-darwin1.4 )
> + *-apple-rhapsody* | *-apple-darwin1.[0-3]* )
> + LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
> suppress'
> + ;;
> + *-apple-darwin1.4* )
> LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
> suppress -flat_namespace'
> ;;
Shouldn't one of those have made mention of "darwin5.*"?
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Author, developer, opinionist http://Apache-Server.Com/
"All right everyone! Step away from the glowing hamburger!"
Re: [PATCH] apache-1.3/src/Configure for Darwin 5.1
Posted by Wilfredo Sánchez <ws...@MIT.EDU>.
Remove the 1.4 case, since it's redundant.
Other than that, +1.
-Fred
On Saturday, November 24, 2001, at 01:50 PM, Sander Temme wrote:
> Apple recently released MacOS X 10.1.1, which bumped the kernel version
> number from 1.4 to... 5.1. This breaks apache-1.2/src/Configure because
> it
> doesn't know to pass the correct flags to the linking phase of shared
> libraries (DSOs). This patch attempts to set that straight for now and
> future releases:
>
> 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 18:08:16
> @@ -1163,11 +1163,14 @@
> LD_SHLIB="cc"
> CFLAGS_SHLIB=""
> case "$PLAT" in
> - *-apple-darwin1.4 )
> + *-apple-rhapsody* | *-apple-darwin1.[0-3]* )
> + LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
> suppress'
> + ;;
> + *-apple-darwin1.4* )
> LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
> suppress -flat_namespace'
> ;;
> * )
> - LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
> suppress'
> + LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined
> suppress -flat_namespace'
> ;;
> esac
> LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
>
> Tested on MacOSX 10.0.0.4 (powerpc-apple-darwin1.3.7), MacOS X Server
> 10.1
> (powerpc-apple-darwin1.4) and MacOS X 10.1.1 (powerpc-apple-darwin5.1).
> Patch also attached because I fear my mailer may spray newlines all
> over the
> above.
>
> Thanks,
>
> Sander
>
> --
> Covalent Technologies sctemme@covalent.net
> 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
> =======================================================
>
>