httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wilfredo Sánchez <wsanc...@MIT.EDU>
Subject Re: [PATCH] apache-1.3/src/Configure for Darwin 5.1
Date Sun, 25 Nov 2001 00:50:16 GMT
   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
> =======================================================
>
>


Mime
View raw message