From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: configure --with-guile-for-build Date: Mon, 03 Nov 2003 10:33:40 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87n0bemgt7.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1067822699 25149 80.91.224.253 (3 Nov 2003 01:24:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2003 01:24:59 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Nov 03 02:24:57 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AGTSi-0000On-00 for ; Mon, 03 Nov 2003 02:24:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AGTRF-00013d-OZ for guile-devel@m.gmane.org; Sun, 02 Nov 2003 20:23:25 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AGSg4-0002HT-2N for guile-devel@gnu.org; Sun, 02 Nov 2003 19:34:40 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AGSfM-0001xI-4r for guile-devel@gnu.org; Sun, 02 Nov 2003 19:34:28 -0500 Original-Received: from [61.8.0.36] (helo=snoopy.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AGSfK-0001vW-St for guile-devel@gnu.org; Sun, 02 Nov 2003 19:33:55 -0500 Original-Received: from mongrel.pacific.net.au (mongrel.pacific.net.au [61.8.0.107]) by snoopy.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id hA30XqV0022059 for ; Mon, 3 Nov 2003 11:33:52 +1100 Original-Received: from localhost (ppp113.dyn228.pacific.net.au [203.143.228.113]) by mongrel.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id hA30XJDJ004805 for ; Mon, 3 Nov 2003 11:33:20 +1100 Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 1AGSf6-0000qZ-00; Mon, 03 Nov 2003 10:33:40 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2963 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2963 --=-=-= Below would be my suggestion to just have GUILE_FOR_BUILD for specifying the build system guile. In particular note that the gnu standards advise against using --with to specify filenames, it's meant to specify an external package the build should utilize. Hopefully few people will need to override the default GUILE_FOR_BUILD, and those smart enough to know what to do should be happy with an AC_ARG_VAR variable. Some advice could be put in the manual if there might be any remaining doubts. * configure.in (--with-guile-for-build): Remove this option, it's not normal style for --with. (GUILE_FOR_BUILD): Use AC_ARG_VAR. --=-=-= Content-Disposition: attachment; filename=configure.in.guile-for-build.diff --- configure.in.~1.225.~ 1970-01-01 10:00:01.000000000 +1000 +++ configure.in 2003-11-03 10:27:47.000000000 +1000 @@ -968,15 +968,13 @@ else GUILE_FOR_BUILD='$(preinstguile)' fi -AC_ARG_WITH(guile-for-build, - [ --with-guile-for-build=guile native guile executable, to be used during build]) -test -n "$with_guile_for_build" && GUILE_FOR_BUILD="$with_guile_for_build" ## AC_MSG_CHECKING("if we are cross compiling") ## AC_MSG_RESULT($cross_compiling) if test "$cross_compiling" = "yes"; then AC_MSG_RESULT($GUILE_FOR_BUILD) fi +AC_ARG_VAR(GUILE_FOR_BUILD,[guile for build system]) AC_SUBST(GUILE_FOR_BUILD) ## If we're using GCC, ask for aggressive warnings. --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel --=-=-=--