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

Re: javahl build strangeness

From: Daniel L. Rall <dlr_at_collab.net>
Date: 2004-03-18 19:14:28 CET

Patrick Mayweg wrote:
> Hi McLain,
> McClain Looney wrote:
>
>> Hello,
>>
>> Has anyone else experienced strangeness with the javac invocation in
>> the javahl build on debian?
>>
>> after running autogen, then configure --with-jdk=$JAVA_HOME, issuing a
>> make results in:
>>
>>
> While we still have the seperated build for javahl in the 1.0.x
> brancher, it is important to use automake 1.6 or higher. If I would know
> a way to automaticly test that during autogen.sh, I would add that.
> On trunk you should use the integrated build.

Patrick, something like what build/ac-macros/swig.m4 file does would be
appropriate:

   if test "$SWIG" != "none"; then
     AC_MSG_CHECKING([swig version])
     SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
                        sed -ne 's/^.*Version \(.*\)$/\1/p'`"
     # We want the version as an integer so we can test against
     # which version we're using. SWIG doesn't provide this
     # to us so we have to come up with it on our own.
     # The major is passed straight through,
     # the minor is zero padded to two places,
     # and the patch level is zero padded to three places.
     # e.g. 1.3.21 becomes 103021
     SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
                   sed -e 's/[[^0-9\.]].*$//' \
                       -e 's/\.\([[0-9]]\)$/.0\1/' \
                       -e 's/\.\([[0-9]][[0-9]]\)$/.0\1/' \
                       -e 's/\.\([[0-9]]\)\./0\1/; s/\.//g;'`"
     AC_MSG_RESULT([$SWIG_VERSION_RAW])
     AC_SUBST(SWIG_VERSION)
     # If you change the required swig version number, don't forget to update:
     # subversion/bindings/swig/INSTALL
     # subversion/bindings/swig/README
     # packages/rpm/mandrake-9.0/subversion.spec
     # packages/rpm/redhat-7.x/subversion.spec
     # packages/rpm/redhat-8.x/subversion.spec
     if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103019"; then
         SWIG_SUITABLE=yes
         ...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 18 19:14:46 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.