bug in configure?

Mark Johnson mrj001 at shaw.ca
Wed Aug 9 05:40:22 EDT 2006


I ran configure as follows:

$ echo $CFLAGS
-O2 -march=i486 -mcpu=pentium2
$ /configure --prefix=/usr --sysconfdir=/etc --disable-debug

At the end of configure, the following summary is printed:
  Options detected/selected
  -------------------------
  gnucash version ...... : 2.0.1
  Build for host ....... : i686-pc-linux-gnu
  Optional components....:
  Extra Warnings ....... :
  CPPFLAGS ............. :
  CFLAGS ............... : -O2 -march=i486 -mcpu=pentium2 -g -Wall 
-Wunused -Wmissing-prototypes -Wmissing-declarations
  LDFLAGS .............. :  -g
  prefix.................: /usr
  Native libgsf..........: no
  Native goffice.........: no
  QOF support ...........: internal
  QOF location ..........: internal
  QOF library dir .......: /usr/lib
  QOF backend config ....: /usr/gnucash/xml/qsf

Shouldn't --disable-debug remove the -g flag from the CFLAGS and LDFLAGS?
"configure --help" lists the option --enable-debug implying that this 
should work.

Mark



More information about the gnucash-devel mailing list