You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Joe Orton <jo...@manyfish.co.uk> on 2002/07/25 21:20:49 UTC

Re: [neon] [PATCH] Neon on Mac OS 10.2

On Thu, Jul 25, 2002 at 03:14:16PM -0400, Wilfredo Sánchez wrote:
> Howdy-
> 
>    Mac OS 10.2 (Jaguar) is Darwin 6.x (don't ask me why) and your
> check for building on Darwin 5.x doesn't trigger, which is
> unfortunate. The patch below removes the testing for the version
> number altogether.  Your current test wouldn't work on pre-10.1
> (Darwin 1.x, I think) systems anyway (you'd instead want
> -traditional-cpp and no linker flags), and I'm not sure it's worth
> bothering with 10.0 at this point.

Hi, I had thought the -no-cpp-precomp flag was only needed for 10.1
systems (at least I only started getting bug reports from people running
10.1, and people had been building on OS X before), so I coded the test
to explictly look for the newer systems.  Will CPPFLAGS=-no-cpp-precomp
still work on 10.0 systems?

Regards,

joe

> 
>    I've tested this patch in the context of a Subversion build.
> 
> 	-wsv
> 
> 
> --- neon.m4.orig        Thu Jul 25 13:51:00 2002
> +++ neon.m4     Thu Jul 25 13:52:01 2002
> @@ -417,10 +417,10 @@
>   ])
> 
>   AC_DEFUN([NE_MACOSX], [
> -# Check for Mac OS X 10.1 which needs extra cpp and linker flags.
> -AC_CACHE_CHECK([for Mac OS X 10.1], ne_cv_os_macosx, [
> -case `uname -s 2>/dev/null`:`uname -r 2>/dev/null` in
> -Darwin:5.*) ne_cv_os_macosx=yes ;;
> +# Check for Darwin, which needs extra cpp and linker flags.
> +AC_CACHE_CHECK([for Darwin], ne_cv_os_macosx, [
> +case `uname -s 2>/dev/null` in
> +Darwin) ne_cv_os_macosx=yes ;;
>   *) ne_cv_os_macosx=no ;;
>   esac])
>   if test $ne_cv_os_macosx = yes; then
> 
> _______________________________________________
> neon mailing list
> neon@webdav.org
> http://mailman.webdav.org/mailman/listinfo/neon

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [neon] [PATCH] Neon on Mac OS 10.2

Posted by Nicholas Riley <nj...@uiuc.edu>.
On Thu, Jul 25, 2002 at 10:20:49PM +0100, Joe Orton wrote:
> On Thu, Jul 25, 2002 at 03:14:16PM -0400, Wilfredo Sánchez wrote:
> >    Mac OS 10.2 (Jaguar) is Darwin 6.x (don't ask me why) and your
> > check for building on Darwin 5.x doesn't trigger, which is
> > unfortunate. The patch below removes the testing for the version
> > number altogether.  Your current test wouldn't work on pre-10.1
> > (Darwin 1.x, I think) systems anyway (you'd instead want
> > -traditional-cpp and no linker flags), and I'm not sure it's worth
> > bothering with 10.0 at this point.
> 
> Hi, I had thought the -no-cpp-precomp flag was only needed for 10.1
> systems (at least I only started getting bug reports from people running
> 10.1, and people had been building on OS X before), so I coded the test
> to explictly look for the newer systems.  Will CPPFLAGS=-no-cpp-precomp
> still work on 10.0 systems?

No, that was Fred's point, that the behavior of -traditional-cpp and
-no-cpp-precomp were divorced as of 10.1.  -traditional-cpp handled
both in 10.0.

In OS X, check in /Developer/Documentation/ReleaseNotes/Compiler.html
and search for one of the above options to read about it.

-- 
=Nicholas Riley <nj...@uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org