Re: Regarding ./configure file
On Fr, 2008-11-21 at 10:57 -0800, Juan Lang wrote: > > I thought that if you want to add anything to wine you: > > > > 1 - simply add it to git > > 2 - ./tools/make_makefiles > > 3 - autoconf > > 4 - ./configure > > 5 - make depend && make > > > > Is this wrong? > > Yes. On occasion we need to add or improve checks for different > libraries. tools/make_makefiles is used to add new code to Wine, > configure.ac is modified to add new configure checks. When a new directory was added to Wine (git-update-index --add */Makefile.in), then configure.ac is updated by make_makefiles The Makefile has a rule to rebuild configure, when configure.ac changed The Makefile has a rule to rerun config.status, when configure changed (That will rerun configure / rebuild the Makefiles) So in the line 3 above is only present to reduce the total time. -- By by ... Detlef
Re: Regarding ./configure file
> Isn't all the configuration done via ./tools/make_makefiles ? No, not all. > I thought that if you want to add anything to wine you: > > 1 - simply add it to git > 2 - ./tools/make_makefiles > 3 - autoconf > 4 - ./configure > 5 - make depend && make > > Is this wrong? Yes. On occasion we need to add or improve checks for different libraries. tools/make_makefiles is used to add new code to Wine, configure.ac is modified to add new configure checks. The use of configure.ac is well-described on the GNU autoconf page. --Juan
Re: Regarding ./configure file
Isn't all the configuration done via ./tools/make_makefiles ? I thought that if you want to add anything to wine you: 1 - simply add it to git 2 - ./tools/make_makefiles 3 - autoconf 4 - ./configure 5 - make depend && make Is this wrong? On Sat, Nov 22, 2008 at 1:33 AM, Francois Gouget <[EMAIL PROTECTED]> wrote: > On Wed, 19 Nov 2008, Massimo Del Fedele wrote: > >> I've looked into configure and configure.ac and I've seen that configure >> is quite more recent than configure.ac and it seems to have been >> changed manually. Am I wrong ? > > Yes. configure is really not a file that anyone would want to modify > manually. It may be regenerated alone from time to time to update it to > newer versions of autoconf, but it's definitely not modified manually. > > > -- > Francois Gouget <[EMAIL PROTECTED]> http://fgouget.free.fr/ > The greatest programming project of all took six days; on the seventh day the > programmer rested. We've been trying to debug the *&^%$#@ thing ever since. > Moral: design before you implement. > > >
Re: Regarding ./configure file
On Wed, 19 Nov 2008, Massimo Del Fedele wrote: > I've looked into configure and configure.ac and I've seen that configure > is quite more recent than configure.ac and it seems to have been > changed manually. Am I wrong ? Yes. configure is really not a file that anyone would want to modify manually. It may be regenerated alone from time to time to update it to newer versions of autoconf, but it's definitely not modified manually. -- Francois Gouget <[EMAIL PROTECTED]> http://fgouget.free.fr/ The greatest programming project of all took six days; on the seventh day the programmer rested. We've been trying to debug the *&^%$#@ thing ever since. Moral: design before you implement.
Re: Regarding ./configure file
I've looked into configure and configure.ac and I've seen that configure is quite more recent than configure.ac and it seems to have been changed manually. Am I wrong ? Max Stefan Dösinger ha scritto: > Don't modify ./configure directly, edit configure.ac instead. The > autoconf documentation describes how this file works. configure is then > created from configure.ac by running "autoconf" > > > > > > *From:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *On Behalf Of *shanmukha sainath > addepalli > *Sent:* Tuesday, November 18, 2008 10:27 AM > *To:* wine-devel@winehq.org > *Subject:* Regarding ./configure file > > > > Sir/Madam, > > I need to add few functions related to libwnck. It requires some header > files to be included. I included them in wine source code. But when > compiled it says header files not found. I haven't updated configure > file. How can i update it? > please tell me what r the changes that i need to made? > > Regards, > Sainath. > > > > >
RE: Regarding ./configure file
Don't modify ./configure directly, edit configure.ac instead. The autoconf documentation describes how this file works. configure is then created from configure.ac by running "autoconf" From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of shanmukha sainath addepalli Sent: Tuesday, November 18, 2008 10:27 AM To: wine-devel@winehq.org Subject: Regarding ./configure file Sir/Madam, I need to add few functions related to libwnck. It requires some header files to be included. I included them in wine source code. But when compiled it says header files not found. I haven't updated configure file. How can i update it? please tell me what r the changes that i need to made? Regards, Sainath.