Re: Hi, Glade problem.



Stephane Duguay wrote:

Hi,

Unfortunalty, even that one doesn't work. It looks to me that Glade
generate a
./configure file that throw in the -g switch as soon as it is supported.

Yes it's good for debugging... but for release not much.

Ralf Corsepius wrote:

Stephane Duguay wrote:

Hi,

I'm trying to get my Glade project to DO NOT compile with
-g switch.  I've been seeking around Makefile.am and .in and
couple of other files but do not find where it's defined.

For now, I just edit the Makefile and remove it but I want a
clean way to do it (so ./autogen.sh won't generate a Makefile with -g
option....).

CFLAGS="whatever you want" <path>/configure [options]
This is the official way autotools are supposed to work.

What may confuse you, is that you may have to delete some files
which have previously generated by running Gnome's autogen.sh

You might consider trying these:

1)
./autogen.sh
rm config.cache
CFLAGS="..." ./configure

2)
NOCONFIGURE=yes ./autogen.sh
CFLAGS="..." ./configure

Both are supposed to work. If they doen't, something is broken very
much.

Ralf




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