From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: How do I determine if a function is defined? Date: Sun, 28 Apr 2002 20:28:55 -0500 Sender: guile-devel-admin@gnu.org Message-ID: <87sn5fl2co.fsf@raven.i.defaultvalue.org> References: <3CCC39FF.C948A66E@pacbell.net> <1020023889.25790.60.camel@flophouse> <3CCC4907.BE9DDCFB@pacbell.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1020043855 28601 127.0.0.1 (29 Apr 2002 01:30:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 29 Apr 2002 01:30:55 +0000 (UTC) Cc: Bill Gribble , Clinton Ebadi , guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17200E-0007RC-00 for ; Mon, 29 Apr 2002 03:30:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 171zzZ-0004T0-00; Sun, 28 Apr 2002 21:30:13 -0400 Original-Received: from dsl-209-87-109-2.constant.com ([209.87.109.2] helo=defaultvalue.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 171zyS-0004Mo-00 for ; Sun, 28 Apr 2002 21:29:04 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 9C06C642C; Sun, 28 Apr 2002 20:29:03 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 7113C11CE; Sun, 28 Apr 2002 20:28:55 -0500 (CDT) Original-To: Bruce Korb In-Reply-To: <3CCC4907.BE9DDCFB@pacbell.net> (Bruce Korb's message of "Sun, 28 Apr 2002 12:09:59 -0700") Original-Lines: 24 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:553 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:553 Bruce Korb writes: > I have a program that defines the procedure ``set-writable'' > > http://www.gnu.org/manual/autogen-5.3.6/html_chapter/autogen_3.html#SEC62 > > but I added that procedure only recently. I want to use it if it is > available, but skip it if it is not. That way, I do not require > that people have an AutoGen version more recent than a year old. Try (if (defined? 'set-writable) ...) Though you could also handle this during the make process via .in files if you didn't want to have to run all the conditionals on every load. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel