Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 37501 invoked from network); 31 Oct 2005 19:48:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Oct 2005 19:48:34 -0000 Received: (qmail 67911 invoked by uid 500); 31 Oct 2005 19:48:31 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 67667 invoked by uid 500); 31 Oct 2005 19:48:29 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 67656 invoked by uid 99); 31 Oct 2005 19:48:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 11:48:29 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [213.4.129.135] (HELO telesmtp3.mail.isp) (213.4.129.135) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 11:48:25 -0800 Received: from [80.32.146.155] ([80.32.146.155]) by telesmtp3.mail.isp (terra.es) with ESMTP id IP8PO101.6WN for ; Mon, 31 Oct 2005 20:48:01 +0100 Message-ID: <436674F1.2040403@telefonica.net> Date: Mon, 31 Oct 2005 20:48:01 +0100 From: Jean-frederic Clere Reply-To: jfclere@sinix.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041023 X-Accept-Language: en, fr MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: [BootJVM] configure References: <19302591.1130786288162.JavaMail.root@elwamui-rubis.atl.sa.earthlink.net> In-Reply-To: <19302591.1130786288162.JavaMail.root@elwamui-rubis.atl.sa.earthlink.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N bootjvm@earthlink.net wrote: >Jean-Frederic, > >I personally would rather see the Makefile pick up >the $(JAVA_HOME) environment variable instead >of the configuration shell script. By doing it this >way, you don't have to run the configuration again >when or if JAVA_HOME changes, lest the result >be a mixture of two JDK versions. Does this make >sense? > > My idea is to use autoconf... In this case it is very easy to redo configure: "./configure --with-java=$JAVA_HOME2 ..." Of course the JAVA_HOME have to be in a .in file included in Makefile for example Makedefs.in +++ JAVA_HOME=@JAVA_HOME@ +++ The problem in the current config.sh is that it contains a Makefile syntax in a shell script... > >Dan Lydick > >-----Original Message----- >From: Jean-frederic Clere >Sent: Oct 30, 2005 12:56 PM >To: harmony-dev@incubator.apache.org >Subject: Re: [BootJVM] configure > >I have an additional correction for config.sh: >+++ >jfclere@jfcexpert:~/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM> >svn diff config.sh >Index: config.sh >=================================================================== >--- config.sh (revision 329310) >+++ config.sh (working copy) >@@ -1656,8 +1656,8 @@ > > # Set up include path for the current tree, the configuration, > # the JVM tree, and the JDK tree. >-JAVA_INCLUDE_PATHS="-I$(JAVA_HOME)/include \ >- -I$(JAVA_HOME)/include/$osJDKdir" >+JAVA_INCLUDE_PATHS="-I$JAVA_HOME/include \ >+ -I$JAVA_HOME/include/$osJDKdir" > > USEDOX="for 'dox.sh' and 'gmake dox'" > USEBLDCLN="for 'gmake all' and 'gmake clean'" >+++ > >Cheers > >Jean-Frederic > > > > >Dan Lydick > > >