prefix

2005-11-29 Thread Roesner Thomas
Dear all, i want to configure my package without setting the --prefix option. By default "make install" tries to copy libs and binaries to /usr/lib or /usr/bin, but I need the files copied to ./bin and ./lib. Can anybody tell me wich variable must be set to `pwd` within the configure.in? Kind Re

question about whether to set CFLAGS in configure.ac

2005-11-29 Thread Ed Hartnett
Howdy all! I believe the common consensus is that one should not set CFLAGS in configure.ac. However, I have a problem that seems to call for it. Is there a better way to get this working then messing with CFLAGS? My configure allows the user to specify a location for a library, the HDF5 library

question about whether to set CFLAGS in configure.ac

2005-11-29 Thread John W. Eaton
On 29-Nov-2005, Ed Hartnett wrote: | I believe the common consensus is that one should not set CFLAGS in | configure.ac. | | However, I have a problem that seems to call for it. Is there a better | way to get this working then messing with CFLAGS? | | My configure allows the user to specify a lo

How to remove "-O2" on Makefile generated by autoconf/make

2005-11-29 Thread Feng QIN
Hello all, When I use autoconf/automake tools to generate makefile for my package, the CXXFLAGS is always added "-O2" by tools, while I don't want to use for debuging. Is it possible to remove it from options of configure command or some other ways better than removing it manually everytime on Make

Re: How to remove "-O2" on Makefile generated by autoconf/make

2005-11-29 Thread David Fang
> When I use autoconf/automake tools to generate makefile for my package, the > CXXFLAGS is always added "-O2" by tools, while I don't want to use for > debuging. > Is it possible to remove it from options of configure command or some other > ways better than removing it manually everytime on Makef

Re: How to remove "-O2" on Makefile generated by autoconf/make

2005-11-29 Thread Russell Shaw
Feng QIN wrote: Hello all, When I use autoconf/automake tools to generate makefile for my package, the CXXFLAGS is always added "-O2" by tools, while I don't want to use for debuging. Is it possible to remove it from options of configure command or some other ways better than removing it manually

Re: How to remove "-O2" on Makefile generated by autoconf/make

2005-11-29 Thread Vincent Torri
when CFLAGS is not already set, AC_PROG_CC set CFLAGS to -g -O2 (or just -O2 if -g is not supported). Same for CXXFLAGS and AC_PROG_CXX (cf their documentation in the autoconf manual). regards Vincent Torri On Tue, 29 Nov 2005, David Fang wrote: > > When I use autoconf/automake tools to gene