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: Re: native Win32 guile 1.7.0 Date: Fri, 30 May 2003 09:13:07 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87of1lny7w.fsf@zip.com.au> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054250063 27160 80.91.224.249 (29 May 2003 23:14:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 29 May 2003 23:14:23 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri May 30 01:14:21 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19LWbF-00073u-00 for ; Fri, 30 May 2003 01:14:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19LWcR-0005Br-FM for guile-devel@m.gmane.org; Thu, 29 May 2003 19:15:35 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19LWbe-0004J7-SS for guile-devel@gnu.org; Thu, 29 May 2003 19:14:46 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19LWbP-0003T9-Bv for guile-devel@gnu.org; Thu, 29 May 2003 19:14:38 -0400 Original-Received: from snoopy.pacific.net.au ([61.8.0.36]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19LWaH-0001ki-8D for guile-devel@gnu.org; Thu, 29 May 2003 19:13:21 -0400 Original-Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) h4TNDHPB017641; Fri, 30 May 2003 09:13:18 +1000 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h4TNDGQg019831; Fri, 30 May 2003 09:13:16 +1000 (EST) Original-Received: from localhost (ppp16.dyn228.pacific.net.au [203.143.228.16]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h4TNDEYZ017477; Fri, 30 May 2003 09:13:15 +1000 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19LWa4-0000jk-00; Fri, 30 May 2003 09:13:08 +1000 Original-To: stefan Mail-Copies-To: never In-Reply-To: (stefan@lkcc.org's message of "Thu, 29 May 2003 16:31:06 +0200 (CEST)") User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2447 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2447 stefan writes: > > * posix.c (s_scm_putenv): Disable use of unsetenv() for the > mingw32 build. > > #ifndef __MINGW32__ It'd be good autoconf style to test unsetenv with AC_CHECK_FUNCS if it's not always available. In particular that way it gets used if added to mingw in the future. Perhaps environ could be munged directly if unsetenv doesn't exist. Might end up being a memory leak. Probably not ideal to silently do nothing. > * mkstemp.c: Provide prototype to avoid compiler warning. It's usually best to just omit prototypes if they're not in a standard header, and the return value is only an int. It's all too easy to end up with a conflict on some obscure system. AC_CHECK_DECLS is the way to go if you really want a declaration. > * configure.in: Removed -lm check > > if test $MINGW32 = no; then > AC_CHECK_LIB(m, main) > fi Doesn't it simply find -lm doesn't exist and continue? If there has to be a hard system dependency, autoconf deprecates $MINGW32 in favour of "case $host in *-*-mingw*)" etc. Libtool has an AC_CHECK_LIBM which knows about a few systems. We use it in gmp, not actually documented though. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel