* Thomas Degris wrote on Mon, Oct 04, 2004 at 11:35:53PM CEST: > > I am using Automake (and autoconf) and libltdl in my package. I would > like to know what is the best way to add a --enable-debug option to my > configure.ac file to compile my package and the libltdl library with > -ggdb3 flag (and most important: remove this -O2 flag which I don't know > where it comes from).
Why don't you just use path/to/configure CFLAGS=-ggdb3 ? Removes the default of '-g -O2' (or similar) and is even less typing than --enable-debug. Regards, Ralf
