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: Guile on Mac OS X Date: Mon, 05 Aug 2002 13:23:17 -0500 Sender: guile-devel-admin@gnu.org Message-ID: <87ofchw4fe.fsf@raven.i.defaultvalue.org> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028571806 28701 127.0.0.1 (5 Aug 2002 18:23:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2002 18:23:26 +0000 (UTC) Cc: guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17bmVo-0007Sm-00 for ; Mon, 05 Aug 2002 20:23:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17bmWS-0002Qj-00; Mon, 05 Aug 2002 14:24:04 -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.35 #1 (Debian)) id 17bmVk-0002Jd-00 for ; Mon, 05 Aug 2002 14:23:20 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 7012314EF; Mon, 5 Aug 2002 13:23:17 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 41BD4DD6; Mon, 5 Aug 2002 13:23:17 -0500 (CDT) Original-To: Michael Tuexen In-Reply-To: (Michael Tuexen's message of "Mon, 5 Aug 2002 18:37:52 +0200") Original-Lines: 34 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-pc-linux-gnu) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 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:996 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:996 Michael Tuexen writes: > The code which performs the check is: This is not the code in the resulting configure file. That code will be expanded, and I believe if you search for usleep, you'll find it in a for loop like this: for ac_func in ctermid ftime fchown getcwd geteuid gettimeofday lstat mkdir mknod nice readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction siginterrupt strftime strptime symlink sync tcgetpgrp tcsetpgrp times uname waitpid strdup system usleep atexit on_exit chown link fcntl ttyname getpwent getgrent kill getppid getpgrp fork setitimer getitimer do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 ... That's where I'm talking about adding the echo/exit/whatever debugging statements and then re-running configure. If you try this, make sure you rm config.cache between runs. > My problem is that it IS working for strptime but NOT for sleep and > usleep and I do not see the difference. Right. My guess is that there may be some preprocessor #ifdefery or something causing the trouble. If you can use the above tricks to actually see the code it's running to test you should be able to run that code directly from a prompt and see what the actual gcc/cpp error msgs are, if any. -- 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