bug-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building 4.1.0 rc1 on Solaris 8 and 9 with gcc 3.3.2


From: Chad Walstrom
Subject: Re: Building 4.1.0 rc1 on Solaris 8 and 9 with gcc 3.3.2
Date: Thu, 18 Nov 2004 12:47:51 -0600
User-agent: Mutt/1.5.6+20040722i

I wrote:
> Nowhere in the config.in is HAVE_DECL_GETOPT defined, nor is configure
> testing for it at all.  It appears that getopt and basename both
> require manual definitions of HAVE_DECL_*=1 to skip the function
> declaration or 0 to use it.  Try throwing these defines in your CFLAGS
> and see what happens.

OK.  Looks like this problem isn't a new one in free software projects.
Google pointed out numerous projects having to use their base
configure.{in,ac} files to make the define.  I've attached a patch that
should, hopefully, fix the getopt/basename issues.

Try the patch.  If it works, I'll commit it to CVS.

-- 
Chad Walstrom <chewie@wookimus.net>           http://www.wookimus.net/
           assert(expired(knowledge)); /* core dump */

Attachment: gnats_configure_in.patch
Description: Text document

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]