[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Broken configure...

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2001-11-26 20:05:24 CET

Petter Skott <lps@dc.luth.se> writes:
> Or to be fully correct:
>
> #include <stdio.h>
> #include "db.h"
> main ()
> {
> if (major < $svn_check_berkeley_db_major)
> exit (1);
> if (minor < $svn_check_berkeley_db_minor)
> exit (1);
> if (patch < $svn_check_berkeley_db_patch)
> exit (1);
> exit (0);
> }

Shouldn't that be:

   #include <stdio.h>
   #include "db.h"
   main ()
   {
           if (major < $svn_check_berkeley_db_major)
                   exit (1);
           else if (minor < $svn_check_berkeley_db_minor)
                   exit (1);
           else if (patch < $svn_check_berkeley_db_patch)
                   exit (1);
           exit (0);
   }

(I changed two "if"s to "else if"s).

?,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:49 2006

This is an archived mail posted to the Subversion Dev mailing list.