From Karl.Reinl at ...16... Tue Nov 1 00:46:53 2005 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Tue, 1 Nov 2005 00:46:53 +0100 Subject: [Gambas-devel] The screens Message-ID: <200511010046.56491.Karl.Reinl@...16...> Salut, here the screens asked for Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: After_typing_G.png Type: image/png Size: 1067 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: moving_back.png Type: image/png Size: 1049 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Tipoftheday.png Type: image/png Size: 166796 bytes Desc: not available URL: From Karl.Reinl at ...16... Tue Nov 1 00:59:22 2005 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Tue, 1 Nov 2005 00:59:22 +0100 Subject: [Gambas-devel] About the screens Message-ID: <200511010059.22868.Karl.Reinl@...16...> Salut, sorry didn't say anything about. I only starte gambas2, and choose the project TestGambas2 (Iposted yesterday to Daniel) Then I took the Tipoftheday shoot. I pressed F5, to have a clean console in IDE, and typed in ABCDEFG, after typing G, Imade a picture, then I moved back to make the 2 picture of the console. Thats all. Amicalment Charlie From Karl.Reinl at ...16... Tue Nov 1 01:04:03 2005 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Tue, 1 Nov 2005 01:04:03 +0100 Subject: [Gambas-devel] one more Message-ID: <200511010104.03504.Karl.Reinl@...16...> Salut, have look to the rigth to left moving text, the size is not ok. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Font.png Type: image/png Size: 41370 bytes Desc: not available URL: From gambas at ...1... Tue Nov 1 01:25:18 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Nov 2005 01:25:18 +0100 Subject: [Gambas-devel] The screens In-Reply-To: <200511010046.56491.Karl.Reinl@...16...> References: <200511010046.56491.Karl.Reinl@...16...> Message-ID: <200511010125.18393.gambas@...1...> On Tuesday 01 November 2005 00:46, Charlie Reinl wrote: > Salut, > > here the screens asked for > > Amicalment > Charlie As for the font, you may have a big problem with your X server, or your font server. I never noticed this bug with qt. As for the tips that do not appear, tell me the value of System.Language when you start the IDE. Regards, -- Benoit Minisini From gambas at ...1... Tue Nov 1 10:38:06 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Nov 2005 10:38:06 +0100 Subject: [Gambas-devel] I have made example to make a bar chart, check attachment In-Reply-To: References: Message-ID: <200511011038.06284.gambas@...1...> On Monday 03 October 2005 08:17, Super_spy wrote: > I have made example to make a bar chart. > Hope can be included in gambas examples, that will can help any user to > make a chart. > Please check attachment. > > -- > ====================== > http://hdteam.net > high definition team > ====================== Hi, Sorry for the late answer. I will add it to the gambas examples... Regards, -- Benoit Minisini From na2492 at ...16... Tue Nov 1 19:56:16 2005 From: na2492 at ...16... (Charlie Reinl) Date: Tue, 01 Nov 2005 19:56:16 +0100 Subject: [Gambas-devel] The screens In-Reply-To: <200511010125.18393.gambas@...1...> References: <200511010046.56491.Karl.Reinl@...16...> <200511010125.18393.gambas@...1...> Message-ID: <1130871376.8446.9.camel@...326...> Am Dienstag, den 01.11.2005, 01:25 +0100 schrieb Benoit Minisini: > On Tuesday 01 November 2005 00:46, Charlie Reinl wrote: > > Salut, > > > > here the screens asked for > > > > Amicalment > > Charlie > > As for the font, you may have a big problem with your X server, or your font > server. I never noticed this bug with qt. I think to know now whats wrong. I have 2 computers which are shearing keyboard, mouse and one of my 2 monitors (the LEFT on VGA) via KVM-switch. The developer box has an second monitor (the RIGHT on DVI). Switched to the developer box I use the 2 monitors as 2 Desktops The pb (I tested today) is only on the RIGHT monitor, and it is not only in gambas2 but also with gambas-1.0.11. No pb at all with that on the LEFT monitor. > > As for the tips that do not appear, tell me the value of System.Language when > you start the IDE. System.Language = en_US What I remarked else, this only happens in projects which are created with gambas2 (20 and 21). I made new tests to check that out. New created projects with gambas2, opened at first after starting the IDE, do have an empty 'Tip of the day' window. If you close that window and open it by ?/Tip of the day , it is also empty. If you disable 'Tip of the day' ( there is another bug, you have to disable it twice, in preferences and on the form [I did it in that way, haven't tried first the form then in preferences]) and you open one of these gambas2 created projects, the 'Tip of the day' window called by ?/Tip of the day is filled. Hope that helps you to find it. Amicalment Charlie From Karl.Reinl at ...16... Tue Nov 1 22:33:27 2005 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Tue, 1 Nov 2005 22:33:27 +0100 Subject: [Gambas-devel] System.Language Message-ID: <200511012233.27480.Karl.Reinl@...16...> Salut, I have a problem with gambas IDE/Databas Manager and the System.Language, who shows me these applications in that lanuage which is set with LANG. I would be great to set the lanuage in preferences ? Amicalment Charlie From Karl.Reinl at ...16... Tue Nov 1 22:47:15 2005 From: Karl.Reinl at ...16... (Charlie Reinl) Date: Tue, 1 Nov 2005 22:47:15 +0100 Subject: [Gambas-devel] gb.db Message-ID: <200511012247.15115.Karl.Reinl@...16...> Salut, I have a pb with gb.db driver for mySql. I set the user charlie when I created him with gambas-database-manager to administrator. So I thought I could greate databases, tables and indexes with that user. For the first two ok, but not for indexes ( there is also a bug in Fcode [gambas-1.0.11] where the indexes trys to by created befor the update) I have to be root. MySql knows rights on databases, to do thinks like creating indexes without beeing root. I know that gb.db is not only for mysql, and I don't know psql and his user rights. So I ask you should we write an additional module to setup users rights in mysql ? Amicalment Charlie From dcamposf at ...176... Wed Nov 2 01:30:08 2005 From: dcamposf at ...176... (Daniel Campos) Date: Wed, 2 Nov 2005 01:30:08 +0100 Subject: [Gambas-devel] Gambas book Message-ID: <7259b5ae0511011630s751c9e34u@...178...> Hi: The first Gambas book, in Spanish, is available here http://www.librosdelinux.com . It is a free book, so you're allowed to copy, modify and redistribute it (except for economic intentions). For those interested in that book: Book: "Gambas: programaci?n visual con Software Libre" Authors: Daniel Campos Fern?ndez Jos? Luis Redrejo (prologue) Beno?t Minisini Editors: EDITLIN EDITORIAL Avda. Portugal 85 - Local 28011 Madrid (Spain) Tel: 91 577 03 55 Fax: 91 577 06 18 http://www.librosdelinux.com mailto: info at ...371... Regards, Daniel Campos From andrea_bortolan at ...112... Thu Nov 3 12:44:07 2005 From: andrea_bortolan at ...112... (Andrea Bortolan) Date: Thu, 3 Nov 2005 12:44:07 +0100 (CET) Subject: [Gambas-devel] gb.odbc new In-Reply-To: Message-ID: <20051103114407.15429.qmail@...372...> Hi all, here the new version of the odbc driver. I added a check in order to call SQLFetch instead the SQLFetchScroll api when the odbc driver does not support the SQLFetchscroll call. If the driver does not support SQLFetchscroll then SQLFetch is called and the result set cannot be refetched, this can be a problem if the application fetchs the rows till the end and after try to refetch it from the beginning, odbc will rise the end of data error.(This is why I initially used only the SQLFetchScroll) This problem occurs using i.e. both, Database example and Gambas Database Manager because they need to fetch all the result set to know the numbers of rows and then refetch all the rows again to retrieve the data. To avoid this problem the application should allocate the result set row by row fetching one row at time and not creating the whole result set based on the rows number. Let me know if this can work correctly on Informix. Ciao, Andrea ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it -------------- next part -------------- A non-text attachment was scrubbed... Name: ChangeLog Type: application/octet-stream Size: 624 bytes Desc: 2127288286-ChangeLog URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: main.c Type: text/x-csrc Size: 58151 bytes Desc: 943189714-main.c URL: From nigel at ...2... Thu Nov 3 13:53:07 2005 From: nigel at ...2... (nigel at ...2...) Date: Thu, 3 Nov 2005 13:53:07 +0100 (CET) Subject: [Gambas-devel] MySQL driver - update to apply administrator privileges for MySQL 4. Message-ID: <12685358.1131022387589.JavaMail.www@...374...> Benoit, It has come to my attention that an administrator mysql user can no longer be created with the driver - I believe this may be since MySQL 4.1. The difference files above work for me :-) Also, in DB_Checkname, is it possible to allow @ as a valid character; % would also be useful for mysql purposes. The @ is used to tell mysql that the user is allowed to connect from the following host. % - as you would suspect is a wildcard which could mean from any host. Regards Nigel -------------- next part -------------- A non-text attachment was scrubbed... Name: /home/ngerrard/gambas-1.0.11/src/lib/db/mysql/main.c.diff.1.0.11 Type: application/octet-stream Size: 122 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: /home/ngerrard/gambas2-1.9.20/gb.db.mysql/src/main.c.diff.1.9.20 Type: application/octet-stream Size: 122 bytes Desc: not available URL: From gambasfr at ...4... Thu Nov 3 14:32:50 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Thu, 3 Nov 2005 14:32:50 +0100 Subject: [Gambas-devel] Gambas.report component Message-ID: <200511031432.50214.gambasfr@...4...> Hi to all... I need help ! This is my first step of a gambas component ... but there is something i don't understand... I'm trying to transform my set of clases into componant classes... normally it's not really difficult just put 'EXPORT' in the choosed classes ... then i generate the executable and put this one and the .component file into the /usr/local/lib/gambas2/ path. then i type gbi2 gb.report It generate the .list and .info file . but when i want to load this componant, it say me Any ideas ? I think i miss something somewhere... But i don't know what. The file i send to you is not complete and not finished but it can show you my first step in report comprehention. Regards, Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.report-0.0.3.tar.gz Type: application/x-tgz Size: 246353 bytes Desc: not available URL: From dcamposf at ...176... Thu Nov 3 16:32:17 2005 From: dcamposf at ...176... (Daniel Campos) Date: Thu, 3 Nov 2005 16:32:17 +0100 Subject: [Gambas-devel] Gambas.report component In-Reply-To: <200511031432.50214.gambasfr@...4...> References: <200511031432.50214.gambasfr@...4...> Message-ID: <7259b5ae0511030732t687eb788w@...178...> Hi: May be my question is stupid, but are you sure the rest of components are placed at /usr/local/lib? Or may be /usr/lib? Did you also placed the .info and .list files at {gambas share path}/info folder with the name "gb.report.info" and "gb.report.list"? Regards, D. Campos 2005/11/3, Fabien Bodard : > Hi to all... > > I need help ! > > This is my first step of a gambas component ... but there is something i don't > understand... I'm trying to transform my set of clases into componant > classes... normally it's not really difficult just put 'EXPORT' in the > choosed classes ... then i generate the executable and put this one and > the .component file into the /usr/local/lib/gambas2/ path. then i type > > gbi2 gb.report > > It generate the .list and .info file . > > but when i want to load this componant, it say me > Not an object> > > Any ideas ? > > I think i miss something somewhere... > > But i don't know what. > > The file i send to you is not complete and not finished but it can show you my > first step in report comprehention. > > Regards, > Fabien Bodard > > > > From dcamposf at ...176... Thu Nov 3 16:34:05 2005 From: dcamposf at ...176... (Daniel Campos) Date: Thu, 3 Nov 2005 16:34:05 +0100 Subject: [Gambas-devel] gb.odbc new In-Reply-To: <20051103114407.15429.qmail@...372...> References: <20051103114407.15429.qmail@...372...> Message-ID: <7259b5ae0511030734n23dadecev@...178...> Thank you, Andrea!. It will take some days for me to test it again (I'm away from the informix machine), but I will tell you my tests when they're done... Regards, D. Campos 2005/11/3, Andrea Bortolan : > Hi all, > here the new version of the odbc driver. > I added a check in order to call SQLFetch instead the > SQLFetchScroll api when the odbc driver does not > support the SQLFetchscroll call. > If the driver does not support SQLFetchscroll then > SQLFetch is called and the result set cannot be > refetched, this can be a problem if the application > fetchs the rows till the end and after try to refetch > it from the beginning, odbc will rise the end of data > error.(This is why I initially used only the > SQLFetchScroll) > This problem occurs using i.e. both, Database example > and Gambas Database Manager because they need to fetch > all the result set to know the numbers of rows and > then refetch all the rows again to retrieve the data. > To avoid this problem the application should allocate > the result set row by row fetching one row at time and > not creating the whole result set based on the rows > number. > Let me know if this can work correctly on Informix. > Ciao, Andrea > > > > > > > > ___________________________________ > Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB > http://mail.yahoo.it > > From andrea_bortolan at ...112... Thu Nov 3 16:46:34 2005 From: andrea_bortolan at ...112... (Andrea Bortolan) Date: Thu, 3 Nov 2005 16:46:34 +0100 (CET) Subject: [Gambas-devel] gb.odbc new In-Reply-To: <7259b5ae0511030734n23dadecev@...178...> Message-ID: <20051103154634.84827.qmail@...377...> I'll wait for your feedback ! Ciao. Daniel Campos ha scritto: Thank you, Andrea!. It will take some days for me to test it again (I'm away from the informix machine), but I will tell you my tests when they're done... Regards, D. Campos 2005/11/3, Andrea Bortolan : > Hi all, > here the new version of the odbc driver. > I added a check in order to call SQLFetch instead the > SQLFetchScroll api when the odbc driver does not > support the SQLFetchscroll call. > If the driver does not support SQLFetchscroll then > SQLFetch is called and the result set cannot be > refetched, this can be a problem if the application > fetchs the rows till the end and after try to refetch > it from the beginning, odbc will rise the end of data > error.(This is why I initially used only the > SQLFetchScroll) > This problem occurs using i.e. both, Database example > and Gambas Database Manager because they need to fetch > all the result set to know the numbers of rows and > then refetch all the rows again to retrieve the data. > To avoid this problem the application should allocate > the result set row by row fetching one row at time and > not creating the whole result set based on the rows > number. > Let me know if this can work correctly on Informix. > Ciao, Andrea > > > > > > > > ___________________________________ > Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB > http://mail.yahoo.it > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel --------------------------------- Yahoo! Messenger: chiamate gratuite in tutto il mondo -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambasfr at ...4... Thu Nov 3 16:50:38 2005 From: gambasfr at ...4... (Fabien) Date: Thu, 3 Nov 2005 16:50:38 +0100 (CET) Subject: [Gambas-devel] Gambas.report component Message-ID: <26753415.1131033038416.JavaMail.www@...379...> > Message du 03/11/05 16:33 > De : "Daniel Campos" > A : gambas-devel at lists.sourceforge.net > Copie ? : > Objet : Re: [Gambas-devel] Gambas.report component > > Hi: > > May be my question is stupid, but are you sure the rest of components > are placed at /usr/local/lib? Or may be /usr/lib? Yes i'm sure, First i've verified that, and secondary i've put my project in the gb.comp/src path so i use the gb makefile script. > Did you also placed the .info and .list files at {gambas share > path}/info folder with the name "gb.report.info" and "gb.report.list"? Same thing...; I think i've a good knowneldge of the gambas structure... so i've already verified all of that ... But it's the first time i try to construct a gambas componant in gambas... And i don't understand what is wrong in my code :-( it say me that is not an object but it no say where is the problem. In what class ? In my componant there is many inheritance is there a problem with that ? If you know something about the gambas componant , daniel, can you put an eyes on my code ? Mabe i've forget something... in the class export or missing something like _init sub ? There is 4 day i look for that problem with no soluce... Thank for your answer Regards, FabienBodard From gambas at ...1... Thu Nov 3 17:33:14 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Nov 2005 17:33:14 +0100 Subject: [Gambas-devel] Gambas.report component In-Reply-To: <26753415.1131033038416.JavaMail.www@...379...> References: <26753415.1131033038416.JavaMail.www@...379...> Message-ID: <200511031733.14760.gambas@...1...> On Thursday 03 November 2005 16:50, Fabien wrote: > > Message du 03/11/05 16:33 > > De : "Daniel Campos" > > A : gambas-devel at lists.sourceforge.net > > Copie ? : > > Objet : Re: [Gambas-devel] Gambas.report component > > > > Hi: > > > > May be my question is stupid, but are you sure the rest of components > > are placed at /usr/local/lib? Or may be /usr/lib? > > Yes i'm sure, First i've verified that, and secondary i've put my project > in the gb.comp/src path so i use the gb makefile script. > > > Did you also placed the .info and .list files at {gambas share > > path}/info folder with the name "gb.report.info" and "gb.report.list"? > > Same thing...; > > I think i've a good knowneldge of the gambas structure... so i've already > verified all of that ... But it's the first time i try to construct a > gambas componant in gambas... And i don't understand what is wrong in my > code :-( it say me that is not an object but it no say where is the > problem. In what class ? In my componant there is many inheritance is > there a problem with that ? > > If you know something about the gambas componant , daniel, can you put an > eyes on my code ? Mabe i've forget something... in the class export or > missing something like _init sub ? There is 4 day i look for that problem > with no soluce... > Thank for your answer > > Regards, > FabienBodard > Your exported classes seems to be not coherent. 1) You must only export the classes that will be used by the user. 2) If A inherits B, and if A is exported, then B must be exported. This should not be mandatory, but it works that way at the moment. Regards, -- Benoit Minisini From gambasfr at ...4... Fri Nov 4 09:12:07 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Fri, 4 Nov 2005 09:12:07 +0100 Subject: [Gambas-devel] Gambas.report component In-Reply-To: <200511031733.14760.gambas@...1...> References: <26753415.1131033038416.JavaMail.www@...379...> <200511031733.14760.gambas@...1...> Message-ID: <200511040912.08128.gambasfr@...4...> Le Jeudi 3 Novembre 2005 17:33, Benoit Minisini a ?crit?: > On Thursday 03 November 2005 16:50, Fabien wrote: > > > Message du 03/11/05 16:33 > > > De : "Daniel Campos" > > > A : gambas-devel at lists.sourceforge.net > > > Copie ?? : > > > Objet : Re: [Gambas-devel] Gambas.report component > > > > > > Hi: > > > > > > May be my question is stupid, but are you sure the rest of components > > > are placed at /usr/local/lib? Or may be /usr/lib? > > > > Yes i'm sure, First i've verified that, and secondary i've put my project > > in the gb.comp/src path so i use the gb makefile script. > > > > > Did you also placed the .info and .list files at {gambas share > > > path}/info folder with the name "gb.report.info" and "gb.report.list"? > > > > Same thing...; > > > > I think i've a good knowneldge of the gambas structure... so i've already > > verified all of that ... But it's the first time i try to construct a > > gambas componant in gambas... And i don't understand what is wrong in my > > code :-( it say me that is not an object but it no say where is the > > problem. In what class ? In my componant there is many inheritance is > > there a problem with that ? > > > > If you know something about the gambas componant , daniel, can you put an > > eyes on my code ? Mabe i've forget something... in the class export or > > missing something like _init sub ? There is 4 day i look for that problem > > with no soluce... > > Thank for your answer > > > > Regards, > > FabienBodard > > Your exported classes seems to be not coherent. > > 1) You must only export the classes that will be used by the user. > > 2) If A inherits B, and if A is exported, then B must be exported. This > should not be mandatory, but it works that way at the moment. > > Regards, Hi Benoit, First i've effectively exported only the class used by the user : Report ReportVBox ReportHBox ReportBox Cline Crect Clabel CField I've change all the public var used for property by true properties but it change nothing. The component is loading but i can just use the report class all the other classes are not loaded. I think there is a bug at this level... Inheritance sheme : ReportObject->ReportContainer->ReportVbox (orHbox) ReportObject->Ctext...Cline... and other Maybe if there is too many inheritance level and the interpreter not work ? Regards, Fabien Bodard From gambasfr at ...4... Fri Nov 4 09:12:07 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Fri, 4 Nov 2005 09:12:07 +0100 Subject: [Gambas-devel] Gambas.report component In-Reply-To: <200511031733.14760.gambas@...1...> References: <26753415.1131033038416.JavaMail.www@...379...> <200511031733.14760.gambas@...1...> Message-ID: <200511040912.08128.gambasfr@...4...> Le Jeudi 3 Novembre 2005 17:33, Benoit Minisini a ?crit?: > On Thursday 03 November 2005 16:50, Fabien wrote: > > > Message du 03/11/05 16:33 > > > De : "Daniel Campos" > > > A : gambas-devel at lists.sourceforge.net > > > Copie ?? : > > > Objet : Re: [Gambas-devel] Gambas.report component > > > > > > Hi: > > > > > > May be my question is stupid, but are you sure the rest of components > > > are placed at /usr/local/lib? Or may be /usr/lib? > > > > Yes i'm sure, First i've verified that, and secondary i've put my project > > in the gb.comp/src path so i use the gb makefile script. > > > > > Did you also placed the .info and .list files at {gambas share > > > path}/info folder with the name "gb.report.info" and "gb.report.list"? > > > > Same thing...; > > > > I think i've a good knowneldge of the gambas structure... so i've already > > verified all of that ... But it's the first time i try to construct a > > gambas componant in gambas... And i don't understand what is wrong in my > > code :-( it say me that is not an object but it no say where is the > > problem. In what class ? In my componant there is many inheritance is > > there a problem with that ? > > > > If you know something about the gambas componant , daniel, can you put an > > eyes on my code ? Mabe i've forget something... in the class export or > > missing something like _init sub ? There is 4 day i look for that problem > > with no soluce... > > Thank for your answer > > > > Regards, > > FabienBodard > > Your exported classes seems to be not coherent. > > 1) You must only export the classes that will be used by the user. > > 2) If A inherits B, and if A is exported, then B must be exported. This > should not be mandatory, but it works that way at the moment. > > Regards, Hi Benoit, First i've effectively exported only the class used by the user : Report ReportVBox ReportHBox ReportBox Cline Crect Clabel CField I've change all the public var used for property by true properties but it change nothing. The component is loading but i can just use the report class all the other classes are not loaded. I think there is a bug at this level... Inheritance sheme : ReportObject->ReportContainer->ReportVbox (orHbox) ReportObject->Ctext...Cline... and other Maybe if there is too many inheritance level and the interpreter not work ? Regards, Fabien Bodard From gambasfr at ...4... Fri Nov 4 09:13:07 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Fri, 4 Nov 2005 09:13:07 +0100 Subject: [Gambas-devel] Gambas.report component In-Reply-To: <200511031733.14760.gambas@...1...> References: <26753415.1131033038416.JavaMail.www@...379...> <200511031733.14760.gambas@...1...> Message-ID: <200511040913.07536.gambasfr@...4...> Le Jeudi 3 Novembre 2005 17:33, Benoit Minisini a ?crit?: > On Thursday 03 November 2005 16:50, Fabien wrote: > > > Message du 03/11/05 16:33 > > > De : "Daniel Campos" > > > A : gambas-devel at lists.sourceforge.net > > > Copie ?? : > > > Objet : Re: [Gambas-devel] Gambas.report component > > > > > > Hi: > > > > > > May be my question is stupid, but are you sure the rest of components > > > are placed at /usr/local/lib? Or may be /usr/lib? > > > > Yes i'm sure, First i've verified that, and secondary i've put my project > > in the gb.comp/src path so i use the gb makefile script. > > > > > Did you also placed the .info and .list files at {gambas share > > > path}/info folder with the name "gb.report.info" and "gb.report.list"? > > > > Same thing...; > > > > I think i've a good knowneldge of the gambas structure... so i've already > > verified all of that ... But it's the first time i try to construct a > > gambas componant in gambas... And i don't understand what is wrong in my > > code :-( it say me that is not an object but it no say where is the > > problem. In what class ? In my componant there is many inheritance is > > there a problem with that ? > > > > If you know something about the gambas componant , daniel, can you put an > > eyes on my code ? Mabe i've forget something... in the class export or > > missing something like _init sub ? There is 4 day i look for that problem > > with no soluce... > > Thank for your answer > > > > Regards, > > FabienBodard > > Your exported classes seems to be not coherent. > > 1) You must only export the classes that will be used by the user. > > 2) If A inherits B, and if A is exported, then B must be exported. This > should not be mandatory, but it works that way at the moment. > > Regards, Hi Benoit, First i've effectively exported only the class used by the user : Report ReportVBox ReportHBox ReportBox Cline Crect Clabel CField I've change all the public var used for property by true properties but it change nothing. The component is loading but i can just use the report class all the other classes are not loaded. I think there is a bug at this level... Inheritance sheme : ReportObject->ReportContainer->ReportVbox (orHbox) ReportObject->Ctext...Cline... and other Maybe if there is too many inheritance level and the interpreter not work ? Regards, Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.report-0.0.3.tar.gz Type: application/x-tgz Size: 246356 bytes Desc: not available URL: From gambas at ...1... Fri Nov 4 12:53:52 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 Nov 2005 12:53:52 +0100 Subject: [Gambas-devel] Gambas.report component In-Reply-To: <200511040913.07536.gambasfr@...4...> References: <26753415.1131033038416.JavaMail.www@...379...> <200511031733.14760.gambas@...1...> <200511040913.07536.gambasfr@...4...> Message-ID: <200511041253.52742.gambas@...1...> On Friday 04 November 2005 09:13, Fabien Bodard wrote: > Le Jeudi 3 Novembre 2005 17:33, Benoit Minisini a ?crit?: > > On Thursday 03 November 2005 16:50, Fabien wrote: > > > > Message du 03/11/05 16:33 > > > > De : "Daniel Campos" > > > > A : gambas-devel at lists.sourceforge.net > > > > Copie ?? : > > > > Objet : Re: [Gambas-devel] Gambas.report component > > > > > > > > Hi: > > > > > > > > May be my question is stupid, but are you sure the rest of components > > > > are placed at /usr/local/lib? Or may be /usr/lib? > > > > > > Yes i'm sure, First i've verified that, and secondary i've put my > > > project in the gb.comp/src path so i use the gb makefile script. > > > > > > > Did you also placed the .info and .list files at {gambas share > > > > path}/info folder with the name "gb.report.info" and > > > > "gb.report.list"? > > > > > > Same thing...; > > > > > > I think i've a good knowneldge of the gambas structure... so i've > > > already verified all of that ... But it's the first time i try to > > > construct a gambas componant in gambas... And i don't understand what > > > is wrong in my code :-( it say me that is not an object but it no say > > > where is the problem. In what class ? In my componant there is many > > > inheritance is there a problem with that ? > > > > > > If you know something about the gambas componant , daniel, can you put > > > an eyes on my code ? Mabe i've forget something... in the class export > > > or missing something like _init sub ? There is 4 day i look for that > > > problem with no soluce... > > > Thank for your answer > > > > > > Regards, > > > FabienBodard > > > > Your exported classes seems to be not coherent. > > > > 1) You must only export the classes that will be used by the user. > > > > 2) If A inherits B, and if A is exported, then B must be exported. This > > should not be mandatory, but it works that way at the moment. > > > > Regards, > > Hi Benoit, > > First i've effectively exported only the class used by the user : > Report > ReportVBox > ReportHBox > ReportBox > Cline > Crect > Clabel > CField > > I've change all the public var used for property by true properties but it > change nothing. The component is loading but i can just use the report > class > > all the other classes are not loaded. I think there is a bug at this > level... > > Inheritance sheme : > ReportObject->ReportContainer->ReportVbox (orHbox) > ReportObject->Ctext...Cline... and other > > Maybe if there is too many inheritance level and the interpreter not work ? > > > > Regards, > Fabien Bodard You didn't read what I wrote: you have to export all parent classes, like ReportObject, otherwise things won't work. -- Benoit Minisini From gambasfr at ...4... Fri Nov 4 13:53:39 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Fri, 4 Nov 2005 13:53:39 +0100 Subject: [Gambas-devel] Gambas.report component In-Reply-To: <200511041253.52742.gambas@...1...> References: <26753415.1131033038416.JavaMail.www@...379...> <200511040913.07536.gambasfr@...4...> <200511041253.52742.gambas@...1...> Message-ID: <200511041353.39414.gambasfr@...4...> > You didn't read what I wrote: you have to export all parent classes, like > ReportObject, otherwise things won't work. Hem... :-(... sorry I've not sleep suffisely last night... I've understand the opposite in fact. So i've done what you say and... it change nothing... Can you try it yourself please ? Regards, Fabien Bodard i join the corrected archive -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.report-0.0.4.tar.gz Type: application/x-tgz Size: 246766 bytes Desc: not available URL: From gambas at ...1... Fri Nov 4 23:21:16 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 Nov 2005 23:21:16 +0100 Subject: [Gambas-devel] Gambas.report component In-Reply-To: <200511041353.39414.gambasfr@...4...> References: <26753415.1131033038416.JavaMail.www@...379...> <200511041253.52742.gambas@...1...> <200511041353.39414.gambasfr@...4...> Message-ID: <200511042321.16803.gambas@...1...> On Friday 04 November 2005 13:53, Fabien Bodard wrote: > > You didn't read what I wrote: you have to export all parent classes, like > > ReportObject, otherwise things won't work. > > Hem... :-(... sorry > > I've not sleep suffisely last night... I've understand the opposite in > fact. > > So i've done what you say and... it change nothing... Can you try it > yourself please ? > > Regards, > Fabien Bodard > > > i join the corrected archive J'ai trouv?! I found the bug. The IDE didn't analyze the the .info file by following the inheritance tree. Now it should be fixed. Here is a patch... Tell me the result... -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: CComponent.class Type: application/x-java Size: 13320 bytes Desc: not available URL: From gambasfr at ...4... Fri Nov 4 23:52:03 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Fri, 4 Nov 2005 23:52:03 +0100 Subject: [Gambas-devel] Gambas.report component In-Reply-To: <200511042321.16803.gambas@...1...> References: <26753415.1131033038416.JavaMail.www@...379...> <200511041353.39414.gambasfr@...4...> <200511042321.16803.gambas@...1...> Message-ID: <200511042352.03662.gambasfr@...4...> > J'ai trouv?! I found the bug. The IDE didn't analyze the the .info file by > following the inheritance tree. Now it should be fixed. Here is a patch... > > Tell me the result... It work very well now ! So ... it not come from me ! ;-) (c'est ce qu'on appelle essuyer les pl?tres) Now i can begin to do the editor interface. The ReportField work now. It work this way : ReportField.Command = "My Comand" My command is a string that define an info to found the data... When i do a report.render (or draw), when the engine draw the field it raise an event data. sub Report_Data(command) 'set the field data select case command case "My Command" report.data = "My Data" endselect end The event data is dependant of the program that use the report component. So the report component do nothing to get the data. It work like the TableView I join now the last tarball of my alpha component... If the gambas communauty and you can tell me theire feel about that. At this time just try it as a simple project . I'll try to do an external sample project this weekend. Regards, Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.report-0.0.5.tar.gz Type: application/x-tgz Size: 247013 bytes Desc: not available URL: From gambas at ...1... Sat Nov 5 00:58:42 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Nov 2005 00:58:42 +0100 Subject: [Gambas-devel] MySQL driver - update to apply administrator privileges for MySQL 4. In-Reply-To: <12685358.1131022387589.JavaMail.www@...374...> References: <12685358.1131022387589.JavaMail.www@...374...> Message-ID: <200511050058.42962.gambas@...1...> On Thursday 03 November 2005 13:53, nigel at ...2... wrote: > Benoit, > > It has come to my attention that an administrator mysql user can no longer > be created with the driver - I believe this may be since MySQL 4.1. The > difference files above work for me :-) > > Also, in DB_Checkname, is it possible to allow @ as a valid character; % > would also be useful for mysql purposes. The @ is used to tell mysql that > the user is allowed to connect from the following host. % - as you would > suspect is a wildcard which could mean from any host. > > Regards > > Nigel Thanks, I applied the patch. As for allowing more characters, this is only needed when creating a user. So I have a little more work, but I will do it. I plan to *remove* from the gb.db component the support for users classes, because it is not very useful. I will just let the database manager having one user management module specific to each database backend. This way, one will able to manage the rights of the database users more accurately. What do you think about that? -- Benoit Minisini From gambas at ...1... Sat Nov 5 01:11:36 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Nov 2005 01:11:36 +0100 Subject: [Gambas-devel] gb.odbc new In-Reply-To: <20051103114407.15429.qmail@...372...> References: <20051103114407.15429.qmail@...372...> Message-ID: <200511050111.36790.gambas@...1...> On Thursday 03 November 2005 12:44, Andrea Bortolan wrote: > Hi all, > here the new version of the odbc driver. > I added a check in order to call SQLFetch instead the > SQLFetchScroll api when the odbc driver does not > support the SQLFetchscroll call. > If the driver does not support SQLFetchscroll then > SQLFetch is called and the result set cannot be > refetched, this can be a problem if the application > fetchs the rows till the end and after try to refetch > it from the beginning, odbc will rise the end of data > error.(This is why I initially used only the > SQLFetchScroll) > This problem occurs using i.e. both, Database example > and Gambas Database Manager because they need to fetch > all the result set to know the numbers of rows and > then refetch all the rows again to retrieve the data. > To avoid this problem the application should allocate > the result set row by row fetching one row at time and > not creating the whole result set based on the rows > number. > Let me know if this can work correctly on Informix. > Ciao, Andrea > Hi, Andrea. Do you have to call SQLGetFunctions() *each time* you make a query? Can't you do that only when you connect to the database? Anyway, I think I will try to make an emulation layer in the gb.db component, so that when a driver tells him that he cannot fetch into a result set, the component will emulate this behaviour, by storing the data itself. And to keep the possibility of not storing the result of a query, maybe I should create a "forward-only" Result object. Regards, -- Benoit Minisini From nigel at ...2... Sat Nov 5 12:12:25 2005 From: nigel at ...2... (nigel at ...2...) Date: Sat, 5 Nov 2005 12:12:25 +0100 (CET) Subject: [Gambas-devel] MySQL driver - update to apply administrator privileges for MySQL 4. Message-ID: <19140070.1131189145361.JavaMail.www@...233...> Benoit, Sounds workable; if you need me to do the change to the mysql driver, then please send me a copy of the updated postgres driver and I will work it out. Regards Nigel > Message Received: Nov 05 2005, 12:02 AM > From: "Benoit Minisini" > To: gambas-devel at lists.sourceforge.net > Cc: > Subject: Re: [Gambas-devel] MySQL driver - update to apply administrator privileges for MySQL 4. > > On Thursday 03 November 2005 13:53, nigel at ...2... wrote: > > Benoit, > > > > It has come to my attention that an administrator mysql user can no longer > > be created with the driver - I believe this may be since MySQL 4.1. The > > difference files above work for me :-) > > > > Also, in DB_Checkname, is it possible to allow @ as a valid character; % > > would also be useful for mysql purposes. The @ is used to tell mysql that > > the user is allowed to connect from the following host. % - as you would > > suspect is a wildcard which could mean from any host. > > > > Regards > > > > Nigel > > Thanks, I applied the patch. > > As for allowing more characters, this is only needed when creating a user. So > I have a little more work, but I will do it. > > I plan to *remove* from the gb.db component the support for users classes, > because it is not very useful. > > I will just let the database manager having one user management module > specific to each database backend. This way, one will able to manage the > rights of the database users more accurately. > > What do you think about that? > > -- > Benoit Minisini > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > From gambasfr at ...4... Sun Nov 6 02:01:15 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Sun, 6 Nov 2005 02:01:15 +0100 Subject: [Gambas-devel] New bug in gambas ... Message-ID: <200511060201.17691.gambasfr@...4...> Hi Benoit, I've a new bug in gambas with my project ! I've juste changed some class name. But now, the program seem to not compile... The main form is alway the same but the program start and stop immediatly without any error. I'm not understand what i've done. I've just applied your patch that work on the previous compiled componant. But now all the program that use it does the same thing... so for a new time i send all the source package and i hope you can do something :) Thank by advance ! Regards, Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.report-0.0.5.tar.gz Type: application/x-tgz Size: 247434 bytes Desc: not available URL: From gambasfr at ...4... Sun Nov 6 02:07:42 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Sun, 6 Nov 2005 02:07:42 +0100 Subject: [Gambas-devel] New bug in gambas ... Message-ID: <200511060207.42804.gambasfr@...4...> re in fact... When i load a program that use this new version of report component, the ide seem to have an infinite loop From na2492 at ...16... Sun Nov 6 14:04:54 2005 From: na2492 at ...16... (Charlie Reinl) Date: Sun, 6 Nov 2005 14:04:54 00100 Subject: [Gambas-devel] New bug in gambas ... Message-ID: <436dff76.31d9.0@...16...> > >Hi Benoit, > >I've a new bug in gambas with my project ! > >I've juste changed some class name. But now, the program seem to not >compile... The main form is alway the same but the program start and stop >immediatly without any error. I'm not understand what i've done. I've just >applied your patch that work on the previous compiled componant. But now all >the program that use it does the same thing... > >so for a new time i send all the source package and i hope you can do >something :) > >Thank by advance ! > >Regards, >Fabien Bodard > Salut Fabien, I had the same, and a gambas2.gambas in a shell told me something like no 'Project' found. A look to Benoits update showed me some lines from the mail ad the end. I strip these lines , and now everything workes again. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From andrea_bortolan at ...112... Tue Nov 8 10:59:47 2005 From: andrea_bortolan at ...112... (Andrea Bortolan) Date: Tue, 8 Nov 2005 10:59:47 +0100 (CET) Subject: [Gambas-devel] gb.odbc new In-Reply-To: <200511050111.36790.gambas@...1...> Message-ID: <20051108095947.1607.qmail@...372...> Hi Benoit, you're right, it will be better to call it only at connection time, in the attached file there is the patched version. Ciao, Andrea. > Do you have to call SQLGetFunctions() *each time* > you make a query? Can't you > do that only when you connect to the database? > > Anyway, I think I will try to make an emulation > layer in the gb.db component, > so that when a driver tells him that he cannot fetch > into a result set, the > component will emulate this behaviour, by storing > the data itself. > > And to keep the possibility of not storing the > result of a query, maybe I > should create a "forward-only" Result object. > > Regards, > > -- > Benoit Minisini > > ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it -------------- next part -------------- A non-text attachment was scrubbed... Name: ChangeLog Type: application/octet-stream Size: 806 bytes Desc: 2127288286-ChangeLog URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: main.c Type: text/x-csrc Size: 58003 bytes Desc: 943189714-main.c URL: From gambasfr at ...4... Tue Nov 8 23:03:13 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Tue, 8 Nov 2005 23:03:13 +0100 Subject: [Gambas-devel] Problem with my component and mabe gambas bug Message-ID: <200511082303.13764.gambasfr@...4...> HI Benoit, I've made a little search about my problem of loading a project that use the gb.report component... in fact the problem is in the CComponent.Class class, at Load sub. The Eof not return the end of file ! so it enter in an infinite loop ! I join all the files, Tell we what :) Regards, Fabien -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.report-0.0.5.tar.gz Type: application/x-tgz Size: 247434 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ReportDesigner.tar.gz Type: application/x-tgz Size: 2323 bytes Desc: not available URL: -------------- next part -------------- #Report MarginLeft r i MarginRight r i MarginTop r i MarginBottom r i Width r i Height r i Scale p f DeviceType r s Id r s Data p v :Data : (sCommand)s Margins m (Width)i LoadPlainFile m (sFile)s Render m (Device)o Add m (oContainer)o Remove m (Index)i Print m _Get m o (Key)s _Next m o _Free m Clear m #ReportImage ReportObject Path p s Rotate p f _New m Scale m (fScale)f Draw m (ZoneTop)i #ReportVBox ReportContainer _New m #ReportContainer ReportObject Arrange p i Children r ContainerChildren Id r s Padding p i Spacing p i _new m Clear m Draw m (sPos)i #ReportObject Top p i Left p i Width p i Height p i Type p s Name p s Color p i Expand p b Parent r o Proportional p b Report r o _new m (Parent)o Move m (X)i(Y)i[(Width)i(Height)i] fScale m f (Value)f Scale m i (Value)i Free m #ReportLine ReportObject LineWidth p i LineStyle p i Draw m (ZoneTop)i #ReportHBox ReportContainer _New m #ReportField ReportObject Font p Font Command p s Alignment p i Format p s Data p v :Data : (Command)s Draw m (ZoneTop)i #ReportBox ReportContainer _New m #ReportLabel ReportObject Font p Font Text p s _New m draw m (ZoneTop)i #ReportRect CLine FillStyle p i FillColor p i BackColor p i -------------- next part -------------- Report ReportImage ReportVBox ReportContainer ReportObject ReportLine ReportHBox ReportField ReportBox ReportLabel ReportRect From gambasfr at ...4... Wed Nov 9 21:46:14 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Wed, 9 Nov 2005 21:46:14 +0100 Subject: [Gambas-devel] Problem with sqlite... Message-ID: <200511092146.14423.gambasfr@...4...> Hi to all I'm trying to use the sqlite database in the gambas database manager. it seem to have a problem to use database with sqlite... Can't find it and can't create it ! In fact the problem seem to come from the sqlite or the gb.db component. it can't create a database because it seem to eat the first letter of the path ! Rergards, Fabien From nigel at ...2... Thu Nov 10 00:26:02 2005 From: nigel at ...2... (nigel at ...2...) Date: Thu, 10 Nov 2005 00:26:02 +0100 (CET) Subject: [Gambas-devel] Problem with sqlite... Message-ID: <28640674.1131578762372.JavaMail.www@...275...> Fabian, What version of gambas does the problem happen in? Nigel > Message Received: Nov 09 2005, 08:44 PM > From: "Fabien Bodard" > To: gambas-devel at lists.sourceforge.net > Cc: > Subject: [Gambas-devel] Problem with sqlite... > > Hi to all > > I'm trying to use the sqlite database in the gambas database manager. > > it seem to have a problem to use database with sqlite... Can't find it and > can't create it ! > > In fact the problem seem to come from the sqlite or the gb.db component. > it can't create a database because it seem to eat the first letter of the > path ! > > > Rergards, > Fabien > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > From gambasfr at ...4... Thu Nov 10 12:08:18 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Thu, 10 Nov 2005 12:08:18 +0100 Subject: [Gambas-devel] Problem with sqlite... In-Reply-To: <28640674.1131578762372.JavaMail.www@...275...> References: <28640674.1131578762372.JavaMail.www@...275...> Message-ID: <200511101208.19033.gambasfr@...4...> Le Jeudi 10 Novembre 2005 00:26, nigel at ...2... a ?crit?: > Fabian, > > What version of gambas does the problem happen in? > > Nigel Hi Nigel, Both ! and 1 and 2 This problem occur when i pass an host and an user. It seem to work when i not use this info. and when i give a simple name without path. but after making the table and save it... if i close the manager i can't find the database nor in the manager neither by searching it... Laurent have testing it with no success too. Regards, Fabien From nigel at ...2... Thu Nov 10 14:33:55 2005 From: nigel at ...2... (nigel at ...2...) Date: Thu, 10 Nov 2005 14:33:55 +0100 (CET) Subject: [Gambas-devel] Problem with sqlite... Message-ID: <23114321.1131629635589.JavaMail.www@...275...> Fabian, The user does not matter -- as such they are not used within sqlite (file permissions control whether a user can access the database or not)., but you should put the path for the database in the host. e.g. host: /home/me/mydatabases Then the database will be created within that directory. Nigel > Message Received: Nov 10 2005, 09:08 AM > From: "Fabien Bodard" > To: gambas-devel at lists.sourceforge.net > Cc: > Subject: Re: [Gambas-devel] Problem with sqlite... > > Le Jeudi 10 Novembre 2005 00:26, nigel at ...2... a ?crit : > > Fabian, > > > > What version of gambas does the problem happen in? > > > > Nigel > > Hi Nigel, > > Both ! and 1 and 2 > > This problem occur when i pass an host and an user. > > It seem to work when i not use this info. and when i give a simple name > without path. > > but after making the table and save it... if i close the manager i can't find > the database nor in the manager neither by searching it... > > Laurent have testing it with no success too. > > Regards, > Fabien > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > From gambasfr at ...4... Thu Nov 10 22:18:20 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Thu, 10 Nov 2005 22:18:20 +0100 Subject: [Gambas-devel] Problem with sqlite... In-Reply-To: <23114321.1131629635589.JavaMail.www@...275...> References: <23114321.1131629635589.JavaMail.www@...275...> Message-ID: <200511102218.20312.gambasfr@...4...> Le Jeudi 10 Novembre 2005 14:33, nigel at ...2... a ?crit?: > Fabian, > > The user does not matter -- as such they are not used within sqlite (file > permissions control whether a user can access the database or not)., but > you should put the path for the database in the host. > > e.g. host: /home/me/mydatabases > > Then the database will be created within that directory. > > Nigel it was in the help... sorry i've put many time to see that ! For SQLite connections, the following algorithm is used: If Name is null, then a memory database is opened. If Name is an absolute path, then this path is used. If Name is a relative path, then: If Host is null, then the database is located in the application temporary directory, which is /tmp/gambas.$UID/sqlite . Otherwise, Host gives the database directory, and the database path is the result of concatenating Host and Name. This class is creatable. Thank you Nigel :) Fabien From gambas at ...1... Fri Nov 11 21:23:38 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 11 Nov 2005 21:23:38 +0100 Subject: [Gambas-devel] New bug in gambas ... In-Reply-To: <200511060201.17691.gambasfr@...4...> References: <200511060201.17691.gambasfr@...4...> Message-ID: <200511112123.38383.gambas@...1...> On Sunday 06 November 2005 02:01, Fabien Bodard wrote: > Hi Benoit, > > I've a new bug in gambas with my project ! > > I've juste changed some class name. But now, the program seem to not > compile... The main form is alway the same but the program start and stop > immediatly without any error. I'm not understand what i've done. I've just > applied your patch that work on the previous compiled componant. But now > all the program that use it does the same thing... > > so for a new time i send all the source package and i hope you can do > something :) > > Thank by advance ! > > Regards, > Fabien Bodard One of your classes inherits 'CLine' which does not exist. You see the error message if you run your project from the command line... Regards, -- Benoit Minisini From na2492 at ...16... Fri Nov 11 22:15:04 2005 From: na2492 at ...16... (Charlie Reinl) Date: Fri, 11 Nov 2005 22:15:04 00100 Subject: [Gambas-devel] New bug in gambas ... Message-ID: <437509d8.2cd1.0@...16...> >On Sunday 06 November 2005 02:01, Fabien Bodard wrote: > >One of your classes inherits 'CLine' which does not exist. You see the error >message if you run your project from the command line... > Salut Benoit, is it not possible to raise Errors, from the X underlaying 'workers' up to X, so for every one who use gambas will be clear, why the called software will not start. I know that is not only a gambas problem, and may be tournig a X or kernel parameter to the right value will do that job. If anybody has a hint about that ? Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Fri Nov 11 22:20:12 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 11 Nov 2005 22:20:12 +0100 Subject: [Gambas-devel] New bug in gambas ... In-Reply-To: <437509d8.2cd1.0@...16...> References: <437509d8.2cd1.0@...16...> Message-ID: <200511112220.12475.gambas@...1...> On Friday 11 November 2005 23:15, Charlie Reinl wrote: > >On Sunday 06 November 2005 02:01, Fabien Bodard wrote: > > > >One of your classes inherits 'CLine' which does not exist. You see the > > error > > >message if you run your project from the command line... > > Salut Benoit, > > is it not possible to raise Errors, from the X underlaying 'workers' > up to X, so for every one who use gambas will be clear, why the called > software will not start. > > I know that is not only a gambas problem, and may be tournig a X or kernel > > parameter to the right value will do that job. > > If anybody has a hint about that ? > > Amicalment > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > I didn't understand what you talked about. It is not that the program "didn't start". It is just that the error message was not catched by the IDE because it was too early. I have just fixed this problem, and now you will get an explicit error message in the IDE. Regards, -- Benoit Minisini From gambasfr at ...4... Fri Nov 11 22:25:09 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Fri, 11 Nov 2005 22:25:09 +0100 Subject: [Gambas-devel] New bug in gambas ... In-Reply-To: <200511112123.38383.gambas@...1...> References: <200511060201.17691.gambasfr@...4...> <200511112123.38383.gambas@...1...> Message-ID: <200511112225.09466.gambasfr@...4...> Le Vendredi 11 Novembre 2005 21:23, Benoit Minisini a ?crit?: > On Sunday 06 November 2005 02:01, Fabien Bodard wrote: > > Hi Benoit, > > > > I've a new bug in gambas with my project ! > > > > I've juste changed some class name. But now, the program seem to not > > compile... The main form is alway the same but the program start and stop > > immediatly without any error. I'm not understand what i've done. I've > > just applied your patch that work on the previous compiled componant. But > > now all the program that use it does the same thing... > > > > so for a new time i send all the source package and i hope you can do > > something :) > > > > Thank by advance ! > > > > Regards, > > Fabien Bodard > > One of your classes inherits 'CLine' which does not exist. You see the > error message if you run your project from the command line... in fact... it's true :) I've find that yesteday :)... Thank you, > Regards, From na2492 at ...16... Sat Nov 12 00:14:33 2005 From: na2492 at ...16... (Charlie Reinl) Date: Sat, 12 Nov 2005 00:14:33 00100 Subject: [Gambas-devel] New bug in gambas ... Message-ID: <437525d9.7404.0@...16...> >On Friday 11 November 2005 23:15, Charlie Reinl wrote: >> >On Sunday 06 November 2005 02:01, Fabien Bodard wrote: >> > >> >One of your classes inherits 'CLine' which does not exist. You see the >> >> error >> >> >message if you run your project from the command line... >> >> Salut Benoit, >> >> is it not possible to raise Errors, from the X underlaying 'workers' >> up to X, so for every one who use gambas will be clear, why the called >> software will not start. >> >> I know that is not only a gambas problem, and may be tournig a X or kernel >> >> parameter to the right value will do that job. >> >> If anybody has a hint about that ? >> >> Amicalment >> Charlie >> * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * >> > >I didn't understand what you talked about. > >It is not that the program "didn't start". It is just that the error message >was not catched by the IDE because it was too early. > >I have just fixed this problem, and now you will get an explicit error message >in the IDE. > Salut Benoit, no , not only in the IDE also compiled gambas projects, but this 'too early error' dit NOT raise anywhere, exepte if you start it from a terminal. So I think that comes from gbx. So I thought, it will be a good feature to show the message, even if the user had justed clicked and Icon somewhere on his Desktop. I don't know how, by opening a terminal, using dialog or something else to show the Error to the User, so he can understand or tell what's happend. Like it happens to Fabien, he thought its a bug in gambas, but it was a bug in his project. Reread the 'bug description' from Fabien. He is using a product which don't raise an error, but it don't work, so the product is 'buggy'. That happend some times to me, while changing gambas versions, last time when I moved form gambas1 to 2 and XML-libs had changed name. If that is still not clear what I tell, please ask again! I think thats an importend point of view for product quality. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Tue Nov 15 00:15:32 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 15 Nov 2005 00:15:32 +0100 Subject: [Gambas-devel] Support of LONG in database drivers Message-ID: <200511150015.32088.gambas@...1...> This message is mainly for Nigel Gerrard, Andrea Bortolan, and Daniel but-what-is-his-name :-) I have just inserted support for LONG (64 bits integer) datatype in the mysql and postgresql drivers. It is less evident for me to do that in the other database drivers... Nigel: Can you add it to the sqlite and sqlite3 driver? Andrea: Same request for the ODBC driver? Daniel: idem for the firebird driver - But you can do what you want, as I can't merge it into the main source tree at the moment... Anyway there is no hurry. Ask me any question about that if you need of course... Thanks in advance, Regards, -- Benoit Minisini From nigel at ...2... Tue Nov 15 12:34:35 2005 From: nigel at ...2... (nigel at ...2...) Date: Tue, 15 Nov 2005 12:34:35 +0100 (CET) Subject: [Gambas-devel] Support of LONG in database drivers Message-ID: <10113157.1132054475788.JavaMail.www@...207...> Benoit, No problem. Could you send out a copy of the changed MySQL driver - it will give me all the information I need to make the changes. Thanks Nigel > Message Received: Nov 14 2005, 11:16 PM > From: "Benoit Minisini" > To: gambas-devel at lists.sourceforge.net > Cc: > Subject: [Gambas-devel] Support of LONG in database drivers > > This message is mainly for Nigel Gerrard, Andrea Bortolan, and Daniel > but-what-is-his-name :-) > > I have just inserted support for LONG (64 bits integer) datatype in the mysql > and postgresql drivers. > > It is less evident for me to do that in the other database drivers... > > Nigel: Can you add it to the sqlite and sqlite3 driver? > > Andrea: Same request for the ODBC driver? > > Daniel: idem for the firebird driver - But you can do what you want, as I > can't merge it into the main source tree at the moment... > > Anyway there is no hurry. > > Ask me any question about that if you need of course... > > Thanks in advance, > > Regards, > > -- > Benoit Minisini > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > From gambas at ...1... Tue Nov 15 13:50:30 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 15 Nov 2005 13:50:30 +0100 Subject: [Gambas-devel] Support of LONG in database drivers In-Reply-To: <10113157.1132054475788.JavaMail.www@...207...> References: <10113157.1132054475788.JavaMail.www@...207...> Message-ID: <200511151350.30794.gambas@...1...> On Tuesday 15 November 2005 12:34, nigel at ...2... wrote: > Benoit, > > No problem. Could you send out a copy of the changed MySQL driver - it will > give me all the information I need to make the changes. > > Thanks > > Nigel > Here it is. I just had to change: - The function that returns a gambas datatype from a MySQL datatype (conv_type) - The function that converts a MySQL value to a gambas value from its datatype (conv_data) It is more complicated in your sqlite drivers, because you have an intermediate layer to modify. But it should not be a lot of work anyway. Regards, -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: main.c Type: text/x-csrc Size: 59490 bytes Desc: not available URL: From andrea_bortolan at ...112... Tue Nov 15 15:27:42 2005 From: andrea_bortolan at ...112... (Andrea Bortolan) Date: Tue, 15 Nov 2005 15:27:42 +0100 (CET) Subject: [Gambas-devel] Support of LONG in database drivers In-Reply-To: <200511151350.30794.gambas@...1...> Message-ID: <20051115142742.97750.qmail@...377...> Hi Benoit, I'm working on it......just a question about the code you've posted: in the con_data function there is a duplicate case for the FIELD_TYPE_LONGLONG see the following : static void conv_data(char *data, GB_VARIANT_VALUE *val, int type, int len) { GB_VALUE conv; GB_DATE_SERIAL date; double sec; switch (type) { case FIELD_TYPE_TINY: if (len == 1) { val->_boolean.type = GB_T_BOOLEAN; /*GB.NumberFromString(GB_NB_READ_INTEGER, data, strlen(data), &conv);*/ val->_boolean.value = atoi(data) != 0; } else { GB.NumberFromString(GB_NB_READ_INTEGER, data, strlen(data), &conv); val->_integer.type = GB_T_INTEGER; val->_integer.value = ((GB_INTEGER *)&conv)->value; } break; case FIELD_TYPE_INT24: case FIELD_TYPE_SHORT: case FIELD_TYPE_LONG: /*case FIELD_TYPE_TINY:*/ case FIELD_TYPE_LONGLONG: case FIELD_TYPE_YEAR: GB.NumberFromString(GB_NB_READ_INTEGER, data, strlen(data), &conv); val->type = GB_T_INTEGER; val->_integer.value = ((GB_INTEGER *)&conv)->value; break; case FIELD_TYPE_LONGLONG: GB.NumberFromString(GB_NB_READ_LONG, data, strlen(data), &conv); val->type = GB_T_LONG; val->_long.value = ((GB_LONG *)&conv)->value; break; case FIELD_TYPE_FLOAT: case FIELD_TYPE_DOUBLE: case FIELD_TYPE_DECIMAL: GB.NumberFromString(GB_NB_READ_FLOAT, data, strlen(data), &conv); val->_float.type = GB_T_FLOAT; val->_float.value = ((GB_FLOAT *)&conv)->value; break; I think that I need also to add the new data type in the table_create function do you agree ? I hope to have enought time to starting the test on the new datatype tomorrow. Have a nice day, Andrea. Coai. --------------------------------- Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Wed Nov 16 00:10:17 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Nov 2005 00:10:17 +0100 Subject: [Gambas-devel] Support of LONG in database drivers In-Reply-To: <20051115142742.97750.qmail@...377...> References: <20051115142742.97750.qmail@...377...> Message-ID: <200511160010.17430.gambas@...1...> On Tuesday 15 November 2005 15:27, Andrea Bortolan wrote: > Hi Benoit, > I'm working on it......just a question about the code you've posted: > in the con_data function there is a duplicate case for the > FIELD_TYPE_LONGLONG see the following : > > > > static void conv_data(char *data, GB_VARIANT_VALUE *val, int type, int > len) > { > GB_VALUE conv; > GB_DATE_SERIAL date; > double sec; > > switch (type) > { > case FIELD_TYPE_TINY: > > if (len == 1) > { > val->_boolean.type = GB_T_BOOLEAN; > /*GB.NumberFromString(GB_NB_READ_INTEGER, data, strlen(data), > &conv);*/ > val->_boolean.value = atoi(data) != 0; > } > else > { > GB.NumberFromString(GB_NB_READ_INTEGER, data, strlen(data), > &conv); > > val->_integer.type = GB_T_INTEGER; > val->_integer.value = ((GB_INTEGER *)&conv)->value; > } > > break; > > case FIELD_TYPE_INT24: > case FIELD_TYPE_SHORT: > case FIELD_TYPE_LONG: > /*case FIELD_TYPE_TINY:*/ > case FIELD_TYPE_LONGLONG: > case FIELD_TYPE_YEAR: > > GB.NumberFromString(GB_NB_READ_INTEGER, data, strlen(data), > &conv); > > val->type = GB_T_INTEGER; > val->_integer.value = ((GB_INTEGER *)&conv)->value; > > break; > > case FIELD_TYPE_LONGLONG: > > GB.NumberFromString(GB_NB_READ_LONG, data, strlen(data), &conv); > > val->type = GB_T_LONG; > val->_long.value = ((GB_LONG *)&conv)->value; > > break; > > case FIELD_TYPE_FLOAT: > case FIELD_TYPE_DOUBLE: > case FIELD_TYPE_DECIMAL: > > GB.NumberFromString(GB_NB_READ_FLOAT, data, strlen(data), &conv); > > val->_float.type = GB_T_FLOAT; > val->_float.value = ((GB_FLOAT *)&conv)->value; > > break; > A bug! I forgot to remove the first one of course... > I think that I need also to add the new data type in the table_create > function do you agree ? Of course, you are right. I forgot to do that, whereas it is absolutely logical (I mean, if I change a function that converts SQL datatype to gambas datatype, I have to do the contrary somewhere else!) > > I hope to have enought time to starting the test on the new datatype > tomorrow. Have a nice day, Andrea. > Coai. > Regards, -- Benoit Minisini From gambas at ...1... Wed Nov 16 01:04:27 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Nov 2005 01:04:27 +0100 Subject: [Gambas-devel] Support of LONG in database drivers In-Reply-To: <200511160010.17430.gambas@...1...> References: <20051115142742.97750.qmail@...377...> <200511160010.17430.gambas@...1...> Message-ID: <200511160104.28000.gambas@...1...> On Wednesday 16 November 2005 00:10, Benoit Minisini wrote: > > A bug! I forgot to remove the first one of course... > > > I think that I need also to add the new data type in the table_create > > function do you agree ? > > Of course, you are right. I forgot to do that, whereas it is absolutely > logical (I mean, if I change a function that converts SQL datatype to > gambas datatype, I have to do the contrary somewhere else!) > Here is the patch: support for LONG in the gb.db component, in mysql and postgresql drivers, and in the database manager, so that you can test. Regards, -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: patch.tar.bz2 Type: application/x-tbz Size: 246532 bytes Desc: not available URL: From andrea_bortolan at ...112... Thu Nov 17 11:58:25 2005 From: andrea_bortolan at ...112... (Andrea Bortolan) Date: Thu, 17 Nov 2005 11:58:25 +0100 (CET) Subject: [Gambas-devel] Support of LONG in database drivers In-Reply-To: <200511160104.28000.gambas@...1...> Message-ID: <20051117105825.96175.qmail@...391...> Hi Benoit, here the version of the odbc driver that include the BIGINT (Long) support. I've tried it querying my iSeries and the a BIGINT defined filed is showed correctly. Ciao. Benoit Minisini ha scritto: On Wednesday 16 November 2005 00:10, Benoit Minisini wrote: > > A bug! I forgot to remove the first one of course... > > > I think that I need also to add the new data type in the table_create > > function do you agree ? > > Of course, you are right. I forgot to do that, whereas it is absolutely > logical (I mean, if I change a function that converts SQL datatype to > gambas datatype, I have to do the contrary somewhere else!) > Here is the patch: support for LONG in the gb.db component, in mysql and postgresql drivers, and in the database manager, so that you can test. Regards, -- Benoit Minisini --------------------------------- Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ChangeLog Type: application/octet-stream Size: 918 bytes Desc: 2127288286-ChangeLog URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: main.c Type: text/x-csrc Size: 58381 bytes Desc: 943189714-main.c URL: From nigel at ...2... Thu Nov 17 19:00:55 2005 From: nigel at ...2... (nigel at ...2...) Date: Thu, 17 Nov 2005 19:00:55 +0100 (CET) Subject: [Gambas-devel] Updated sqlite and sqlite3 drivers for Gambas Long Message-ID: <11127581.1132250455012.JavaMail.www@...231...> Benoit, Not much of a change was required; sqlite really has few datatypes. For our purposes the gambas datatypes are just psuedo types stored in the table descriptions. I notice that the sqlite3 driver is still not visible in the data manager; could you add it. Kind regards Nigel -------------- next part -------------- A non-text attachment was scrubbed... Name: /home/ngerrard/gambas/gambas2-1.9.21/gb.db.sqlite/src/sqlite.main.cpp Type: text/x-c++src Size: 60873 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: /home/ngerrard/gambas/gambas2-1.9.21/gb.db.sqlite3/src/sqlite3.main.cpp Type: text/x-c++src Size: 60794 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: /home/ngerrard/gambas/gambas2-1.9.21/gb.db.sqlite3/src/ChangeLog Type: application/octet-stream Size: 1833 bytes Desc: not available URL: From daniel at ...318... Thu Nov 17 23:50:58 2005 From: daniel at ...318... (Daniel) Date: Thu, 17 Nov 2005 23:50:58 +0100 Subject: [Gambas-devel] Support of LONG in database drivers In-Reply-To: <200511150015.32088.gambas@...1...> References: <200511150015.32088.gambas@...1...> Message-ID: <437D0952.9050604@...318...> Benoit Minisini wrote: >This message is mainly for Nigel Gerrard, Andrea Bortolan, and Daniel >but-what-is-his-name :-) > > my name is nobody ! what I forgot to give it to you :) >I have just inserted support for LONG (64 bits integer) datatype in the mysql >and postgresql drivers. > >It is less evident for me to do that in the other database drivers... > >Nigel: Can you add it to the sqlite and sqlite3 driver? > >Andrea: Same request for the ODBC driver? > >Daniel: idem for the firebird driver - But you can do what you want, as I >can't merge it into the main source tree at the moment... > >Anyway there is no hurry. > >Ask me any question about that if you need of course... > >Thanks in advance, > >Regards, > > > ok the code for firebird is in attachment daniel (nobody) -------------- next part -------------- A non-text attachment was scrubbed... Name: main.cpp Type: text/x-c++src Size: 62238 bytes Desc: not available URL: From gambas at ...1... Sat Nov 19 00:19:04 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 19 Nov 2005 00:19:04 +0100 Subject: [Gambas-devel] Updated sqlite and sqlite3 drivers for Gambas Long In-Reply-To: <11127581.1132250455012.JavaMail.www@...231...> References: <11127581.1132250455012.JavaMail.www@...231...> Message-ID: <200511190019.04591.gambas@...1...> On Thursday 17 November 2005 19:00, nigel at ...2... wrote: > Benoit, > > Not much of a change was required; sqlite really has few datatypes. For our > purposes the gambas datatypes are just psuedo types stored in the table > descriptions. OK. Thanks! > > I notice that the sqlite3 driver is still not visible in the data manager; > could you add it. No problem. I added it in the past, but it seems I accidentely removed it... Regards, -- Benoit Minisini From daniel at ...318... Mon Nov 21 18:04:07 2005 From: daniel at ...318... (Daniel) Date: Mon, 21 Nov 2005 18:04:07 +0100 Subject: [Gambas-devel] Support of LONG in database drivers In-Reply-To: <200511150015.32088.gambas@...1...> References: <200511150015.32088.gambas@...1...> Message-ID: <4381FE07.5010704@...318...> Benoit Minisini wrote: >This message is mainly for Nigel Gerrard, Andrea Bortolan, and Daniel >but-what-is-his-name :-) > >I have just inserted support for LONG (64 bits integer) datatype in the mysql >and postgresql drivers. > >It is less evident for me to do that in the other database drivers... > >Nigel: Can you add it to the sqlite and sqlite3 driver? > >Andrea: Same request for the ODBC driver? > >Daniel: idem for the firebird driver - But you can do what you want, as I > > hi benoit if you want i just modif. the main config files of gambas to compile firebird in the project (see attachements) >can't merge it into the main source tree at the moment... > >Anyway there is no hurry. > >Ask me any question about that if you need of course... > >Thanks in advance, > >Regards, > > > daniel -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Makefile.am URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Makefile.in URL: -------------- next part -------------- #! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59. # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="configure.ac" ac_subdirs_all="$ac_subdirs_all main" ac_subdirs_all="$ac_subdirs_all gb.compress.bzlib2" ac_subdirs_all="$ac_subdirs_all gb.compress.zlib" ac_subdirs_all="$ac_subdirs_all gb.db.mysql" ac_subdirs_all="$ac_subdirs_all gb.db.odbc" ac_subdirs_all="$ac_subdirs_all gb.db.postgresql" ac_subdirs_all="$ac_subdirs_all gb.db.firebird" ac_subdirs_all="$ac_subdirs_all gb.db.sqlite" ac_subdirs_all="$ac_subdirs_all gb.db.sqlite3" ac_subdirs_all="$ac_subdirs_all gb.gtk" ac_subdirs_all="$ac_subdirs_all gb.net" ac_subdirs_all="$ac_subdirs_all gb.net.curl" ac_subdirs_all="$ac_subdirs_all gb.pcre" ac_subdirs_all="$ac_subdirs_all gb.qt" ac_subdirs_all="$ac_subdirs_all gb.qt.kde" ac_subdirs_all="$ac_subdirs_all gb.sdl" ac_subdirs_all="$ac_subdirs_all gb.xml" ac_subdirs_all="$ac_subdirs_all gb.v4l" ac_subdirs_all="$ac_subdirs_all gb.crypt" ac_subdirs_all="$ac_subdirs_all gb.opengl" ac_subdirs_all="$ac_subdirs_all gb.sdl.opengl" ac_subdirs_all="$ac_subdirs_all gb.ldap" ac_subdirs_all="$ac_subdirs_all gb.corba" ac_subdirs_all="$ac_subdirs_all comp" ac_subdirs_all="$ac_subdirs_all app" ac_subdirs_all="$ac_subdirs_all examples" ac_subdirs_all="$ac_subdirs_all help" ac_default_prefix=/usr/local ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS subdirs bzlib2_dir zlib_dir mysql_dir odbc_dir postgresql_dir firebird_dir sqlite_dir sqlite3_dir gtk_dir net_dir curl_dir pcre_dir qt_dir kde_dir sdl_dir xml_dir v4l_dir crypt_dir opengl_dir sdlopengl_dir ldap_dir corba_dir MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os GAMBAS_VERSION gbbindir gblibdir gbdatadir LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" ac_prev= continue fi ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures this package to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] _ACEOF cat <<_ACEOF Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-bzlib2 enable bzlib2 component (default: yes) --enable-zlib enable zlib component (default: yes) --enable-mysql enable mysql component (default: yes) --enable-odbc enable odbc component (default: yes) --enable-postgresql enable postgresql component (default: yes) --enable-firebird enable firebird component (default: yes) --enable-sqlite enable sqlite component (default: yes) --enable-sqlite3 enable sqlite3 component (default: yes) --enable-gtk enable gtk component (default: yes) --enable-net enable net component (default: yes) --enable-curl enable curl component (default: yes) --enable-pcre enable pcre component (default: yes) --enable-qt enable qt component (default: yes) --enable-kde enable kde component (default: yes) --enable-sdl enable sdl component (default: yes) --enable-xml enable xml component (default: yes) --enable-v4l enable v4l component (default: yes) --enable-crypt enable crypt component (default: yes) --enable-opengl enable opengl component (default: yes) --enable-sdlopengl enable sdlopengl component (default: yes) --enable-ldap enable ldap component (default: yes) --enable-corba enable corba component (default: yes) --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer _ACEOF fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_srcdir/configure.gnu; then echo $SHELL $ac_srcdir/configure.gnu --help=recursive elif test -f $ac_srcdir/configure; then echo $SHELL $ac_srcdir/configure --help=recursive elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd $ac_popdir done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF Copyright (C) 2003 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ _ACEOF { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` hostinfo = `(hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_sep= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value" case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu for comp in gb.*; do rm -f $comp/DISABLED; done ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f $ac_dir/shtool; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. subdirs="$subdirs main" # Check whether --enable-bzlib2 or --disable-bzlib2 was given. if test "${enable_bzlib2+set}" = set; then enableval="$enable_bzlib2" gb_enable_bzlib2=$enableval else gb_enable_bzlib2=yes fi; if test "$gb_enable_bzlib2" = "yes"; then if test -d $srcdir/gb.compress.bzlib2; then subdirs="$subdirs gb.compress.bzlib2" bzlib2_dir=gb.compress.bzlib2 fi else { echo "$as_me:$LINENO: WARNING: bzlib2 component is disabled" >&5 echo "$as_me: WARNING: bzlib2 component is disabled" >&2;} bzlib2_dir="" fi # Check whether --enable-zlib or --disable-zlib was given. if test "${enable_zlib+set}" = set; then enableval="$enable_zlib" gb_enable_zlib=$enableval else gb_enable_zlib=yes fi; if test "$gb_enable_zlib" = "yes"; then if test -d $srcdir/gb.compress.zlib; then subdirs="$subdirs gb.compress.zlib" zlib_dir=gb.compress.zlib fi else { echo "$as_me:$LINENO: WARNING: zlib component is disabled" >&5 echo "$as_me: WARNING: zlib component is disabled" >&2;} zlib_dir="" fi # Check whether --enable-mysql or --disable-mysql was given. if test "${enable_mysql+set}" = set; then enableval="$enable_mysql" gb_enable_mysql=$enableval else gb_enable_mysql=yes fi; if test "$gb_enable_mysql" = "yes"; then if test -d $srcdir/gb.db.mysql; then subdirs="$subdirs gb.db.mysql" mysql_dir=gb.db.mysql fi else { echo "$as_me:$LINENO: WARNING: mysql component is disabled" >&5 echo "$as_me: WARNING: mysql component is disabled" >&2;} mysql_dir="" fi # Check whether --enable-odbc or --disable-odbc was given. if test "${enable_odbc+set}" = set; then enableval="$enable_odbc" gb_enable_odbc=$enableval else gb_enable_odbc=yes fi; if test "$gb_enable_odbc" = "yes"; then if test -d $srcdir/gb.db.odbc; then subdirs="$subdirs gb.db.odbc" odbc_dir=gb.db.odbc fi else { echo "$as_me:$LINENO: WARNING: odbc component is disabled" >&5 echo "$as_me: WARNING: odbc component is disabled" >&2;} odbc_dir="" fi # Check whether --enable-postgresql or --disable-postgresql was given. if test "${enable_postgresql+set}" = set; then enableval="$enable_postgresql" gb_enable_postgresql=$enableval else gb_enable_postgresql=yes fi; if test "$gb_enable_postgresql" = "yes"; then if test -d $srcdir/gb.db.postgresql; then subdirs="$subdirs gb.db.postgresql" postgresql_dir=gb.db.postgresql fi else { echo "$as_me:$LINENO: WARNING: postgresql component is disabled" >&5 echo "$as_me: WARNING: postgresql component is disabled" >&2;} postgresql_dir="" fi # Check whether --enable-firebird or --disable-firebird was given. if test "${enable_firebird+set}" = set; then enableval="$enable_firebird" gb_enable_firebird=$enableval else gb_enable_firebird=yes fi; if test "$gb_enable_firebird" = "yes"; then if test -d $srcdir/gb.db.firebird; then subdirs="$subdirs gb.db.firebird" firebird_dir=gb.db.firebird fi else { echo "$as_me:$LINENO: WARNING: firebird component is disabled" >&5 echo "$as_me: WARNING: firebird component is disabled" >&2;} firebird_dir="" fi # Check whether --enable-sqlite or --disable-sqlite was given. if test "${enable_sqlite+set}" = set; then enableval="$enable_sqlite" gb_enable_sqlite=$enableval else gb_enable_sqlite=yes fi; if test "$gb_enable_sqlite" = "yes"; then if test -d $srcdir/gb.db.sqlite; then subdirs="$subdirs gb.db.sqlite" sqlite_dir=gb.db.sqlite fi else { echo "$as_me:$LINENO: WARNING: sqlite component is disabled" >&5 echo "$as_me: WARNING: sqlite component is disabled" >&2;} sqlite_dir="" fi # Check whether --enable-sqlite3 or --disable-sqlite3 was given. if test "${enable_sqlite3+set}" = set; then enableval="$enable_sqlite3" gb_enable_sqlite3=$enableval else gb_enable_sqlite3=yes fi; if test "$gb_enable_sqlite3" = "yes"; then if test -d $srcdir/gb.db.sqlite3; then subdirs="$subdirs gb.db.sqlite3" sqlite3_dir=gb.db.sqlite3 fi else { echo "$as_me:$LINENO: WARNING: sqlite3 component is disabled" >&5 echo "$as_me: WARNING: sqlite3 component is disabled" >&2;} sqlite3_dir="" fi #GB_CONFIG_SUBDIRS(firebird, gb.db.firebird) # Check whether --enable-gtk or --disable-gtk was given. if test "${enable_gtk+set}" = set; then enableval="$enable_gtk" gb_enable_gtk=$enableval else gb_enable_gtk=yes fi; if test "$gb_enable_gtk" = "yes"; then if test -d $srcdir/gb.gtk; then subdirs="$subdirs gb.gtk" gtk_dir=gb.gtk fi else { echo "$as_me:$LINENO: WARNING: gtk component is disabled" >&5 echo "$as_me: WARNING: gtk component is disabled" >&2;} gtk_dir="" fi #GB_CONFIG_SUBDIRS(gtkpdf, gb.gtk.pdf) # Check whether --enable-net or --disable-net was given. if test "${enable_net+set}" = set; then enableval="$enable_net" gb_enable_net=$enableval else gb_enable_net=yes fi; if test "$gb_enable_net" = "yes"; then if test -d $srcdir/gb.net; then subdirs="$subdirs gb.net" net_dir=gb.net fi else { echo "$as_me:$LINENO: WARNING: net component is disabled" >&5 echo "$as_me: WARNING: net component is disabled" >&2;} net_dir="" fi # Check whether --enable-curl or --disable-curl was given. if test "${enable_curl+set}" = set; then enableval="$enable_curl" gb_enable_curl=$enableval else gb_enable_curl=yes fi; if test "$gb_enable_curl" = "yes"; then if test -d $srcdir/gb.net.curl; then subdirs="$subdirs gb.net.curl" curl_dir=gb.net.curl fi else { echo "$as_me:$LINENO: WARNING: curl component is disabled" >&5 echo "$as_me: WARNING: curl component is disabled" >&2;} curl_dir="" fi # Check whether --enable-pcre or --disable-pcre was given. if test "${enable_pcre+set}" = set; then enableval="$enable_pcre" gb_enable_pcre=$enableval else gb_enable_pcre=yes fi; if test "$gb_enable_pcre" = "yes"; then if test -d $srcdir/gb.pcre; then subdirs="$subdirs gb.pcre" pcre_dir=gb.pcre fi else { echo "$as_me:$LINENO: WARNING: pcre component is disabled" >&5 echo "$as_me: WARNING: pcre component is disabled" >&2;} pcre_dir="" fi # Check whether --enable-qt or --disable-qt was given. if test "${enable_qt+set}" = set; then enableval="$enable_qt" gb_enable_qt=$enableval else gb_enable_qt=yes fi; if test "$gb_enable_qt" = "yes"; then if test -d $srcdir/gb.qt; then subdirs="$subdirs gb.qt" qt_dir=gb.qt fi else { echo "$as_me:$LINENO: WARNING: qt component is disabled" >&5 echo "$as_me: WARNING: qt component is disabled" >&2;} qt_dir="" fi # Check whether --enable-kde or --disable-kde was given. if test "${enable_kde+set}" = set; then enableval="$enable_kde" gb_enable_kde=$enableval else gb_enable_kde=yes fi; if test "$gb_enable_kde" = "yes"; then if test -d $srcdir/gb.qt.kde; then subdirs="$subdirs gb.qt.kde" kde_dir=gb.qt.kde fi else { echo "$as_me:$LINENO: WARNING: kde component is disabled" >&5 echo "$as_me: WARNING: kde component is disabled" >&2;} kde_dir="" fi # Check whether --enable-sdl or --disable-sdl was given. if test "${enable_sdl+set}" = set; then enableval="$enable_sdl" gb_enable_sdl=$enableval else gb_enable_sdl=yes fi; if test "$gb_enable_sdl" = "yes"; then if test -d $srcdir/gb.sdl; then subdirs="$subdirs gb.sdl" sdl_dir=gb.sdl fi else { echo "$as_me:$LINENO: WARNING: sdl component is disabled" >&5 echo "$as_me: WARNING: sdl component is disabled" >&2;} sdl_dir="" fi # Check whether --enable-xml or --disable-xml was given. if test "${enable_xml+set}" = set; then enableval="$enable_xml" gb_enable_xml=$enableval else gb_enable_xml=yes fi; if test "$gb_enable_xml" = "yes"; then if test -d $srcdir/gb.xml; then subdirs="$subdirs gb.xml" xml_dir=gb.xml fi else { echo "$as_me:$LINENO: WARNING: xml component is disabled" >&5 echo "$as_me: WARNING: xml component is disabled" >&2;} xml_dir="" fi # Check whether --enable-v4l or --disable-v4l was given. if test "${enable_v4l+set}" = set; then enableval="$enable_v4l" gb_enable_v4l=$enableval else gb_enable_v4l=yes fi; if test "$gb_enable_v4l" = "yes"; then if test -d $srcdir/gb.v4l; then subdirs="$subdirs gb.v4l" v4l_dir=gb.v4l fi else { echo "$as_me:$LINENO: WARNING: v4l component is disabled" >&5 echo "$as_me: WARNING: v4l component is disabled" >&2;} v4l_dir="" fi # Check whether --enable-crypt or --disable-crypt was given. if test "${enable_crypt+set}" = set; then enableval="$enable_crypt" gb_enable_crypt=$enableval else gb_enable_crypt=yes fi; if test "$gb_enable_crypt" = "yes"; then if test -d $srcdir/gb.crypt; then subdirs="$subdirs gb.crypt" crypt_dir=gb.crypt fi else { echo "$as_me:$LINENO: WARNING: crypt component is disabled" >&5 echo "$as_me: WARNING: crypt component is disabled" >&2;} crypt_dir="" fi # Check whether --enable-opengl or --disable-opengl was given. if test "${enable_opengl+set}" = set; then enableval="$enable_opengl" gb_enable_opengl=$enableval else gb_enable_opengl=yes fi; if test "$gb_enable_opengl" = "yes"; then if test -d $srcdir/gb.opengl; then subdirs="$subdirs gb.opengl" opengl_dir=gb.opengl fi else { echo "$as_me:$LINENO: WARNING: opengl component is disabled" >&5 echo "$as_me: WARNING: opengl component is disabled" >&2;} opengl_dir="" fi # Check whether --enable-sdlopengl or --disable-sdlopengl was given. if test "${enable_sdlopengl+set}" = set; then enableval="$enable_sdlopengl" gb_enable_sdlopengl=$enableval else gb_enable_sdlopengl=yes fi; if test "$gb_enable_sdlopengl" = "yes"; then if test -d $srcdir/gb.sdl.opengl; then subdirs="$subdirs gb.sdl.opengl" sdlopengl_dir=gb.sdl.opengl fi else { echo "$as_me:$LINENO: WARNING: sdlopengl component is disabled" >&5 echo "$as_me: WARNING: sdlopengl component is disabled" >&2;} sdlopengl_dir="" fi # Check whether --enable-ldap or --disable-ldap was given. if test "${enable_ldap+set}" = set; then enableval="$enable_ldap" gb_enable_ldap=$enableval else gb_enable_ldap=yes fi; if test "$gb_enable_ldap" = "yes"; then if test -d $srcdir/gb.ldap; then subdirs="$subdirs gb.ldap" ldap_dir=gb.ldap fi else { echo "$as_me:$LINENO: WARNING: ldap component is disabled" >&5 echo "$as_me: WARNING: ldap component is disabled" >&2;} ldap_dir="" fi # Check whether --enable-corba or --disable-corba was given. if test "${enable_corba+set}" = set; then enableval="$enable_corba" gb_enable_corba=$enableval else gb_enable_corba=yes fi; if test "$gb_enable_corba" = "yes"; then if test -d $srcdir/gb.corba; then subdirs="$subdirs gb.corba" corba_dir=gb.corba fi else { echo "$as_me:$LINENO: WARNING: corba component is disabled" >&5 echo "$as_me: WARNING: corba component is disabled" >&2;} corba_dir="" fi subdirs="$subdirs comp" subdirs="$subdirs app" subdirs="$subdirs examples" subdirs="$subdirs help" echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi; echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE am__api_version="1.9" # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 test "$program_prefix" != NONE && program_transform_name="s,^,$program_prefix,;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$,$program_suffix,;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE=gambas2 VERSION=1.9.21 cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' ac_config_headers="$ac_config_headers config.h" cat >>confdefs.h <<\_ACEOF #define GAMBAS_FULL_VERSION 0x01090021 _ACEOF cat >>confdefs.h <<\_ACEOF #define GAMBAS_PCODE_VERSION 0x01090019 _ACEOF # Make sure we can run config.sub. $ac_config_sub sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 echo "$as_me: error: cannot run $ac_config_sub" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6 if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_build_alias=$build_alias test -z "$ac_cv_build_alias" && ac_cv_build_alias=`$ac_config_guess` test -z "$ac_cv_build_alias" && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6 build=$ac_cv_build build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6 if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_host_alias=$host_alias test -z "$ac_cv_host_alias" && ac_cv_host_alias=$ac_cv_build_alias ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6 host=$ac_cv_host host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` GAMBAS_VERSION=2 gbbindir=$bindir/gambas$GAMBAS_VERSION/ gblibdir=$libdir/gambas$GAMBAS_VERSION/ gbdatadir=$datadir/gambas$GAMBAS_VERSION/ ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@srcdir@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH exec 6>&1 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF This file was extended by $as_me, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2003 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` ac_shift=: ;; -*) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s, at SHELL@,$SHELL,;t t s, at PATH_SEPARATOR@,$PATH_SEPARATOR,;t t s, at PACKAGE_NAME@,$PACKAGE_NAME,;t t s, at PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t s, at PACKAGE_VERSION@,$PACKAGE_VERSION,;t t s, at PACKAGE_STRING@,$PACKAGE_STRING,;t t s, at PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t s, at exec_prefix@,$exec_prefix,;t t s, at prefix@,$prefix,;t t s, at program_transform_name@,$program_transform_name,;t t s, at bindir@,$bindir,;t t s, at sbindir@,$sbindir,;t t s, at libexecdir@,$libexecdir,;t t s, at datadir@,$datadir,;t t s, at sysconfdir@,$sysconfdir,;t t s, at sharedstatedir@,$sharedstatedir,;t t s, at localstatedir@,$localstatedir,;t t s, at libdir@,$libdir,;t t s, at includedir@,$includedir,;t t s, at oldincludedir@,$oldincludedir,;t t s, at infodir@,$infodir,;t t s, at mandir@,$mandir,;t t s, at build_alias@,$build_alias,;t t s, at host_alias@,$host_alias,;t t s, at target_alias@,$target_alias,;t t s, at DEFS@,$DEFS,;t t s, at ECHO_C@,$ECHO_C,;t t s, at ECHO_N@,$ECHO_N,;t t s, at ECHO_T@,$ECHO_T,;t t s, at LIBS@,$LIBS,;t t s, at subdirs@,$subdirs,;t t s, at bzlib2_dir@,$bzlib2_dir,;t t s, at zlib_dir@,$zlib_dir,;t t s, at mysql_dir@,$mysql_dir,;t t s, at odbc_dir@,$odbc_dir,;t t s, at postgresql_dir@,$postgresql_dir,;t t s, at firebird_dir@,$firebird_dir,;t t s, at sqlite_dir@,$sqlite_dir,;t t s, at sqlite3_dir@,$sqlite3_dir,;t t s, at gtk_dir@,$gtk_dir,;t t s, at net_dir@,$net_dir,;t t s, at curl_dir@,$curl_dir,;t t s, at pcre_dir@,$pcre_dir,;t t s, at qt_dir@,$qt_dir,;t t s, at kde_dir@,$kde_dir,;t t s, at sdl_dir@,$sdl_dir,;t t s, at xml_dir@,$xml_dir,;t t s, at v4l_dir@,$v4l_dir,;t t s, at crypt_dir@,$crypt_dir,;t t s, at opengl_dir@,$opengl_dir,;t t s, at sdlopengl_dir@,$sdlopengl_dir,;t t s, at ldap_dir@,$ldap_dir,;t t s, at corba_dir@,$corba_dir,;t t s, at MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t s, at MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t s, at MAINT@,$MAINT,;t t s, at INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s, at INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s, at INSTALL_DATA@,$INSTALL_DATA,;t t s, at CYGPATH_W@,$CYGPATH_W,;t t s, at PACKAGE@,$PACKAGE,;t t s, at VERSION@,$VERSION,;t t s, at ACLOCAL@,$ACLOCAL,;t t s, at AUTOCONF@,$AUTOCONF,;t t s, at AUTOMAKE@,$AUTOMAKE,;t t s, at AUTOHEADER@,$AUTOHEADER,;t t s, at MAKEINFO@,$MAKEINFO,;t t s, at install_sh@,$install_sh,;t t s, at STRIP@,$STRIP,;t t s, at ac_ct_STRIP@,$ac_ct_STRIP,;t t s, at INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s, at mkdir_p@,$mkdir_p,;t t s, at AWK@,$AWK,;t t s, at SET_MAKE@,$SET_MAKE,;t t s, at am__leading_dot@,$am__leading_dot,;t t s, at AMTAR@,$AMTAR,;t t s, at am__tar@,$am__tar,;t t s, at am__untar@,$am__untar,;t t s, at build@,$build,;t t s, at build_cpu@,$build_cpu,;t t s, at build_vendor@,$build_vendor,;t t s, at build_os@,$build_os,;t t s, at host@,$host,;t t s, at host_cpu@,$host_cpu,;t t s, at host_vendor@,$host_vendor,;t t s, at host_os@,$host_os,;t t s, at GAMBAS_VERSION@,$GAMBAS_VERSION,;t t s, at gbbindir@,$gbbindir,;t t s, at gblibdir@,$gblibdir,;t t s, at gbdatadir@,$gbdatadir,;t t s, at LIBOBJS@,$LIBOBJS,;t t s, at LTLIBOBJS@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s, at configure_input@,$configure_input,;t t s, at srcdir@,$ac_srcdir,;t t s, at abs_srcdir@,$ac_abs_srcdir,;t t s, at top_srcdir@,$ac_top_srcdir,;t t s, at abs_top_srcdir@,$ac_abs_top_srcdir,;t t s, at builddir@,$ac_builddir,;t t s, at abs_builddir@,$ac_abs_builddir,;t t s, at top_builddir@,$ac_top_builddir,;t t s, at abs_top_builddir@,$ac_abs_top_builddir,;t t s, at INSTALL@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_HEADER section. # # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' ac_dC=' ' ac_dD=',;t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$,\1#\2define\3' ac_uC=' ' ac_uD=',;t' for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } # Do quote $f, to prevent DOS paths from being IFS'd. echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in _ACEOF # Transform confdefs.h into two sed scripts, `conftest.defines' and # `conftest.undefs', that substitutes the proper values into # config.h.in to produce config.h. The first handles `#define' # templates, and the second `#undef' templates. # And first: Protect against being on the right side of a sed subst in # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs # Using a here document instead of a string reduces the quoting nightmare. # Putting comments in sed scripts is not portable. # # `end' is used to avoid that the second main sed command (meant for # 0-ary CPP macros) applies to n-ary macro definitions. # See the Autoconf documentation for `clear'. cat >confdef2sed.sed <<\_ACEOF s/[\\&,]/\\&/g s,[\\$`],\\&,g t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp t end s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp : end _ACEOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC-DEFINE to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs rm -f confdef2sed.sed # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. cat >>conftest.undefs <<\_ACEOF s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, _ACEOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.defines >/dev/null do # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines echo ' fi # grep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs cat >>$CONFIG_STATUS <<\_ACEOF # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if diff $ac_file $tmp/config.h >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fi # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'`/stamp-h$_am_stamp_count done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi # # CONFIG_SUBDIRS section. # if test "$no_recursion" != yes; then # Remove --cache-file and --srcdir arguments so they do not pile up. ac_sub_configure_args= ac_prev= for ac_arg in $ac_configure_args; do if test -n "$ac_prev"; then ac_prev= continue fi case $ac_arg in -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ | --c=*) ;; --config-cache | -C) ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) ;; *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; esac done # Always prepend --prefix to ensure using the same prefix # in subdir configurations. ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" ac_popdir=`pwd` for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue # Do not complain, so a configure script can configure whichever # parts of a large source tree are present. test -d $srcdir/$ac_dir || continue { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 echo "$as_me: configuring in $ac_dir" >&6;} { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_srcdir/configure.gnu; then ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" elif test -f $ac_srcdir/configure; then ac_sub_configure="$SHELL '$ac_srcdir/configure'" elif test -f $ac_srcdir/configure.in; then ac_sub_configure=$ac_configure else { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} ac_sub_configure= fi # The recursion is here. if test -n "$ac_sub_configure"; then # Make the cache file name correct relative to the subdirectory. case $cache_file in [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; *) # Relative path. ac_sub_cache_file=$ac_top_builddir$cache_file ;; esac { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} # The eval makes quoting arguments work. eval $ac_sub_configure $ac_sub_configure_args \ --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} { (exit 1); exit 1; }; } fi cd $ac_popdir done fi GB_SUMMARY="" for comp in gb.*; do if test -e $comp/DISABLED; then GB_SUMMARY="$GB_SUMMARY\n- $comp" fi done echo echo "************************************************************" echo if test x"$GB_SUMMARY" == x; then echo "ALL COMPONENTS WILL BE COMPILED" else echo "THESE COMPONENTS ARE DISABLED:" echo -e $GB_SUMMARY fi echo echo "************************************************************" echo -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: configure.ac URL: From csorda at ...69... Tue Nov 22 12:23:36 2005 From: csorda at ...69... (csorda@libero.it) Date: Tue, 22 Nov 2005 12:23:36 +0100 Subject: [Gambas-devel] Support of LONG in database drivers Message-ID: Hi, where can I find "gambasgears" opengl sample runnable on Gambas2 1.9.21 version? Can I use gb.opengl in an mdi/sdi application? Best regards, Carlo. From csorda at ...69... Tue Nov 22 12:39:47 2005 From: csorda at ...69... (csorda@libero.it) Date: Tue, 22 Nov 2005 12:39:47 +0100 Subject: [Gambas-devel] opengl sample Message-ID: sorry for object mistake... Hi, where can I find "gambasgears" opengl sample runnable on Gambas2 1.9.21 version? Can I use gb.opengl in an mdi/sdi application? Best regards, Carlo. From bdragon at ...185... Wed Nov 23 18:08:26 2005 From: bdragon at ...185... (Brandon Bergren) Date: Wed, 23 Nov 2005 11:08:26 -0600 (Central Standard Time) Subject: [Gambas-devel] p-code missing function bug (windows porting) Message-ID: I switched to gambas2-1.9.21 for the windows port, and I'm still working out the compile errors. Most of it is general reliance on glibc extensions, but some of it is due to dll stupidity. Anyway, in main/lib/eval/eval_trans_expr.c, you have a reference to "CODE_push_return()." This function appears to be commented out in main/share/gb_code_temp.h. Of course, missing symbols are an unrecoverable error at link time on windows, as the linker is extra paranoid, due to PE braindeadedness. For now, I'll assume CODE_push_return does not exist, and comment out that case. Further instruction on this would be welcome. Thanks, Brandon Bergren (that crazy windows port guy) From gambas at ...1... Wed Nov 23 18:19:46 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 23 Nov 2005 18:19:46 +0100 Subject: [Gambas-devel] p-code missing function bug (windows porting) In-Reply-To: References: Message-ID: <200511231819.46627.gambas@...1...> On Wednesday 23 November 2005 18:08, Brandon Bergren wrote: > I switched to gambas2-1.9.21 for the windows port, and I'm still working > out the compile errors. > > Most of it is general reliance on glibc extensions, but some of it is due > to dll stupidity. > > Anyway, in main/lib/eval/eval_trans_expr.c, you have a reference to > "CODE_push_return()." This function appears to be commented out in > main/share/gb_code_temp.h. > > Of course, missing symbols are an unrecoverable error at link time on > windows, as the linker is extra paranoid, due to PE braindeadedness. > > For now, I'll assume CODE_push_return does not exist, and comment out that > case. Further instruction on this would be welcome. > > Thanks, > > Brandon Bergren > (that crazy windows port guy) > You were right, this is something I forgot to remove... Regards, -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: eval_trans_expr.c Type: text/x-csrc Size: 9882 bytes Desc: not available URL: From lordheavy at ...141... Thu Nov 24 23:42:21 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Thu, 24 Nov 2005 23:42:21 +0100 Subject: [Gambas-devel] news about opengl componant ... Message-ID: <200511242342.21235.lordheavy@...141...> The opengl componant have started on a new base. It will be more compliant to "official" opengl standard. So opengl coding should be easier. I hope to have a full opengl 1.1 near the new year :) Following is various screenshots from tutorials (nehe and others) and an exemple of piece of c code and gambas code from gloweffect. I guess (and hope !) that you will find all these stuff with the next unstable release. Contact me if you want to "alpha test" the current code ;) Comments and criticisms are welcome ! Regards, -- jabber : lordheavy at ...298... mail : lordheavym at ...394... -------------- next part -------------- A non-text attachment was scrubbed... Name: gloweffect.png Type: image/png Size: 60031 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nehetuto08.png Type: image/png Size: 222855 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gloweffect.cpp Type: text/x-c++src Size: 14030 bytes Desc: not available URL: -------------- next part -------------- ' Gambas module file PRIVATE Textures AS Integer[] PRIVATE UVdecal AS Float PRIVATE Rot AS Float PRIVATE Frames AS Integer PRIVATE CTime AS Float PUBLIC SUB Main() Screen.Show(512, 512, 16) Screen_resize() initGL() loadTextures() Ctime = Timer() END PUBLIC SUB Screen_resize() ' Width/Height Ratio DIM ratio AS Float DIM Height AS Integer Height = Screen.H ' Protect against a divide by zero IF Height = 0 THEN Height = 1 ratio = Screen.W / Height ' Setup our viewport Gl.Viewport(0, 0, Screen.Width, Screen.Height) ' change to the projection matrix AND set our viewing volume. Gl.MatrixMode(glconst.Projection) Gl.LoadIdentity() ' Set our perspective Glu.Perspective(45.0, ratio, 1, 500.0) ' Make sure we're changing the model view and not the projection Gl.MatrixMode(glconst.Modelview) GL.LoadIdentity() END PUBLIC SUB Screen_refresh() DIM calc AS Float Gl.Clear(Glconst.ColorBufferBit OR Glconst.DepthBufferBit) Gl.LoadIdentity() Glu.LookAt(75, 75, 75, 0, 0, 0, 0, 1, 0) RenderTotexture() RenderGlow(20) INC (Frames) IF (Timer() > CTime + 5) THEN calc = Timer() - CTime PRINT CStr(Frames) & " frames in " & Format$(calc, "#.0") & " seconds = " & Format$((Frames / calc), "######.000") & " FPS" Frames = 0 CTime = Timer() ENDIF END PUBLIC SUB Screen_keyPressed() IF key.Code = keyCode.F1 THEN Screen.Fullscreen = NOT Screen.Fullscreen IF key.Code = keyCode.Esc THEN Screen.Close() END PUBLIC SUB initGL() Gl.ShadeModel(Glconst.Smooth) Gl.ClearColor(0.0, 0.0, 0.0, 0.5) Gl.ClearDepth(1.0) Gl.Enable(Glconst.DepthTest) Gl.DepthFunc(Glconst.LEqual) Gl.Hint(Glconst.PersperctiveCorrectionHint, Glconst.Nicest) END PUBLIC SUB loadTextures() DIM tempSurface AS NEW Surface Textures = Gl.GenTextures(2) Gl.Enable(Glconst.Texture2d) tempSurface.Load("GCN.png") Gl.BindTexture(Glconst.Texture2d, textures[0]) Gl.TexImage2D(Glconst.Texture2d, 0, 3, tempSurface.W, tempSurface.h, 0, Glconst.rgb, Glconst.UnsignedByte, tempSurface.Pixels) Gl.TexParameteri(Glconst.Texture2d, Glconst.TextureMinFilter, Glconst.Linear) Gl.TexParameteri(Glconst.Texture2d, Glconst.TextureMagFilter, Glconst.Linear) tempSurface = NEW Surface(512, 512, 32) ' 32 -> 4 bytes per pixel ! Gl.BindTexture(Glconst.Texture2d, textures[1]) Gl.TexImage2D(Glconst.Texture2d, 0, 4, tempSurface.W, tempSurface.h, 0, Glconst.rgba, Glconst.UnsignedByte, tempSurface.Pixels) Gl.TexParameteri(Glconst.Texture2d, Glconst.TextureMinFilter, Glconst.Linear) Gl.TexParameteri(Glconst.Texture2d, Glconst.TextureMagFilter, Glconst.Linear) Gl.Disable(Glconst.Texture2d) END PUBLIC SUB RenderCube() Gl.PushMatrix() Gl.Rotatef(Rot, 1, 1, 0) Gl.Scalef(10, 10, 10) Gl.BindTexture(Glconst.Texture2d, textures[0]) Gl.Begin(Glconst.Quads) ' FACE 1 Gl.Color4f(0, 1, 1, 1) Gl.TexCoord2f(1, 1) Gl.Vertex3i(1, 1, 1) Gl.Color4f(1, 0, 1, 1) Gl.TexCoord2f(1, 0) Gl.Vertex3i(1, -1, 1) Gl.Color4f(1, 1, 0, 1) Gl.TexCoord2f(0, 0) Gl.Vertex3i(-1, -1, 1) Gl.Color4f(1, 0, 1, 1) Gl.TexCoord2f(0, 1) Gl.Vertex3i(-1, 1, 1) ' FACE 2 Gl.Color4f(0, 1, 1, 1) Gl.TexCoord2f(0, 0) Gl.Vertex3i(1, 1, -1) Gl.Color4f(1, 0, 1, 1) Gl.TexCoord2f(1, 0) Gl.Vertex3i(1, -1, -1) Gl.Color4f(1, 1, 0, 1) Gl.TexCoord2f(1, 1) Gl.Vertex3i(-1, -1, -1) Gl.Color4f(1, 0, 1, 1) Gl.TexCoord2f(0, 1) Gl.Vertex3i(-1, 1, -1) ' FACE 3 Gl.Color4f(0, 1, 1, 1) Gl.TexCoord2f(0, 0) Gl.Vertex3i(1, 1, 1) Gl.Color4f(1, 0, 1, 1) Gl.TexCoord2f(1, 0) Gl.Vertex3i(1, -1, 1) Gl.Color4f(1, 1, 0, 1) Gl.TexCoord2f(1, 1) Gl.Vertex3i(1, -1, -1) Gl.Color4f(1, 0, 1, 1) Gl.TexCoord2f(0, 1) Gl.Vertex3i(1, 1, -1) ' FACE 4 Gl.Color4f(0, 1, 1, 1) Gl.TexCoord2f(0, 0) Gl.Vertex3i(-1, 1, 1) Gl.Color4f(1, 0, 1, 1) Gl.TexCoord2f(0, 1) Gl.Vertex3i(-1, -1, 1) Gl.Color4f(1, 1, 0, 1) Gl.TexCoord2f(1, 1) Gl.Vertex3i(-1, -1, -1) Gl.Color4f(1, 0, 1, 1) Gl.TexCoord2f(1, 0) Gl.Vertex3i(-1, 1, -1) ' FACE 5 Gl.Color4f(0, 1, 1, 1) Gl.TexCoord2f(0, 0) Gl.Vertex3i(-1, 1, -1) Gl.Color4f(1, 0, 1, 1) Gl.TexCoord2f(1, 0) Gl.Vertex3i(-1, 1, 1) Gl.Color4f(1, 1, 0, 1) Gl.TexCoord2f(1, 1) Gl.Vertex3i(1, 1, 1) Gl.Color4f(1, 0, 1, 1) Gl.TexCoord2f(0, 1) Gl.Vertex3i(1, 1, -1) ' FACE 6 Gl.Color4f(0, 1, 1, 1) Gl.TexCoord2f(0, 0) Gl.Vertex3i(-1, -1, -1) Gl.Color4f(1, 0, 1, 1) Gl.TexCoord2f(1, 0) Gl.Vertex3i(-1, -1, 1) Gl.Color4f(1, 1, 0, 1) Gl.TexCoord2f(1, 1) Gl.Vertex3i(1, -1, 1) Gl.Color4f(1, 0, 1, 1) Gl.TexCoord2f(0, 1) Gl.Vertex3i(1, -1, -1) Gl.End() Gl.PopMatrix() Rot += 1 END PUBLIC SUB RenderToTexture() Gl.Enable(Glconst.Texture2d) RenderCube() Gl.BindTexture(Glconst.Texture2d, textures[1]) Gl.CopyTexImage2D(Glconst.Texture2d, 0, Glconst.Rgb, 0, 0, 512, 512, 0) Gl.ClearColor(0, 0, 0, 0) Gl.Clear(Glconst.ColorBufferBit OR Glconst.DepthBufferBit) Gl.Disable(Glconst.Texture2d) END PUBLIC SUB RenderGlow(count AS Integer) DIM i AS Float ' ViewOrtho Gl.MatrixMode(Glconst.Projection) Gl.PushMatrix() Gl.LoadIdentity() Gl.Ortho(0, 512, 0, 512, -1, 1) Gl.MatrixMode(Glconst.Modelview) Gl.PushMatrix() Gl.LoadIdentity() Gl.Enable(Glconst.Texture2d) Gl.BindTexture(Glconst.Texture2d, textures[1]) Gl.Enable(Glconst.Blend) Gl.BlendFunc(Glconst.SrcAlpha, Glconst.OneMinusSrcAlpha) Gl.Begin(Glconst.Quads) WHILE (i < count) i += 1 Gl.Color4f(1, 1, 1, 0.3 / i) Gl.TexCoord2f(0 + (i / 75), (i / 75)) Gl.Vertex2f(0, 0) Gl.TexCoord2f((i / 75), 1 - (i / 75)) Gl.Vertex2f(0, 512) Gl.TexCoord2f(1 - (i / 75), 1 - (i / 75)) Gl.Vertex2f(512, 512) Gl.TexCoord2f(1 - (i / 75), (i / 75)) Gl.Vertex2f(512, 0) WEND Gl.End() ' ViewPerspective Gl.MatrixMode(Glconst.Projection) Gl.PopMatrix() Gl.MatrixMode(Glconst.Modelview) Gl.PopMatrix() Gl.Disable(Glconst.Blend) Gl.Enable(Glconst.DepthTest) Gl.Disable(Glconst.Texture2d) Gl.BindTexture(Glconst.Texture2d, 0) END From csorda at ...69... Sat Nov 26 00:26:50 2005 From: csorda at ...69... (csorda@libero.it) Date: Sat, 26 Nov 2005 00:26:50 +0100 Subject: [Gambas-devel] news about opengl componant ... Message-ID: Hi, thanks alot for your help and sample! Thanks for the gb.opengl component! I have a question for you. Can I mix Form component and opengl in a Gambas2 application? My application will can display a Form with same info in Text Boxes and render an animation in 3d with opengl. Can I do it? Best regards, Carlo Sorda. > The opengl componant have started on a new base. It will be more compliant to > "official" opengl standard. So opengl coding should be easier. > > I hope to have a full opengl 1.1 near the new year :) > > Following is various screenshots from tutorials (nehe and others) and an > exemple of piece of c code and gambas code from gloweffect. > > I guess (and hope !) that you will find all these stuff with the next unstable > release. > > Contact me if you want to "alpha test" the current code ;) > Comments and criticisms are welcome ! > > Regards, > > -- > jabber : lordheavy at ...298... > mail : lordheavym at ...394... > From lordheavy at ...141... Sat Nov 26 00:40:28 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Sat, 26 Nov 2005 00:40:28 +0100 Subject: [Gambas-devel] news about opengl componant ... In-Reply-To: References: Message-ID: <200511260040.28647.lordheavy@...141...> Le Samedi 26 Novembre 2005 00:26, csorda at ...69... a ?crit?: > Hi, > thanks alot for your help and sample! Thanks for the gb.opengl component! > I have a question for you. > Can I mix Form component and opengl in a Gambas2 application? > My application will can display a Form with same info in Text Boxes and > render an animation in 3d with opengl. Can I do it? > Best regards, Carlo Sorda. > Yes, it will be possible with the GLarea widget available with gb.qt.opengl component. Actually it pretty "basic" and haven't texture support (loading images) but it's working with other opengl features (vertexes, ...). Regards, -- jabber : lordheavy at ...298... mail : lordheavym at ...394... From gambas at ...1... Sat Nov 26 18:03:26 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 26 Nov 2005 18:03:26 +0100 Subject: [Gambas-devel] Release of gambas 1.9.22 Message-ID: <200511261803.26854.gambas@...1...> Here is a new release of the development version... The main changes are: * Database component now supports Long (64 bits integer) database fields. * gb.pdf is a new component made by Daniel Campos for decoding PDF documents. * Components can ask for images or pictures, and this feature is used in the gb.v4l component, and in the new gb.pdf component. * The OpenGL component was updated. * And many little improvements and bug fixes... Download it at http://gambas.sf.net/download.html The full ChangeLog is at http//gambas.sf.net/changelog2.html Enjoy it! Regards, -- Benoit Minisini From gambasfr at ...4... Sat Nov 26 23:25:00 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Sat, 26 Nov 2005 23:25:00 +0100 Subject: [Gambas-devel] Release of gambas 1.9.22 In-Reply-To: <200511261803.26854.gambas@...1...> References: <200511261803.26854.gambas@...1...> Message-ID: <200511262325.00440.gambasfr@...4...> Le Samedi 26 Novembre 2005 18:03, Benoit Minisini a ?crit?: > Here is a new release of the development version... > > The main changes are: > * Database component now supports Long (64 bits integer) database fields. > * gb.pdf is a new component made by Daniel Campos for decoding PDF > documents. * Components can ask for images or pictures, and this feature is > used in the gb.v4l component, and in the new gb.pdf component. > * The OpenGL component was updated. > * And many little improvements and bug fixes... > > Download it at http://gambas.sf.net/download.html > The full ChangeLog is at http//gambas.sf.net/changelog2.html > > Enjoy it! > > Regards, hi Benoit First bug i think PUBLIC SUB _load() PictureBox1.Picture = Stock["64/dialog/auth"] END it don't work ! but i don't know why... it work well with the test form in gb.qt Regards, Fabien From gambasfr at ...4... Sat Nov 26 23:34:16 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Sat, 26 Nov 2005 23:34:16 +0100 Subject: [Gambas-devel] Release of gambas 1.9.22 In-Reply-To: <200511261803.26854.gambas@...1...> References: <200511261803.26854.gambas@...1...> Message-ID: <200511262334.16109.gambasfr@...4...> salut, Gambas Editor Component NEW: Mouse selection, copy and paste is supported now. Editor Component NEW: Mouse selection, copy and paste is supported now. ??? Where ? .... it don't work too Regards, Fabien From gambasfr at ...4... Sun Nov 27 15:50:31 2005 From: gambasfr at ...4... (Fabien Bodard) Date: Sun, 27 Nov 2005 15:50:31 +0100 Subject: [Gambas-devel] Gambas Synthax suggestion Message-ID: <200511271550.31732.gambasfr@...4...> 'proposition de syntaxe pour tableau d'objet Synthax proposition for sp?cific class object array... somtime i need to initialize a classe with an array of instance to another class like that : ' Gambas class file PUBLIC vertex AS NEW Object[] PUBLIC SUB _New() DIM i AS Integer DIM o AS CVertex 'Make an Array of three vertices FOR i = 0 TO 2 o = NEW CVertex vertex.Add(o) NEXT END I there a way to have someting like : PUBLIC Vertex as New CVertex[3] 'proposition d'encapsulage des instanciation Syntaxe Proposition for new intance in add subs... like : DIM o AS CVertex o = NEW CVertex vertex.Add(o) I think it can be set with : vertex.Add(NEW CVertex) 'proposition de d?claration de varable lin?aires Linear Variable d?clarations... Actually too long to do, mabe Not simple to synthetize... Is it possible to use a synthaxe like the c one ? ex: DIM x, y, z , u, v as Float DIM NumTriangle as Integer But the rule is one row by data type ! Say me what you think about that... Regards, Fabien Bodard From gambas at ...1... Sun Nov 27 20:40:53 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 27 Nov 2005 20:40:53 +0100 Subject: [Gambas-devel] Release of gambas 1.9.22 In-Reply-To: <200511262334.16109.gambasfr@...4...> References: <200511261803.26854.gambas@...1...> <200511262334.16109.gambasfr@...4...> Message-ID: <200511272040.53917.gambas@...1...> On Saturday 26 November 2005 23:34, Fabien Bodard wrote: > salut, > > Gambas Editor Component > NEW: Mouse selection, copy and paste is supported now. Oops. This line is for the stable version, not the development one. > Editor Component > NEW: Mouse selection, copy and paste is supported now. This line is right. -- Benoit Minisini From gambas at ...1... Sun Nov 27 20:42:41 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 27 Nov 2005 20:42:41 +0100 Subject: [Gambas-devel] Gambas Synthax suggestion In-Reply-To: <200511271550.31732.gambasfr@...4...> References: <200511271550.31732.gambasfr@...4...> Message-ID: <200511272042.41894.gambas@...1...> On Sunday 27 November 2005 15:50, Fabien Bodard wrote: > 'proposition de syntaxe pour tableau d'objet > Synthax proposition for sp?cific class object array... > > somtime i need to initialize a classe with an array of instance to another > class like that : > > ' Gambas class file > PUBLIC vertex AS NEW Object[] > > PUBLIC SUB _New() > DIM i AS Integer > DIM o AS CVertex > 'Make an Array of three vertices > FOR i = 0 TO 2 > o = NEW CVertex > vertex.Add(o) > NEXT > END > > I there a way to have someting like : > > PUBLIC Vertex as New CVertex[3] > At the moment, this is impossible. It is not a syntax (compiler) problem, but an interpreter one. I already tried to implement that this summer, but I failed. I will try again later for sure. > > > 'proposition d'encapsulage des instanciation > Syntaxe Proposition for new intance in add subs... > > like : > DIM o AS CVertex > o = NEW CVertex > vertex.Add(o) > > I think it can be set with : > > vertex.Add(NEW CVertex) This could be possible now. > > 'proposition de d?claration de varable lin?aires > Linear Variable d?clarations... > Actually too long to do, mabe Not simple to synthetize... > > Is it possible to use a synthaxe like the c one ? > > ex: > DIM x, y, z , u, v as Float > DIM NumTriangle as Integer > > But the rule is one row by data type ! This is possible too. Regards, -- Benoit Minisini From rohnny at ...399... Sun Nov 27 21:09:23 2005 From: rohnny at ...399... (Rohnny Stormo) Date: Sun, 27 Nov 2005 21:09:23 +0100 Subject: [Gambas-devel] Announce forum Message-ID: <438A1273.9010201@...399...> Hi. After mailing Benoit Minisini and he say I should announce it here I do so. I have set up a forum if you are interested. Intention with the forum is to get a place where discussin can be done and users can find help each other to find nice solutions to theyr problems. I personally prefer forum instead of mailing lists and I guess others do as well. I have looked on the net but not found any good place. So be free to have a visit. Regards Rohnny From lordheavy at ...141... Sun Nov 27 22:09:41 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Sun, 27 Nov 2005 22:09:41 +0100 Subject: [Gambas-devel] Some opengl examples using opengl and sdl components Message-ID: <200511272209.41811.lordheavy@...141...> These examples are from the Nehe website: http://nehe.gamedev.net/lesson.asp?index=01 Here are lessons 2 to 5 Have fun :) -- jabber : lordheavy at ...298... mail : lordheavym at ...394... -------------- next part -------------- A non-text attachment was scrubbed... Name: NeheTutorial02-0.0.1.tar.gz Type: application/x-tgz Size: 1393 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NeheTutorial04-0.0.1.tar.gz Type: application/x-tgz Size: 1494 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NeheTutorial03-0.0.1.tar.gz Type: application/x-tgz Size: 1449 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NeheTutorial05-0.0.1.tar.gz Type: application/x-tgz Size: 3468 bytes Desc: not available URL: From csorda at ...69... Mon Nov 28 01:51:25 2005 From: csorda at ...69... (csorda@libero.it) Date: Mon, 28 Nov 2005 01:51:25 +0100 Subject: [Gambas-devel] opengl glarea sample Message-ID: Hi, thanks for the samples. They works fine. Very good! Can you give me a sample with glarea? Best regards, Carlo Sorda. > Le Samedi 26 Novembre 2005 00:26, csorda at ...69... a ?crit : > > Hi, > > thanks alot for your help and sample! Thanks for the gb.opengl component! > > I have a question for you. > > Can I mix Form component and opengl in a Gambas2 application? > > My application will can display a Form with same info in Text Boxes and > > render an animation in 3d with opengl. Can I do it? > > Best regards, Carlo Sorda. > > > > Yes, it will be possible with the GLarea widget available with gb.qt.opengl > component. Actually it pretty "basic" and haven't texture support (loading > images) but it's working with other opengl features (vertexes, ...). > > Regards, > > -- > jabber : lordheavy at ...298... > mail : lordheavym at ...394... > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op From lordheavy at ...141... Mon Nov 28 10:05:56 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Mon, 28 Nov 2005 10:05:56 +0100 Subject: [Gambas-devel] opengl glarea sample In-Reply-To: References: Message-ID: <200511281005.56194.lordheavy@...141...> Le Lundi 28 Novembre 2005 01:51, csorda at ...69... a ?crit?: > Hi, > thanks for the samples. They works fine. Very good! > Can you give me a sample with glarea? > Best regards, Carlo Sorda. > Ok , here a small example, i've done to test GLarea. Texture loading isn't yet supported in Qt. Regards, -- jabber : lordheavy at ...298... mail : lordheavym at ...394... -------------- next part -------------- A non-text attachment was scrubbed... Name: glbox-0.0.1.tar.gz Type: application/x-tgz Size: 1577 bytes Desc: not available URL: From rohnny at ...399... Mon Nov 28 11:12:31 2005 From: rohnny at ...399... (Rohnny Stormo) Date: Mon, 28 Nov 2005 11:12:31 +0100 Subject: [Gambas-devel] Re: Announce forum In-Reply-To: <438A1273.9010201@...399...> References: <438A1273.9010201@...399...> Message-ID: <438AD80F.1050903@...399...> Rohnny Stormo wrote: >Hi. > >After mailing Benoit Minisini and he say I should announce it here I do so. > >I have set up a forum if you are interested. >Intention with the forum is to get a place where discussin can be done >and users can find help each other to find nice solutions to theyr >problems. I personally prefer forum instead of mailing lists and I guess >others do as well. > >I have looked on the net but not found any good place. So be free to >have a visit. > > >Regards Rohnny > > > Hi. Sorry, offcourse the adress, silly me. http://forum.stormweb.no Regards Rohnny From csorda at ...69... Tue Nov 29 23:17:25 2005 From: csorda at ...69... (csorda@libero.it) Date: Tue, 29 Nov 2005 23:17:25 +0100 Subject: [Gambas-devel] opengl glarea sample Message-ID: Hi, very good!! I had resolve my little problem. Now I invite you to implement in your lib this code: http://www.spacesimulator.net/tutorials/source_code/spacesimulator.net-tutorial4_linux.zip This sample read a 3ds object and display it in the window. I think Its very simple for you to implement a gl.Load3DS(...) in your component. Best regards, Carlo Sorda > Le Lundi 28 Novembre 2005 01:51, csorda at ...69... a ?crit : > > Hi, > > thanks for the samples. They works fine. Very good! > > Can you give me a sample with glarea? > > Best regards, Carlo Sorda. > > > > Ok , here a small example, i've done to test GLarea. Texture loading isn't yet > supported in Qt. > > Regards, > > -- > jabber : lordheavy at ...298... > mail : lordheavym at ...394... > From gambas at ...1... Tue Nov 29 23:55:56 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 29 Nov 2005 23:55:56 +0100 Subject: [Gambas-devel] opengl glarea sample In-Reply-To: References: Message-ID: <200511292355.57116.gambas@...1...> On Tuesday 29 November 2005 23:17, csorda at ...69... wrote: > Hi, > very good!! > > I had resolve my little problem. > Now I invite you to implement in your lib this code: > http://www.spacesimulator.net/tutorials/source_code/spacesimulator.net-tuto >rial4_linux.zip This sample read a 3ds object and display it in the window. > I think Its very simple for you to implement a gl.Load3DS(...) in your > component. Best regards, Carlo Sorda > Laurent: maybe you could use that in the sort of "super" opengl functions we talk about a few days ago :-) -- Benoit Minisini From lordheavy at ...141... Wed Nov 30 00:07:57 2005 From: lordheavy at ...141... (Laurent Carlier) Date: Wed, 30 Nov 2005 00:07:57 +0100 Subject: [Gambas-devel] opengl glarea sample In-Reply-To: <200511292355.57116.gambas@...1...> References: <200511292355.57116.gambas@...1...> Message-ID: <200511300007.57836.lordheavy@...141...> Le Mardi 29 Novembre 2005 23:55, Benoit Minisini a ?crit?: > On Tuesday 29 November 2005 23:17, csorda at ...69... wrote: > > Hi, > > very good!! > > > > I had resolve my little problem. > > Now I invite you to implement in your lib this code: > > http://www.spacesimulator.net/tutorials/source_code/spacesimulator.net-tu > >to rial4_linux.zip This sample read a 3ds object and display it in the > > window. I think Its very simple for you to implement a gl.Load3DS(...) in > > your component. Best regards, Carlo Sorda > > Laurent: maybe you could use that in the sort of "super" opengl functions > we talk about a few days ago :-) Yes, i guess it should be in another component, something like gb.opengl.utils or perhaps "specialized" components (gb.opengl.3dfiles ?, gb.opengl.xxxx, ...). Actually, i put some code from glxinfo to allow user to check for opengl "capabilities" without opening an opengl context (like vendors, direct redering, ...). It depends on X, but i guess think way to do can be ported to other systems like mac os x, ... Regards, -- jabber : lordheavy at ...298... mail : lordheavym at ...394... From csorda at ...69... Wed Nov 30 00:28:11 2005 From: csorda at ...69... (csorda@libero.it) Date: Wed, 30 Nov 2005 00:28:11 +0100 Subject: [Gambas-devel] opengl glarea sample Message-ID: Here same routine to read wavefront .OBJ format file: http://www.wotsit.org/download.asp?f=objsrc and here: http://www.wotsit.org/download.asp?f=objfile good night. From gambas at ...1... Wed Nov 30 00:36:16 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 30 Nov 2005 00:36:16 +0100 Subject: [Gambas-devel] opengl glarea sample In-Reply-To: <200511300007.57836.lordheavy@...141...> References: <200511292355.57116.gambas@...1...> <200511300007.57836.lordheavy@...141...> Message-ID: <200511300036.16943.gambas@...1...> On Wednesday 30 November 2005 00:07, Laurent Carlier wrote: > Le Mardi 29 Novembre 2005 23:55, Benoit Minisini a ?crit?: > > On Tuesday 29 November 2005 23:17, csorda at ...69... wrote: > > > Hi, > > > very good!! > > > > > > I had resolve my little problem. > > > Now I invite you to implement in your lib this code: > > > http://www.spacesimulator.net/tutorials/source_code/spacesimulator.net- > > >tu to rial4_linux.zip This sample read a 3ds object and display it in > > > the window. I think Its very simple for you to implement a > > > gl.Load3DS(...) in your component. Best regards, Carlo Sorda > > > > Laurent: maybe you could use that in the sort of "super" opengl functions > > we talk about a few days ago :-) > > Yes, i guess it should be in another component, something like > gb.opengl.utils or perhaps "specialized" components (gb.opengl.3dfiles ?, > gb.opengl.xxxx, ...). gb.opengl.util is good (do not put an 's') -- Benoit Minisini