[sane-devel] autoconf/configure and debug

2011-06-15 Thread Olaf Meeuwissen
stef writes: > in order to debug more efficiently, I have to re-edit Makefiles to > remove > the two -O2 options in CFLAGS and change the -g to the -ggdb option. Is there > an easy way to get CFLAGS=-ggdb when configuring SANE ? In addition to specifying CFLAGS at configure time, y

[sane-devel] autoconf/configure and debug

2011-06-14 Thread stef
Le mardi 14 juin 2011 22:57:01 Reinhold Kainhofer, vous avez ?crit : > Am Dienstag, 14. Juni 2011, 22:32:25 schrieb Chris Bagwell: > > configure will not default to CFLAGS="-g -O2" if you specify your own > > value. But if your getting two -O2 then something else may be adding > > it as well. > >

[sane-devel] autoconf/configure and debug

2011-06-14 Thread Reinhold Kainhofer
Am Dienstag, 14. Juni 2011, 22:32:25 schrieb Chris Bagwell: > configure will not default to CFLAGS="-g -O2" if you specify your own > value. But if your getting two -O2 then something else may be adding > it as well. Yes, the culprit is the net-snmp library... To get the include path for the net-

[sane-devel] autoconf/configure and debug

2011-06-14 Thread Reinhold Kainhofer
Am Dienstag, 14. Juni 2011, 21:49:44 schrieb stef: > Hello, > > in order to debug more efficiently, I have to re-edit Makefiles to > remove > the two -O2 options in CFLAGS and change the -g to the -ggdb option. Is > there an easy way to get CFLAGS=-ggdb when configuring SANE ? H

[sane-devel] autoconf/configure and debug

2011-06-14 Thread stef
Hello, in order to debug more efficiently, I have to re-edit Makefiles to remove the two -O2 options in CFLAGS and change the -g to the -ggdb option. Is there an easy way to get CFLAGS=-ggdb when configuring SANE ? Regards, Stef

[sane-devel] autoconf/configure and debug

2011-06-14 Thread Chris Bagwell
On Tue, Jun 14, 2011 at 2:49 PM, stef wrote: > ? ? ? ?Hello, > > ? ? ? ?in order to debug more efficiently, I have to re-edit Makefiles to > remove > the two -O2 options in CFLAGS and change the -g to the -ggdb option. Is there > an easy way to get CFLAGS=-ggdb when configuring SANE ? > I'v